Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Blocks.LimPID.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Blocks.LimPID,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|PID1.I.y|PID2.I.y|PID3.I.y|PID4.I.y|firstOrder1.y|firstOrder2.y|firstOrder3.y|firstOrder4.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Blocks.LimPID") translateModel(ModelicaTest.Blocks.LimPID,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|PID1.I.y|PID2.I.y|PID3.I.y|PID4.I.y|firstOrder1.y|firstOrder2.y|firstOrder3.y|firstOrder4.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Blocks.LimPID") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008355/0.0008357, allocations: 179.6 kB / 18.09 MB, free: 3.75 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.17/1.17, allocations: 223.3 MB / 242.1 MB, free: 9.98 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007582/0.0007582, allocations: 92.83 kB / 293.3 MB, free: 10.57 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2598/0.2598, allocations: 44.15 MB / 388.5 MB, free: 38.43 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003159/0.0003158, allocations: 8 kB / 461.1 MB, free: 1.34 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2705/0.2709, allocations: 61.88 MB / 0.5107 GB, free: 37.92 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.09722/0.3681, allocations: 90.1 MB / 0.5987 GB, free: 5 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002146/0.3684, allocations: 71.95 kB / 0.5988 GB, free: 4.934 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03685/0.4052, allocations: 15.41 MB / 0.6138 GB, free: 5.477 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.563e-06/0.4053, allocations: 0 / 0.6138 GB, free: 5.477 MB / 426.7 MB Notification: Performance of Transformations before backend: time 6.968e-05/0.4054, allocations: 27.94 kB / 0.6138 GB, free: 5.449 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 156 * Number of variables: 156 Notification: Performance of Generate backend data structure: time 0.001768/0.4071, allocations: 1.164 MB / 0.615 GB, free: 4.227 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.281e-05/0.4072, allocations: 16.03 kB / 0.615 GB, free: 4.211 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001751/0.4074, allocations: 115.5 kB / 0.6151 GB, free: 4.098 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008594/0.4082, allocations: 0.6489 MB / 0.6157 GB, free: 3.41 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.52e-05/0.4083, allocations: 53.69 kB / 0.6158 GB, free: 3.359 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.673e-05/0.4084, allocations: 60.38 kB / 0.6159 GB, free: 3.301 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001101/0.4095, allocations: 0.7606 MB / 0.6166 GB, free: 2.48 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.83e-05/0.4095, allocations: 8.125 kB / 0.6166 GB, free: 2.473 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.437e-05/0.4096, allocations: 35.94 kB / 0.6166 GB, free: 2.438 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.3e-05/0.4096, allocations: 16 kB / 0.6167 GB, free: 2.422 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001092/0.4107, allocations: 0.5849 MB / 0.6172 GB, free: 1.84 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003022/0.4137, allocations: 2.784 MB / 0.6199 GB, free: 14.96 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00124/0.415, allocations: 0.715 MB / 0.6206 GB, free: 14.21 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005106/0.4155, allocations: 300.1 kB / 0.6209 GB, free: 13.9 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.058e-05/0.4155, allocations: 23.81 kB / 0.6209 GB, free: 13.88 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.638e-05/0.4156, allocations: 42.56 kB / 0.621 GB, free: 13.83 MB / 442.7 MB Notification: Performance of pre-optimization done (n=52): time 1.764e-06/0.4156, allocations: 0 / 0.621 GB, free: 13.83 MB / 442.7 MB Notification: Performance of matching and sorting (n=52): time 0.001675/0.4173, allocations: 0.8694 MB / 0.6218 GB, free: 12.96 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.154e-05/0.4173, allocations: 235.3 kB / 0.6221 GB, free: 12.67 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006811/0.418, allocations: 0.6929 MB / 0.6227 GB, free: 11.97 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 4.126e-05/0.4181, allocations: 41.69 kB / 0.6228 GB, free: 11.92 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002533/0.4183, allocations: 432.4 kB / 0.6232 GB, free: 11.5 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001139/0.4185, allocations: 181.3 kB / 0.6234 GB, free: 11.32 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.686e-05/0.4185, allocations: 16 kB / 0.6234 GB, free: 11.3 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 8.748e-05/0.4186, allocations: 330 kB / 0.6237 GB, free: 10.97 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004626/0.4191, allocations: 244.9 kB / 0.6239 GB, free: 10.73 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005331/0.4196, allocations: 384 kB / 0.6243 GB, free: 10.31 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001003/0.4206, allocations: 0.6032 MB / 0.6249 GB, free: 9.672 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.985e-06/0.4206, allocations: 8 kB / 0.6249 GB, free: 9.664 MB / 442.7 MB Notification: Performance of matching and sorting (n=69) (initialization): time 0.002402/0.423, allocations: 1.146 MB / 0.626 GB, free: 8.5 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.918e-05/0.4231, allocations: 183.5 kB / 0.6262 GB, free: 8.277 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.313e-06/0.4231, allocations: 4 kB / 0.6262 GB, free: 8.273 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001103/0.4243, allocations: 363.2 kB / 0.6265 GB, free: 7.906 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005001/0.4248, allocations: 127.8 kB / 0.6267 GB, free: 7.781 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007213/0.432, allocations: 7.06 MB / 0.6336 GB, free: 192 kB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004063/0.4324, allocations: 91.44 kB / 0.6336 GB, free: 100 kB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.741e-05/0.4325, allocations: 23.98 kB / 0.6337 GB, free: 76 kB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.781e-06/0.4325, allocations: 8.062 kB / 0.6337 GB, free: 68 kB / 442.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00128/0.4338, allocations: 0.6625 MB / 0.6343 GB, free: 15.4 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.59e-06/0.4338, allocations: 4 kB / 0.6343 GB, free: 15.39 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004276/0.4342, allocations: 154.1 kB / 0.6345 GB, free: 15.24 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006633/0.4349, allocations: 175.8 kB / 0.6346 GB, free: 15.07 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002839/0.4377, allocations: 3.276 MB / 0.6378 GB, free: 11.52 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003718/0.4381, allocations: 67.52 kB / 0.6379 GB, free: 11.45 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.192e-05/0.4382, allocations: 20.06 kB / 0.6379 GB, free: 11.43 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 4 (PID4.I.local_reset,PID3.I.local_reset,PID2.I.local_reset,PID1.I.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (53): * Single equations (assignments): 49 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 4 {1 4,1 4,1 4,1 4} Notification: Performance of prepare postOptimizeDAE: time 0.0003119/0.4385, allocations: 292.9 kB / 0.6382 GB, free: 11.14 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001512/0.4386, allocations: 90.86 kB / 0.6383 GB, free: 11.05 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001432/0.4388, allocations: 99.16 kB / 0.6384 GB, free: 10.95 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.352e-06/0.4388, allocations: 7.938 kB / 0.6384 GB, free: 10.94 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.426e-06/0.4388, allocations: 3.938 kB / 0.6384 GB, free: 10.94 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.193e-06/0.4388, allocations: 4 kB / 0.6384 GB, free: 10.93 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008737/0.4397, allocations: 0.735 MB / 0.6391 GB, free: 10.15 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.156e-06/0.4397, allocations: 4 kB / 0.6391 GB, free: 10.15 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005316/0.4402, allocations: 115.9 kB / 0.6392 GB, free: 10.04 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.362e-06/0.4403, allocations: 7.984 kB / 0.6392 GB, free: 10.03 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.371e-05/0.4403, allocations: 12 kB / 0.6392 GB, free: 10.02 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.571e-06/0.4403, allocations: 11.92 kB / 0.6393 GB, free: 10 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.4403, allocations: 4 kB / 0.6393 GB, free: 10 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001665/0.442, allocations: 1.279 MB / 0.6405 GB, free: 8.695 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002061/0.4422, allocations: 207.9 kB / 0.6407 GB, free: 8.473 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.368e-05/0.4423, allocations: 19.94 kB / 0.6407 GB, free: 8.453 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004602/0.4428, allocations: 51.97 kB / 0.6408 GB, free: 8.402 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.56e-05/0.4428, allocations: 31.95 kB / 0.6408 GB, free: 8.371 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.882e-05/0.4429, allocations: 23.92 kB / 0.6408 GB, free: 8.348 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.0004945/0.4434, allocations: 479 kB / 0.6413 GB, free: 7.883 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4434, allocations: 0 / 0.6413 GB, free: 7.883 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0008259/0.4442, allocations: 295 kB / 0.6416 GB, free: 7.594 MB / 458.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 8 (PID1.I.y,firstOrder1.y,PID2.I.y,firstOrder2.y,PID3.I.y,firstOrder3.y,PID4.I.y,firstOrder4.y) * 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 (52): * Single equations (assignments): 52 * 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.0001337/0.4444, allocations: 115.7 kB / 0.6417 GB, free: 7.473 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.003554/0.4479, allocations: 2.009 MB / 0.6436 GB, free: 5.391 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 3.025e-06/0.4479, allocations: 0 / 0.6436 GB, free: 5.391 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000526/0.4485, allocations: 310.8 kB / 0.6439 GB, free: 5.09 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001215/0.4497, allocations: 214.1 kB / 0.6441 GB, free: 4.883 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002352/0.4521, allocations: 1.771 MB / 0.6459 GB, free: 3.07 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004537/0.4525, allocations: 0.9844 MB / 0.6468 GB, free: 2.062 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.0003377/0.4529, allocations: 81.28 kB / 0.6469 GB, free: 1.98 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001365/0.453, allocations: 43.44 kB / 0.647 GB, free: 1.938 MB / 458.7 MB Notification: Performance of SimCode: time 4.5e-07/0.453, allocations: 0 / 0.647 GB, free: 1.938 MB / 458.7 MB Notification: Performance of Templates: time 0.01662/0.4696, allocations: 11.12 MB / 0.6578 GB, free: 6.898 MB / 474.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Blocks.LimPID.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Blocks.LimPID.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Blocks.LimPID.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Blocks.LimPID.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Blocks.LimPID.sim & ./ModelicaTest_4.0.0_ModelicaTest.Blocks.LimPID -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Blocks.LimPID.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Blocks.LimPID_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Blocks/LimPID/LimPID.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Blocks.LimPID.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches