Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Blocks.StrictLimiters.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.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_trunk_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_trunk_ModelicaTest.Blocks.StrictLimiters") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001446/0.001446, allocations: 206.7 kB / 8.544 MB, free: 1.805 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.318/1.318, allocations: 225.5 MB / 234.4 MB, free: 3.34 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001058/0.001058, allocations: 90.55 kB / 286.3 MB, free: 5.297 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1742/0.1742, allocations: 45.15 MB / 383.4 MB, free: 0.582 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 6.022e-06/6.472e-06, allocations: 4 kB / 452.6 MB, free: 76.21 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09544/0.09547, allocations: 63.23 MB / 0.5038 GB, free: 13.04 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2983/0.3938, allocations: 91.99 MB / 0.5936 GB, free: 11.27 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002017/0.394, allocations: 63.59 kB / 0.5937 GB, free: 11.24 MB / 394.7 MB Notification: Performance of FrontEnd: time 0.04546/0.4395, allocations: 15.35 MB / 0.6086 GB, free: 14.41 MB / 410.7 MB Notification: Performance of Transformations before backend: time 6.242e-05/0.4396, allocations: 23.98 kB / 0.6087 GB, free: 14.38 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.002014/0.4416, allocations: 1.058 MB / 0.6097 GB, free: 13.32 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.793e-05/0.4417, allocations: 11.97 kB / 0.6097 GB, free: 13.31 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005898/0.4423, allocations: 162.8 kB / 0.6099 GB, free: 13.15 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001205/0.4435, allocations: 0.606 MB / 0.6105 GB, free: 12.59 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.607e-05/0.4436, allocations: 16 kB / 0.6105 GB, free: 12.57 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.856e-05/0.4436, allocations: 35.98 kB / 0.6105 GB, free: 12.54 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006452/0.4443, allocations: 329.8 kB / 0.6108 GB, free: 12.35 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007687/0.4451, allocations: 0.504 MB / 0.6113 GB, free: 11.92 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.155e-05/0.4451, allocations: 3.938 kB / 0.6113 GB, free: 11.91 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.086e-05/0.4452, allocations: 3.906 kB / 0.6113 GB, free: 11.91 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.421e-05/0.4452, allocations: 12 kB / 0.6113 GB, free: 11.9 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002939/0.4481, allocations: 2.199 MB / 0.6135 GB, free: 9.969 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001409/0.4495, allocations: 0.6054 MB / 0.6141 GB, free: 9.477 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003322/0.4499, allocations: 188.6 kB / 0.6143 GB, free: 9.359 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.624e-05/0.45, allocations: 11.98 kB / 0.6143 GB, free: 9.348 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.406e-05/0.45, allocations: 52.98 kB / 0.6143 GB, free: 9.293 MB / 410.7 MB Notification: Performance of pre-optimization done (n=46): time 2.505e-06/0.45, allocations: 0 / 0.6143 GB, free: 9.293 MB / 410.7 MB Notification: Performance of matching and sorting (n=46): time 0.0007998/0.4508, allocations: 416.9 kB / 0.6147 GB, free: 8.984 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.411e-05/0.4509, allocations: 136.5 kB / 0.6148 GB, free: 8.82 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005209/0.4514, allocations: 448.3 kB / 0.6153 GB, free: 8.477 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 4.183e-05/0.4515, allocations: 25.7 kB / 0.6153 GB, free: 8.445 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001646/0.4516, allocations: 237.7 kB / 0.6155 GB, free: 8.238 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001619/0.4518, allocations: 166.4 kB / 0.6157 GB, free: 8.094 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.686e-05/0.4518, allocations: 4 kB / 0.6157 GB, free: 8.09 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0002214/0.4521, allocations: 381.1 kB / 0.616 GB, free: 7.738 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003099/0.4524, allocations: 150.4 kB / 0.6162 GB, free: 7.656 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003729/0.4528, allocations: 249.7 kB / 0.6164 GB, free: 7.453 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002712/0.453, allocations: 158.8 kB / 0.6166 GB, free: 7.355 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.055e-06/0.4531, allocations: 3.938 kB / 0.6166 GB, free: 7.352 MB / 410.7 MB Notification: Performance of matching and sorting (n=62) (initialization): time 0.000783/0.4538, allocations: 489.7 kB / 0.6171 GB, free: 6.988 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0003662/0.4542, allocations: 0.8704 MB / 0.6179 GB, free: 6.066 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.805e-06/0.4542, allocations: 4 kB / 0.6179 GB, free: 6.062 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.77e-05/0.4543, allocations: 4 kB / 0.6179 GB, free: 6.059 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001082/0.4553, allocations: 218.6 kB / 0.6181 GB, free: 5.852 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.052e-05/0.4554, allocations: 8 kB / 0.6181 GB, free: 5.844 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006414/0.456, allocations: 115.5 kB / 0.6182 GB, free: 5.73 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.003e-05/0.4561, allocations: 23.05 kB / 0.6183 GB, free: 5.711 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.728e-06/0.4561, allocations: 4 kB / 0.6183 GB, free: 5.707 MB / 410.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0006308/0.4567, allocations: 358.5 kB / 0.6186 GB, free: 5.461 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.016e-06/0.4567, allocations: 0 / 0.6186 GB, free: 5.461 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.218e-06/0.4568, allocations: 8 kB / 0.6186 GB, free: 5.453 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008555/0.4576, allocations: 174.5 kB / 0.6188 GB, free: 5.289 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.235e-06/0.4576, allocations: 7.984 kB / 0.6188 GB, free: 5.281 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004701/0.4581, allocations: 87.55 kB / 0.6189 GB, free: 5.195 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.88e-05/0.4582, allocations: 19.44 kB / 0.6189 GB, free: 5.18 MB / 410.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 () * 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.0001717/0.4583, allocations: 108.9 kB / 0.619 GB, free: 5.066 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001471/0.4585, allocations: 75.06 kB / 0.6191 GB, free: 4.992 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002069/0.4587, allocations: 74.11 kB / 0.6191 GB, free: 4.949 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.157e-05/0.4587, allocations: 8 kB / 0.6191 GB, free: 4.941 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.968e-06/0.4587, allocations: 3.938 kB / 0.6191 GB, free: 4.938 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.494e-06/0.4588, allocations: 0 / 0.6191 GB, free: 4.938 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001744/0.4605, allocations: 1.07 MB / 0.6202 GB, free: 4.113 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.425e-06/0.4605, allocations: 0 / 0.6202 GB, free: 4.113 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007684/0.4613, allocations: 171.1 kB / 0.6204 GB, free: 3.949 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.19e-06/0.4613, allocations: 0 / 0.6204 GB, free: 3.949 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.756e-05/0.4614, allocations: 11.36 kB / 0.6204 GB, free: 3.941 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.067e-06/0.4614, allocations: 4 kB / 0.6204 GB, free: 3.938 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.695e-06/0.4614, allocations: 0 / 0.6204 GB, free: 3.938 MB / 410.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001116/0.4625, allocations: 0.8192 MB / 0.6212 GB, free: 3.316 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002585/0.4628, allocations: 193.1 kB / 0.6214 GB, free: 3.133 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.158e-05/0.4629, allocations: 0 / 0.6214 GB, free: 3.133 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006145/0.4635, allocations: 95.92 kB / 0.6214 GB, free: 3.039 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000109/0.4636, allocations: 34.12 kB / 0.6215 GB, free: 3.012 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.621e-05/0.4637, allocations: 19.73 kB / 0.6215 GB, free: 2.996 MB / 410.7 MB Notification: Performance of sort global known variables: time 0.0004017/0.4641, allocations: 347.2 kB / 0.6218 GB, free: 2.738 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0006888/0.4648, allocations: 203.1 kB / 0.622 GB, free: 2.539 MB / 410.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 () * 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.0001635/0.4649, allocations: 107.1 kB / 0.6221 GB, free: 2.43 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001031/0.466, allocations: 0.6275 MB / 0.6227 GB, free: 2.012 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.466, allocations: 3.938 kB / 0.6227 GB, free: 2.008 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003083/0.4663, allocations: 212.4 kB / 0.6229 GB, free: 1.871 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008402/0.4672, allocations: 157.5 kB / 0.6231 GB, free: 1.754 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003122/0.4703, allocations: 1.126 MB / 0.6242 GB, free: 0.6953 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008118/0.4711, allocations: 0.9921 MB / 0.6252 GB, free: 15.68 MB / 426.7 MB Notification: Performance of SimCode: time 2.014e-06/0.4711, allocations: 0 / 0.6252 GB, free: 15.68 MB / 426.7 MB Notification: Performance of Templates: time 0.0207/0.4918, allocations: 10.39 MB / 0.6353 GB, free: 5.375 MB / 426.7 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Blocks.StrictLimiters.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Blocks.StrictLimiters.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Blocks.StrictLimiters.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Blocks.StrictLimiters.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Blocks.StrictLimiters.sim & ./ModelicaTest_trunk_ModelicaTest.Blocks.StrictLimiters -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Blocks.StrictLimiters.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Blocks.StrictLimiters_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Blocks/StrictLimiters/StrictLimiters.csv","../files/ModelicaTest_trunk_ModelicaTest.Blocks.StrictLimiters.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches