Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Blocks.StrictLimiters.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Blocks.StrictLimiters,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Blocks_StrictLimiters",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Blocks.StrictLimiters,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Blocks_StrictLimiters",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001487/0.001487, allocations: 185.5 kB / 16.41 MB, free: 5.727 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.992/1.992, allocations: 205.4 MB / 222.5 MB, free: 9.133 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001119/0.001119, allocations: 91.55 kB / 270.9 MB, free: 8.375 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.5631/0.5631, allocations: 43.55 MB / 362.7 MB, free: 52.21 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006632/0.0006633, allocations: 12 kB / 431.5 MB, free: 6.098 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1364/0.1371, allocations: 58.85 MB / 490.3 MB, free: 11.17 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5015/0.6386, allocations: 90.85 MB / 0.5675 GB, free: 11.83 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003835/0.6391, allocations: 67.97 kB / 0.5676 GB, free: 11.76 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.09985/0.739, allocations: 15.85 MB / 0.5831 GB, free: 11.95 MB / 410.7 MB Notification: Performance of FrontEnd: time 3.276e-06/0.739, allocations: 0 / 0.5831 GB, free: 11.95 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0001013/0.7391, allocations: 27.88 kB / 0.5831 GB, free: 11.92 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 121 * Number of variables: 121 Notification: Performance of Generate backend data structure: time 0.004066/0.7432, allocations: 1.172 MB / 0.5842 GB, free: 10.7 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.286e-05/0.7433, allocations: 8.031 kB / 0.5843 GB, free: 10.69 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003009/0.7436, allocations: 86.53 kB / 0.5843 GB, free: 10.59 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002805/0.7439, allocations: 106.8 kB / 0.5844 GB, free: 10.49 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002105/0.746, allocations: 0.617 MB / 0.585 GB, free: 9.832 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.368e-05/0.7461, allocations: 41.97 kB / 0.5851 GB, free: 9.789 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001509/0.7463, allocations: 55.84 kB / 0.5851 GB, free: 9.734 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002827/0.7492, allocations: 0.7384 MB / 0.5859 GB, free: 8.945 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.543e-05/0.7492, allocations: 0 / 0.5859 GB, free: 8.945 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001029/0.7494, allocations: 20 kB / 0.5859 GB, free: 8.926 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.942e-05/0.7494, allocations: 12 kB / 0.5859 GB, free: 8.914 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002839/0.7522, allocations: 0.6011 MB / 0.5865 GB, free: 8.312 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00559/0.7579, allocations: 2.29 MB / 0.5887 GB, free: 5.938 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005327/0.7632, allocations: 1.059 MB / 0.5897 GB, free: 4.836 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001014/0.7634, allocations: 4 kB / 0.5897 GB, free: 4.832 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.453e-05/0.7635, allocations: 50.5 kB / 0.5898 GB, free: 4.773 MB / 410.7 MB Notification: Performance of pre-optimization done (n=46): time 5.2e-06/0.7635, allocations: 0 / 0.5898 GB, free: 4.773 MB / 410.7 MB Notification: Performance of matching and sorting (n=46): time 0.005124/0.7686, allocations: 1.04 MB / 0.5908 GB, free: 3.727 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001031/0.7688, allocations: 136.5 kB / 0.5909 GB, free: 3.562 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001089/0.7699, allocations: 0.4998 MB / 0.5914 GB, free: 3.055 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001311/0.77, allocations: 37.7 kB / 0.5915 GB, free: 3.012 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000344/0.7704, allocations: 371.2 kB / 0.5918 GB, free: 2.648 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002227/0.7706, allocations: 165.6 kB / 0.592 GB, free: 2.484 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.397e-05/0.7707, allocations: 8 kB / 0.592 GB, free: 2.477 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001557/0.7709, allocations: 338.8 kB / 0.5923 GB, free: 2.137 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001612/0.7725, allocations: 316.9 kB / 0.5926 GB, free: 1.828 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001718/0.7742, allocations: 416.1 kB / 0.593 GB, free: 1.387 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00162/0.7759, allocations: 333.4 kB / 0.5933 GB, free: 1.066 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.338e-06/0.7759, allocations: 4 kB / 0.5933 GB, free: 1.062 MB / 410.7 MB Notification: Performance of matching and sorting (n=62) (initialization): time 0.003586/0.7795, allocations: 0.7767 MB / 0.5941 GB, free: 284 kB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0004511/0.78, allocations: 0.8748 MB / 0.5949 GB, free: 15.34 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.377e-05/0.78, allocations: 4 kB / 0.5949 GB, free: 15.33 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.715e-05/0.7801, allocations: 8 kB / 0.595 GB, free: 15.32 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001944/0.782, allocations: 199.8 kB / 0.5951 GB, free: 15.13 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.004e-05/0.7821, allocations: 7.938 kB / 0.5952 GB, free: 15.12 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001154/0.7832, allocations: 119.6 kB / 0.5953 GB, free: 15 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.284e-05/0.7833, allocations: 20 kB / 0.5953 GB, free: 14.98 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.322e-05/0.7834, allocations: 6.969 kB / 0.5953 GB, free: 14.98 MB / 426.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002498/0.7859, allocations: 0.5926 MB / 0.5959 GB, free: 14.39 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.933e-06/0.7859, allocations: 0 / 0.5959 GB, free: 14.39 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.253e-05/0.7859, allocations: 8 kB / 0.5959 GB, free: 14.38 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001576/0.7875, allocations: 176 kB / 0.596 GB, free: 14.21 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.36e-05/0.7876, allocations: 4 kB / 0.5961 GB, free: 14.2 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006801/0.7882, allocations: 91.5 kB / 0.5961 GB, free: 14.11 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.922e-05/0.7883, allocations: 19.98 kB / 0.5962 GB, free: 14.09 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 4 (PID2.I.local_reset,PID1.I.local_reset,limIntegrator2.local_reset,limIntegrator1.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (62): * Single equations (assignments): 62 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0005701/0.7889, allocations: 269.3 kB / 0.5964 GB, free: 13.82 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003198/0.7892, allocations: 71.16 kB / 0.5965 GB, free: 13.75 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002654/0.7895, allocations: 91.14 kB / 0.5966 GB, free: 13.66 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.141e-05/0.7895, allocations: 11.92 kB / 0.5966 GB, free: 13.64 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.817e-06/0.7896, allocations: 0 / 0.5966 GB, free: 13.64 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.247e-05/0.7896, allocations: 7.953 kB / 0.5966 GB, free: 13.64 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004776/0.7944, allocations: 1.405 MB / 0.598 GB, free: 12.18 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.819e-06/0.7944, allocations: 0 / 0.598 GB, free: 12.18 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001428/0.7959, allocations: 159.8 kB / 0.5981 GB, free: 12.02 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.881e-05/0.7959, allocations: 3.953 kB / 0.5981 GB, free: 12.02 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.995e-05/0.796, allocations: 11.98 kB / 0.5981 GB, free: 12 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.801e-06/0.796, allocations: 4 kB / 0.5981 GB, free: 12 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.225e-06/0.796, allocations: 4 kB / 0.5981 GB, free: 12 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005315/0.8013, allocations: 1.324 MB / 0.5994 GB, free: 10.64 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004935/0.8019, allocations: 199.9 kB / 0.5996 GB, free: 10.43 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001429/0.8021, allocations: 12 kB / 0.5996 GB, free: 10.42 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001068/0.8031, allocations: 99.91 kB / 0.5997 GB, free: 10.32 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001628/0.8033, allocations: 35.94 kB / 0.5998 GB, free: 10.29 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.084e-05/0.8034, allocations: 19.98 kB / 0.5998 GB, free: 10.27 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0007945/0.8042, allocations: 399.1 kB / 0.6002 GB, free: 9.883 MB / 426.7 MB Notification: Performance of sort global known variables: time 3.61e-07/0.8042, allocations: 4 kB / 0.6002 GB, free: 9.879 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.001134/0.8053, allocations: 223.3 kB / 0.6004 GB, free: 9.66 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 8 (slewRateLimiter1.y,slewRateLimiter2.y,limIntegrator1.y,limIntegrator2.y,PID1.I.y,PID1.D.x,PID2.I.y,PID2.D.x) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (46): * Single equations (assignments): 46 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.005788/0.8112, allocations: 1.946 MB / 0.6023 GB, free: 7.68 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.00502/0.8162, allocations: 1.029 MB / 0.6033 GB, free: 6.652 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.502e-05/0.8163, allocations: 4 kB / 0.6033 GB, free: 6.648 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001738/0.818, allocations: 371.5 kB / 0.6036 GB, free: 6.285 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001585/0.8197, allocations: 179.2 kB / 0.6038 GB, free: 6.113 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01638/0.8361, allocations: 6.107 MB / 0.6098 GB, free: 15.91 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000686/0.8368, allocations: 0.9456 MB / 0.6107 GB, free: 14.93 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008516/0.8377, allocations: 279.3 kB / 0.611 GB, free: 14.66 MB / 442.7 MB Notification: Performance of SimCode: time 1.032e-06/0.8377, allocations: 0 / 0.611 GB, free: 14.66 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.698/3.536, allocations: 11.55 MB / 0.6222 GB, free: 3.156 MB / 442.7 MB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Blocks.StrictLimiters.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Blocks.StrictLimiters.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Blocks.StrictLimiters.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Blocks.StrictLimiters.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Blocks.StrictLimiters_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Blocks_StrictLimiters_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_Blocks_StrictLimiters.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.Blocks.StrictLimiters.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_cpp_ModelicaTest.Blocks.StrictLimiters_res.mat does not exist to compare? outputFormat=mat