Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_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: translateModel(ModelicaTest.Blocks.StrictLimiters,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|PID1.D.x|PID1.I.y|PID2.D.x|PID2.I.y|limIntegrator1.y|limIntegrator2.y|slewRateLimiter1.y|slewRateLimiter2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Blocks.StrictLimiters") translateModel(ModelicaTest.Blocks.StrictLimiters,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|PID1.D.x|PID1.I.y|PID2.D.x|PID2.I.y|limIntegrator1.y|limIntegrator2.y|slewRateLimiter1.y|slewRateLimiter2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Blocks.StrictLimiters") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001429/0.001436, allocations: 172 kB / 16.76 MB, free: 5.059 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.632/1.632, allocations: 205.4 MB / 222.9 MB, free: 9.035 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.0009164/0.0009163, allocations: 93.41 kB / 271.3 MB, free: 8.258 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.3713/0.3713, allocations: 43.56 MB / 363.1 MB, free: 52.16 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004469/0.0004469, allocations: 12 kB / 432.6 MB, free: 5.23 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1086/0.1091, allocations: 58.86 MB / 491.5 MB, free: 10.29 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2845/0.3937, allocations: 90.9 MB / 0.5687 GB, free: 11.11 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002393/0.394, allocations: 67.97 kB / 0.5688 GB, free: 11.04 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04467/0.4387, allocations: 15.86 MB / 0.5843 GB, free: 11.22 MB / 410.7 MB Notification: Performance of FrontEnd: time 3.036e-06/0.4387, allocations: 0 / 0.5843 GB, free: 11.22 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0001267/0.4389, allocations: 31.88 kB / 0.5843 GB, free: 11.19 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.002747/0.4416, allocations: 1.153 MB / 0.5854 GB, free: 9.98 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.408e-05/0.4417, allocations: 12.03 kB / 0.5854 GB, free: 9.969 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003855/0.4421, allocations: 95.81 kB / 0.5855 GB, free: 9.875 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001417/0.4435, allocations: 0.6568 MB / 0.5862 GB, free: 9.18 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.168e-05/0.4436, allocations: 37.38 kB / 0.5862 GB, free: 9.141 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001105/0.4437, allocations: 52.38 kB / 0.5863 GB, free: 9.09 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001514/0.4452, allocations: 0.7311 MB / 0.587 GB, free: 8.309 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.699e-05/0.4453, allocations: 7.938 kB / 0.587 GB, free: 8.301 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.431e-05/0.4453, allocations: 27.94 kB / 0.587 GB, free: 8.273 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.505e-05/0.4454, allocations: 12 kB / 0.587 GB, free: 8.262 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00151/0.4469, allocations: 0.6062 MB / 0.5876 GB, free: 7.656 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003314/0.4502, allocations: 2.282 MB / 0.5898 GB, free: 5.289 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002552/0.4528, allocations: 1.047 MB / 0.5909 GB, free: 4.203 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008057/0.4536, allocations: 353.5 kB / 0.5912 GB, free: 3.852 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.741e-05/0.4537, allocations: 12.06 kB / 0.5912 GB, free: 3.84 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.962e-05/0.4537, allocations: 42.55 kB / 0.5912 GB, free: 3.789 MB / 410.7 MB Notification: Performance of pre-optimization done (n=46): time 4.809e-06/0.4537, allocations: 0 / 0.5912 GB, free: 3.789 MB / 410.7 MB Notification: Performance of matching and sorting (n=46): time 0.002571/0.4563, allocations: 1.031 MB / 0.5923 GB, free: 2.75 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.92e-05/0.4564, allocations: 144.4 kB / 0.5924 GB, free: 2.578 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000726/0.4571, allocations: 0.5864 MB / 0.593 GB, free: 1.984 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 5.214e-05/0.4572, allocations: 41.64 kB / 0.593 GB, free: 1.938 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002585/0.4574, allocations: 352.8 kB / 0.5933 GB, free: 1.586 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001344/0.4576, allocations: 165.6 kB / 0.5935 GB, free: 1.422 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.887e-05/0.4576, allocations: 8 kB / 0.5935 GB, free: 1.414 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001088/0.4577, allocations: 328.7 kB / 0.5938 GB, free: 1.09 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007968/0.4585, allocations: 320.9 kB / 0.5941 GB, free: 0.7773 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008365/0.4594, allocations: 420.1 kB / 0.5945 GB, free: 340 kB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00154/0.4609, allocations: 0.6875 MB / 0.5952 GB, free: 15.61 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.238e-06/0.4609, allocations: 4 kB / 0.5952 GB, free: 15.61 MB / 426.7 MB Notification: Performance of matching and sorting (n=62) (initialization): time 0.001887/0.4628, allocations: 0.8308 MB / 0.596 GB, free: 14.77 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.41e-05/0.4629, allocations: 154.5 kB / 0.5962 GB, free: 14.59 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.013e-05/0.463, allocations: 4 kB / 0.5962 GB, free: 14.58 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.639e-05/0.463, allocations: 7.984 kB / 0.5962 GB, free: 14.57 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008944/0.4639, allocations: 203.7 kB / 0.5964 GB, free: 14.38 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.055e-05/0.4639, allocations: 4 kB / 0.5964 GB, free: 14.37 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005714/0.4645, allocations: 123.5 kB / 0.5965 GB, free: 14.25 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.372e-05/0.4645, allocations: 19.98 kB / 0.5965 GB, free: 14.23 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.58e-06/0.4646, allocations: 4 kB / 0.5965 GB, free: 14.23 MB / 426.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001278/0.4658, allocations: 0.5957 MB / 0.5971 GB, free: 13.63 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.797e-06/0.4659, allocations: 0 / 0.5971 GB, free: 13.63 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.484e-06/0.4659, allocations: 8.25 kB / 0.5971 GB, free: 13.62 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007145/0.4666, allocations: 167.8 kB / 0.5973 GB, free: 13.46 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.238e-05/0.4666, allocations: 19.92 kB / 0.5973 GB, free: 13.44 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004446/0.4671, allocations: 83.55 kB / 0.5974 GB, free: 13.36 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.635e-05/0.4671, allocations: 20 kB / 0.5974 GB, free: 13.34 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.0003544/0.4675, allocations: 268.9 kB / 0.5976 GB, free: 13.06 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001549/0.4676, allocations: 71.16 kB / 0.5977 GB, free: 12.99 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001865/0.4678, allocations: 87.14 kB / 0.5978 GB, free: 12.91 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.432e-06/0.4678, allocations: 4 kB / 0.5978 GB, free: 12.9 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.975e-06/0.4679, allocations: 4 kB / 0.5978 GB, free: 12.9 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.975e-06/0.4679, allocations: 4.266 kB / 0.5978 GB, free: 12.89 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002539/0.4704, allocations: 1.416 MB / 0.5992 GB, free: 11.43 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.876e-06/0.4704, allocations: 0 / 0.5992 GB, free: 11.43 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006503/0.4711, allocations: 168.5 kB / 0.5993 GB, free: 11.26 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.132e-06/0.4711, allocations: 4 kB / 0.5993 GB, free: 11.26 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.82e-05/0.4712, allocations: 8 kB / 0.5994 GB, free: 11.25 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.509e-06/0.4712, allocations: 4 kB / 0.5994 GB, free: 11.25 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.976e-06/0.4712, allocations: 3.984 kB / 0.5994 GB, free: 11.24 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002534/0.4737, allocations: 1.303 MB / 0.6006 GB, free: 9.922 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002921/0.474, allocations: 196 kB / 0.6008 GB, free: 9.711 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.474e-05/0.4741, allocations: 12 kB / 0.6008 GB, free: 9.699 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005545/0.4747, allocations: 99.86 kB / 0.6009 GB, free: 9.602 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001214/0.4748, allocations: 35.94 kB / 0.601 GB, free: 9.566 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.463e-05/0.4749, allocations: 15.98 kB / 0.601 GB, free: 9.551 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0005229/0.4754, allocations: 403.1 kB / 0.6014 GB, free: 9.16 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4754, allocations: 3.938 kB / 0.6014 GB, free: 9.156 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0007222/0.4761, allocations: 235.2 kB / 0.6016 GB, free: 8.926 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.0001547/0.4763, allocations: 115.1 kB / 0.6017 GB, free: 8.805 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.002392/0.4787, allocations: 1.036 MB / 0.6027 GB, free: 7.77 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.495e-06/0.4787, allocations: 0 / 0.6027 GB, free: 7.77 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000798/0.4795, allocations: 379.6 kB / 0.6031 GB, free: 7.398 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001037/0.4806, allocations: 175 kB / 0.6032 GB, free: 7.238 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003367/0.484, allocations: 1.76 MB / 0.605 GB, free: 5.453 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004721/0.4845, allocations: 0.9184 MB / 0.6059 GB, free: 4.504 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.00058/0.485, allocations: 101.2 kB / 0.6059 GB, free: 4.402 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001871/0.4852, allocations: 51.42 kB / 0.606 GB, free: 4.352 MB / 426.7 MB Notification: Performance of SimCode: time 9.22e-07/0.4852, allocations: 0 / 0.606 GB, free: 4.352 MB / 426.7 MB Notification: Performance of Templates: time 0.01409/0.4994, allocations: 7.375 MB / 0.6132 GB, free: 13.04 MB / 442.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Blocks.StrictLimiters.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Blocks.StrictLimiters.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Blocks.StrictLimiters.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Blocks.StrictLimiters.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Blocks.StrictLimiters.sim & ./ModelicaTest_3.2.3_ModelicaTest.Blocks.StrictLimiters -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Blocks.StrictLimiters.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Blocks.StrictLimiters_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Blocks/StrictLimiters/StrictLimiters.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Blocks.StrictLimiters.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches