Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Blocks.Continuous_SteadyState.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.Continuous_SteadyState,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|criticalDamping.x.1.|criticalDamping.x.2.|derivative.x|firstOrder.y|integrator.y|limIntegrator.y|limPID.D.x|limPID.I.y|lowpassButterworth.x1.1.|lowpassButterworth.x2.1.|pI.x|pID.D.x|pID.I.y|secondOrder.y|secondOrder.yd|stateSpace.x.1.|stateSpace.x.2.|transferFunction.x_scaled.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Blocks.Continuous_SteadyState") translateModel(ModelicaTest.Blocks.Continuous_SteadyState,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|criticalDamping.x.1.|criticalDamping.x.2.|derivative.x|firstOrder.y|integrator.y|limIntegrator.y|limPID.D.x|limPID.I.y|lowpassButterworth.x1.1.|lowpassButterworth.x2.1.|pI.x|pID.D.x|pID.I.y|secondOrder.y|secondOrder.yd|stateSpace.x.1.|stateSpace.x.2.|transferFunction.x_scaled.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Blocks.Continuous_SteadyState") [: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 4.0.0+maint.om/package.mo): time 0.001/0.001, allocations: 178.7 kB / 8.519 MB, free: 1.859 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.178/1.178, allocations: 221.4 MB / 230.3 MB, free: 7.766 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008465/0.0008463, allocations: 80.75 kB / 281.2 MB, free: 5.523 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.1958/0.1958, allocations: 44.14 MB / 376.1 MB, free: 3.246 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 5.55e-06/5.561e-06, allocations: 224 / 444 MB, free: 15.62 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.118/0.118, allocations: 61.91 MB / 0.4941 GB, free: 1.641 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3236/0.4417, allocations: 95.95 MB / 0.5878 GB, free: 0.9297 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002101/0.4419, allocations: 63.97 kB / 0.5878 GB, free: 0.8672 MB / 394.7 MB Notification: Performance of FrontEnd: time 0.05851/0.5004, allocations: 19.65 MB / 0.607 GB, free: 13.16 MB / 426.7 MB Notification: Performance of Transformations before backend: time 7.319e-05/0.5005, allocations: 20 kB / 0.6071 GB, free: 13.14 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: 110 * Number of variables: 110 Notification: Performance of Generate backend data structure: time 0.001916/0.5025, allocations: 0.9464 MB / 0.608 GB, free: 12.14 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.584e-05/0.5025, allocations: 15.91 kB / 0.608 GB, free: 12.13 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001779/0.5027, allocations: 98.88 kB / 0.6081 GB, free: 12.03 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001123/0.5038, allocations: 0.5548 MB / 0.6086 GB, free: 11.44 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.207e-05/0.5039, allocations: 16 kB / 0.6086 GB, free: 11.42 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.358e-05/0.504, allocations: 35.91 kB / 0.6087 GB, free: 11.39 MB / 426.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006444/0.5046, allocations: 337.9 kB / 0.609 GB, free: 11.05 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007417/0.5054, allocations: 498.6 kB / 0.6095 GB, free: 10.52 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.075e-05/0.5054, allocations: 7.938 kB / 0.6095 GB, free: 10.51 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.601e-05/0.5055, allocations: 0.75 kB / 0.6095 GB, free: 10.51 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.241e-05/0.5055, allocations: 12 kB / 0.6095 GB, free: 10.5 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00339/0.5089, allocations: 2.573 MB / 0.612 GB, free: 7.836 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007398/0.5097, allocations: 457.3 kB / 0.6124 GB, free: 7.367 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002835/0.5099, allocations: 190.6 kB / 0.6126 GB, free: 7.172 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.732e-05/0.51, allocations: 7.938 kB / 0.6126 GB, free: 7.164 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.954e-05/0.51, allocations: 39.28 kB / 0.6127 GB, free: 7.117 MB / 426.7 MB Notification: Performance of pre-optimization done (n=43): time 3.015e-06/0.5101, allocations: 0 / 0.6127 GB, free: 7.117 MB / 426.7 MB Notification: Performance of matching and sorting (n=44): time 0.001331/0.5114, allocations: 0.7761 MB / 0.6134 GB, free: 6.328 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.598e-05/0.5115, allocations: 140.4 kB / 0.6136 GB, free: 6.16 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005627/0.512, allocations: 0.4919 MB / 0.614 GB, free: 5.664 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 3.969e-05/0.5121, allocations: 25.7 kB / 0.6141 GB, free: 5.633 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00015/0.5122, allocations: 252.7 kB / 0.6143 GB, free: 5.379 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001401/0.5124, allocations: 165.6 kB / 0.6145 GB, free: 5.215 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.804e-05/0.5124, allocations: 0 / 0.6145 GB, free: 5.215 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001595/0.5126, allocations: 386.8 kB / 0.6148 GB, free: 4.828 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000303/0.5129, allocations: 181.3 kB / 0.615 GB, free: 4.652 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004154/0.5133, allocations: 344.1 kB / 0.6153 GB, free: 4.246 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003658/0.5137, allocations: 235.9 kB / 0.6156 GB, free: 4.02 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.783e-06/0.5137, allocations: 3.938 kB / 0.6156 GB, free: 4.016 MB / 426.7 MB Notification: Performance of matching and sorting (n=77) (initialization): time 0.001094/0.5148, allocations: 0.6448 MB / 0.6162 GB, free: 3.363 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0006065/0.5154, allocations: 1.745 MB / 0.6179 GB, free: 1.484 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.014e-05/0.5154, allocations: 4 kB / 0.6179 GB, free: 1.48 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002329/0.5157, allocations: 60.81 kB / 0.618 GB, free: 1.418 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001006/0.5167, allocations: 211.7 kB / 0.6182 GB, free: 1.211 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001311/0.518, allocations: 1.444 MB / 0.6196 GB, free: 15.65 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006193/0.5187, allocations: 83.67 kB / 0.6197 GB, free: 15.57 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.072e-05/0.5187, allocations: 23.98 kB / 0.6197 GB, free: 15.55 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.276e-06/0.5187, allocations: 4 kB / 0.6197 GB, free: 15.54 MB / 442.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0009063/0.5196, allocations: 0.5352 MB / 0.6202 GB, free: 15 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.151e-06/0.5197, allocations: 4 kB / 0.6202 GB, free: 15 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001476/0.5198, allocations: 65.31 kB / 0.6203 GB, free: 14.93 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009123/0.5207, allocations: 203.8 kB / 0.6205 GB, free: 14.73 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001111/0.5219, allocations: 1.431 MB / 0.6219 GB, free: 13.18 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005922/0.5225, allocations: 75.72 kB / 0.6219 GB, free: 13.11 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.641e-05/0.5225, allocations: 31.94 kB / 0.622 GB, free: 13.08 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * Number of states: 0 () * Number of discrete variables: 4 (limPID.I.local_reset,pID.I.local_reset,limIntegrator.local_reset,integrator.local_reset) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (76): * Single equations (assignments): 75 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001569/0.5227, allocations: 128.7 kB / 0.6221 GB, free: 12.95 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001496/0.5228, allocations: 67.16 kB / 0.6221 GB, free: 12.88 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00021/0.5231, allocations: 77.8 kB / 0.6222 GB, free: 12.8 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.268e-06/0.5231, allocations: 4 kB / 0.6222 GB, free: 12.8 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.068e-06/0.5231, allocations: 0 / 0.6222 GB, free: 12.8 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.127e-06/0.5231, allocations: 7.891 kB / 0.6222 GB, free: 12.79 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001043/0.5241, allocations: 0.7561 MB / 0.623 GB, free: 11.99 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.976e-06/0.5242, allocations: 0 / 0.623 GB, free: 11.99 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007052/0.5249, allocations: 123.9 kB / 0.6231 GB, free: 11.87 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.08e-06/0.5249, allocations: 4 kB / 0.6231 GB, free: 11.86 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.576e-05/0.5249, allocations: 4 kB / 0.6231 GB, free: 11.86 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.466e-06/0.5249, allocations: 7.938 kB / 0.6231 GB, free: 11.85 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.673e-06/0.525, allocations: 0 / 0.6231 GB, free: 11.85 MB / 442.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001125/0.5261, allocations: 0.9684 MB / 0.6241 GB, free: 10.85 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002562/0.5264, allocations: 200 kB / 0.6242 GB, free: 10.64 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.508e-05/0.5265, allocations: 8.047 kB / 0.6242 GB, free: 10.63 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006154/0.5271, allocations: 63.92 kB / 0.6243 GB, free: 10.57 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001038/0.5272, allocations: 31.95 kB / 0.6243 GB, free: 10.54 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.551e-05/0.5272, allocations: 15.98 kB / 0.6244 GB, free: 10.52 MB / 442.7 MB Notification: Performance of sort global known variables: time 0.000401/0.5276, allocations: 379.2 kB / 0.6247 GB, free: 10.16 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.000784/0.5284, allocations: 172 kB / 0.6249 GB, free: 9.988 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 18 (limPID.I.y,limPID.D.x,transferFunction.x_scaled[1],stateSpace.x[1],stateSpace.x[2],lowpassButterworth.x1[1],lowpassButterworth.x2[1],criticalDamping.x[1],criticalDamping.x[2],integrator.y,limIntegrator.y,derivative.x,firstOrder.y,secondOrder.y,secondOrder.yd,pI.x,pID.I.y,pID.D.x) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (44): * Single equations (assignments): 44 * 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.0001685/0.5286, allocations: 115 kB / 0.625 GB, free: 9.867 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.001651/0.5303, allocations: 0.9985 MB / 0.626 GB, free: 8.848 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 3.266e-06/0.5303, allocations: 0 / 0.626 GB, free: 8.848 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000362/0.5307, allocations: 211.8 kB / 0.6262 GB, free: 8.641 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008544/0.5315, allocations: 158.3 kB / 0.6263 GB, free: 8.492 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002434/0.534, allocations: 1.185 MB / 0.6275 GB, free: 7.273 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006947/0.5347, allocations: 1.013 MB / 0.6285 GB, free: 6.23 MB / 442.7 MB Notification: Performance of SimCode: time 1.333e-06/0.5347, allocations: 8 kB / 0.6285 GB, free: 6.223 MB / 442.7 MB Notification: Performance of Templates: time 0.01948/0.5542, allocations: 10.78 MB / 0.639 GB, free: 11.52 MB / 458.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Blocks.Continuous_SteadyState.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Blocks.Continuous_SteadyState.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Blocks.Continuous_SteadyState.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Blocks.Continuous_SteadyState.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Blocks.Continuous_SteadyState.sim & ./ModelicaTest_4.0.0_ModelicaTest.Blocks.Continuous_SteadyState -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Blocks.Continuous_SteadyState.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Blocks.Continuous_SteadyState_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Blocks/Continuous_SteadyState/Continuous_SteadyState.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Blocks.Continuous_SteadyState.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches