Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Blocks.LimPID.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/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_trunk_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_trunk_ModelicaTest.Blocks.LimPID") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001053/0.001053, allocations: 198.1 kB / 8.768 MB, free: 320 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.335/1.335, allocations: 225.6 MB / 234.8 MB, free: 3.273 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008645/0.0008645, allocations: 96.33 kB / 286.7 MB, free: 5.293 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1817/0.1817, allocations: 45.15 MB / 383.8 MB, free: 292 kB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 1.6e-05/1.601e-05, allocations: 4 kB / 453.2 MB, free: 75.85 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1131/0.1131, allocations: 63.25 MB / 0.5044 GB, free: 12.64 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3791/0.4923, allocations: 90.39 MB / 0.5926 GB, free: 12.28 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001973/0.4925, allocations: 65.66 kB / 0.5927 GB, free: 12.25 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03925/0.5318, allocations: 15.27 MB / 0.6076 GB, free: 15.64 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.453e-06/0.5318, allocations: 1.094 kB / 0.6076 GB, free: 15.64 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0001139/0.532, allocations: 20 kB / 0.6076 GB, free: 15.62 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: 156 * Number of variables: 156 Notification: Performance of Generate backend data structure: time 0.00217/0.5341, allocations: 1.037 MB / 0.6086 GB, free: 14.59 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.582e-05/0.5342, allocations: 12.03 kB / 0.6087 GB, free: 14.58 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003735/0.5346, allocations: 115.2 kB / 0.6088 GB, free: 14.46 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001263/0.5358, allocations: 0.6214 MB / 0.6094 GB, free: 13.89 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.239e-05/0.5359, allocations: 20 kB / 0.6094 GB, free: 13.88 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001309/0.536, allocations: 48.48 kB / 0.6094 GB, free: 13.83 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0008485/0.5369, allocations: 388.9 kB / 0.6098 GB, free: 13.61 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009583/0.5379, allocations: 0.5892 MB / 0.6104 GB, free: 13.12 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.721e-05/0.5379, allocations: 0 / 0.6104 GB, free: 13.12 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.301e-05/0.5379, allocations: 4 kB / 0.6104 GB, free: 13.11 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.717e-05/0.538, allocations: 16 kB / 0.6104 GB, free: 13.1 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003602/0.5416, allocations: 2.649 MB / 0.613 GB, free: 10.78 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000935/0.5425, allocations: 0.5224 MB / 0.6135 GB, free: 10.4 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003067/0.5429, allocations: 214.1 kB / 0.6137 GB, free: 10.26 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.413e-05/0.5429, allocations: 8.984 kB / 0.6137 GB, free: 10.25 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.486e-05/0.543, allocations: 45.75 kB / 0.6138 GB, free: 10.2 MB / 410.7 MB Notification: Performance of pre-optimization done (n=52): time 3.256e-06/0.543, allocations: 0 / 0.6138 GB, free: 10.2 MB / 410.7 MB Notification: Performance of matching and sorting (n=52): time 0.0008608/0.5438, allocations: 453.3 kB / 0.6142 GB, free: 9.871 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001277/0.544, allocations: 242.7 kB / 0.6144 GB, free: 9.582 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006513/0.5446, allocations: 0.5051 MB / 0.6149 GB, free: 9.188 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 5.125e-05/0.5447, allocations: 33.69 kB / 0.6149 GB, free: 9.148 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002765/0.545, allocations: 429.3 kB / 0.6154 GB, free: 8.895 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001499/0.5451, allocations: 184.8 kB / 0.6155 GB, free: 8.734 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.463e-05/0.5452, allocations: 4 kB / 0.6155 GB, free: 8.73 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001261/0.5453, allocations: 323.3 kB / 0.6158 GB, free: 8.418 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002438/0.5456, allocations: 148.7 kB / 0.616 GB, free: 8.34 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003301/0.5459, allocations: 289.9 kB / 0.6163 GB, free: 8.09 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002698/0.5462, allocations: 178.7 kB / 0.6164 GB, free: 7.984 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.649e-06/0.5462, allocations: 4 kB / 0.6164 GB, free: 7.98 MB / 410.7 MB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001834/0.548, allocations: 0.8417 MB / 0.6173 GB, free: 7.293 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0005093/0.5485, allocations: 1.135 MB / 0.6184 GB, free: 6.094 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.033e-05/0.5486, allocations: 7.938 kB / 0.6184 GB, free: 6.086 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000848/0.5494, allocations: 253.7 kB / 0.6186 GB, free: 5.883 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005273/0.55, allocations: 131.6 kB / 0.6187 GB, free: 5.758 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003419/0.5534, allocations: 3.552 MB / 0.6222 GB, free: 2.281 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004816/0.5539, allocations: 75.61 kB / 0.6223 GB, free: 2.207 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.144e-05/0.5539, allocations: 15.81 kB / 0.6223 GB, free: 2.195 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.876e-06/0.554, allocations: 4 kB / 0.6223 GB, free: 2.191 MB / 410.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0009917/0.5549, allocations: 0.5163 MB / 0.6228 GB, free: 1.812 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.716e-05/0.555, allocations: 4.281 kB / 0.6228 GB, free: 1.809 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003636/0.5553, allocations: 124.9 kB / 0.6229 GB, free: 1.707 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007166/0.5561, allocations: 179.1 kB / 0.6231 GB, free: 1.535 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002765/0.5589, allocations: 3.016 MB / 0.626 GB, free: 14.55 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004093/0.5593, allocations: 55.5 kB / 0.6261 GB, free: 14.5 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.301e-05/0.5593, allocations: 23.75 kB / 0.6261 GB, free: 14.48 MB / 426.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 () * 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.0001687/0.5595, allocations: 124.4 kB / 0.6262 GB, free: 14.36 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001856/0.5597, allocations: 82.97 kB / 0.6263 GB, free: 14.27 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002139/0.5599, allocations: 85.41 kB / 0.6264 GB, free: 14.23 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.452e-06/0.5599, allocations: 8 kB / 0.6264 GB, free: 14.22 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.949e-06/0.56, allocations: 0 / 0.6264 GB, free: 14.22 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.268e-06/0.56, allocations: 7.984 kB / 0.6264 GB, free: 14.21 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001007/0.561, allocations: 0.6423 MB / 0.627 GB, free: 13.7 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.755e-06/0.561, allocations: 4 kB / 0.627 GB, free: 13.7 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005646/0.5616, allocations: 119.3 kB / 0.6272 GB, free: 13.58 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.648e-06/0.5616, allocations: 4 kB / 0.6272 GB, free: 13.58 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.409e-05/0.5616, allocations: 7.984 kB / 0.6272 GB, free: 13.57 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.925e-06/0.5616, allocations: 0 / 0.6272 GB, free: 13.57 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.557e-06/0.5617, allocations: 8 kB / 0.6272 GB, free: 13.56 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001131/0.5628, allocations: 1.038 MB / 0.6282 GB, free: 12.73 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002307/0.563, allocations: 209.1 kB / 0.6284 GB, free: 12.53 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.067e-05/0.5631, allocations: 0 / 0.6284 GB, free: 12.53 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004775/0.5636, allocations: 51.39 kB / 0.6284 GB, free: 12.48 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.271e-05/0.5637, allocations: 30.95 kB / 0.6285 GB, free: 12.46 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.801e-05/0.5637, allocations: 18.95 kB / 0.6285 GB, free: 12.44 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0004548/0.5642, allocations: 395 kB / 0.6289 GB, free: 12.16 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.61e-07/0.5642, allocations: 0 / 0.6289 GB, free: 12.16 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0009073/0.5651, allocations: 254.8 kB / 0.6291 GB, free: 11.91 MB / 426.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 () * 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.0001483/0.5653, allocations: 102.1 kB / 0.6292 GB, free: 11.8 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.003205/0.5685, allocations: 1.443 MB / 0.6306 GB, free: 10.57 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.733e-05/0.5685, allocations: 3.75 kB / 0.6306 GB, free: 10.57 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003148/0.5688, allocations: 211.4 kB / 0.6308 GB, free: 10.44 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001106/0.57, allocations: 197.1 kB / 0.631 GB, free: 10.29 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00219/0.5722, allocations: 1.091 MB / 0.6321 GB, free: 9.273 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007421/0.5729, allocations: 1.002 MB / 0.633 GB, free: 8.238 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0005913/0.5735, allocations: 139.4 kB / 0.6332 GB, free: 8.098 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000135/0.5737, allocations: 35.44 kB / 0.6332 GB, free: 8.066 MB / 426.7 MB Notification: Performance of SimCode: time 1.052e-06/0.5737, allocations: 0 / 0.6332 GB, free: 8.066 MB / 426.7 MB Notification: Performance of Templates: time 0.01942/0.5931, allocations: 10.88 MB / 0.6438 GB, free: 13.26 MB / 442.7 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Blocks.LimPID.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Blocks.LimPID.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Blocks.LimPID.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Blocks.LimPID.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Blocks.LimPID.sim & ./ModelicaTest_trunk_ModelicaTest.Blocks.LimPID -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Blocks.LimPID.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Blocks.LimPID_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Blocks/LimPID/LimPID.csv","../files/ModelicaTest_trunk_ModelicaTest.Blocks.LimPID.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches