Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Translational.AllComponents.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.Translational.AllComponents,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|damper.s_rel|elastoGap.s_rel|elastoGap.v_rel|position.s|position.v|position1.s|position1.v|position2.s|position2.v|relativeStates.s_rel|relativeStates.v_rel|slidingMass.s|slidingMass.v|springDamper.s_rel|springDamper.v_rel",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Translational.AllComponents") translateModel(ModelicaTest.Translational.AllComponents,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|damper.s_rel|elastoGap.s_rel|elastoGap.v_rel|position.s|position.v|position1.s|position1.v|position2.s|position2.v|relativeStates.s_rel|relativeStates.v_rel|slidingMass.s|slidingMass.v|springDamper.s_rel|springDamper.v_rel",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Translational.AllComponents") [: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.001309/0.001309, allocations: 203.5 kB / 8.541 MB, free: 1.828 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.274/1.274, allocations: 225.5 MB / 234.4 MB, free: 14.94 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009466/0.0009466, allocations: 96.97 kB / 286.4 MB, free: 12.61 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.372/0.372, allocations: 45.15 MB / 383.3 MB, free: 40.87 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 6.252e-06/6.272e-06, allocations: 0 / 452.6 MB, free: 5.5 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3744/0.3744, allocations: 63.24 MB / 0.5038 GB, free: 35.57 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1195/0.494, allocations: 91.49 MB / 0.5931 GB, free: 2.875 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002097/0.4942, allocations: 63.97 kB / 0.5932 GB, free: 2.812 MB / 410.7 MB Notification: Performance of FrontEnd: time 0.03508/0.5293, allocations: 11.38 MB / 0.6043 GB, free: 7.395 MB / 426.7 MB Notification: Performance of Transformations before backend: time 8.579e-05/0.5295, allocations: 16 kB / 0.6043 GB, free: 7.379 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: 144 * Number of variables: 144 Notification: Performance of Generate backend data structure: time 0.001971/0.5315, allocations: 0.8534 MB / 0.6051 GB, free: 6.477 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.262e-05/0.5315, allocations: 12.03 kB / 0.6051 GB, free: 6.465 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008718/0.5324, allocations: 171 kB / 0.6053 GB, free: 6.297 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006774/0.5331, allocations: 371.2 kB / 0.6057 GB, free: 5.898 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.419e-05/0.5331, allocations: 20 kB / 0.6057 GB, free: 5.879 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000132/0.5333, allocations: 40 kB / 0.6057 GB, free: 5.84 MB / 426.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0008681/0.5341, allocations: 422.4 kB / 0.6061 GB, free: 5.43 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009133/0.5351, allocations: 0.4895 MB / 0.6066 GB, free: 4.918 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.161e-05/0.5351, allocations: 7.906 kB / 0.6066 GB, free: 4.91 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.472e-05/0.5352, allocations: 4 kB / 0.6066 GB, free: 4.906 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.905e-05/0.5352, allocations: 12 kB / 0.6066 GB, free: 4.895 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003593/0.5388, allocations: 1.962 MB / 0.6085 GB, free: 2.84 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000786/0.5396, allocations: 461.1 kB / 0.609 GB, free: 2.363 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004423/0.5401, allocations: 270.2 kB / 0.6092 GB, free: 2.082 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001821/0.5402, allocations: 93.75 kB / 0.6093 GB, free: 1.973 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.472e-05/0.5403, allocations: 50.84 kB / 0.6094 GB, free: 1.91 MB / 426.7 MB Notification: Performance of pre-optimization done (n=82): time 2.725e-06/0.5403, allocations: 7.938 kB / 0.6094 GB, free: 1.902 MB / 426.7 MB Notification: Performance of matching and sorting (n=115): time 0.005665/0.546, allocations: 3.529 MB / 0.6128 GB, free: 14.02 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.917e-05/0.5461, allocations: 174.8 kB / 0.613 GB, free: 13.82 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003338/0.5464, allocations: 297.2 kB / 0.6133 GB, free: 13.52 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 4.787e-05/0.5465, allocations: 25.7 kB / 0.6133 GB, free: 13.49 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000166/0.5467, allocations: 216.9 kB / 0.6135 GB, free: 13.27 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003084/0.547, allocations: 390.1 kB / 0.6139 GB, free: 12.89 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.898e-05/0.547, allocations: 4 kB / 0.6139 GB, free: 12.88 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0002127/0.5472, allocations: 370.8 kB / 0.6142 GB, free: 12.51 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004397/0.5477, allocations: 254.6 kB / 0.6145 GB, free: 12.27 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005769/0.5483, allocations: 446.5 kB / 0.6149 GB, free: 11.76 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005737/0.5489, allocations: 303 kB / 0.6152 GB, free: 11.46 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.26e-06/0.5489, allocations: 0 / 0.6152 GB, free: 11.46 MB / 442.7 MB Notification: Performance of matching and sorting (n=144) (initialization): time 0.001364/0.5502, allocations: 0.8196 MB / 0.616 GB, free: 10.64 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.539e-05/0.5503, allocations: 4 kB / 0.616 GB, free: 10.64 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.206e-05/0.5503, allocations: 4 kB / 0.616 GB, free: 10.64 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.58e-05/0.5503, allocations: 12 kB / 0.616 GB, free: 10.62 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001192/0.5515, allocations: 303.8 kB / 0.6163 GB, free: 10.33 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.787e-05/0.5516, allocations: 15.88 kB / 0.6163 GB, free: 10.31 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005197/0.5521, allocations: 39.97 kB / 0.6164 GB, free: 10.27 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.78e-05/0.5522, allocations: 51.92 kB / 0.6164 GB, free: 10.22 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 22 * Number of states: 0 () * Number of discrete variables: 1 (elastoGap.contact) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (144): * Single equations (assignments): 144 * 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.0001849/0.5524, allocations: 124.7 kB / 0.6165 GB, free: 10.09 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002011/0.5526, allocations: 75.06 kB / 0.6166 GB, free: 10.02 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004887/0.5531, allocations: 230.8 kB / 0.6168 GB, free: 9.785 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.413e-05/0.5531, allocations: 12.14 kB / 0.6168 GB, free: 9.773 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.317e-06/0.5531, allocations: 0 / 0.6168 GB, free: 9.773 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.374e-05/0.5532, allocations: 11.97 kB / 0.6168 GB, free: 9.762 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003312/0.5565, allocations: 2.162 MB / 0.6189 GB, free: 7.512 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.366e-06/0.5565, allocations: 11.97 kB / 0.619 GB, free: 7.5 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001215/0.5577, allocations: 263.7 kB / 0.6192 GB, free: 7.242 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.603e-05/0.5577, allocations: 8 kB / 0.6192 GB, free: 7.234 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.799e-05/0.5578, allocations: 19.89 kB / 0.6192 GB, free: 7.215 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.387e-06/0.5578, allocations: 8.062 kB / 0.6192 GB, free: 7.207 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.015e-06/0.5578, allocations: 8 kB / 0.6193 GB, free: 7.199 MB / 442.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002084/0.5599, allocations: 1.699 MB / 0.6209 GB, free: 5.371 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002942/0.5602, allocations: 200.2 kB / 0.6211 GB, free: 5.156 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001109/0.5604, allocations: 7.938 kB / 0.6211 GB, free: 5.148 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006241/0.561, allocations: 43.88 kB / 0.6212 GB, free: 5.105 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001595/0.5612, allocations: 72.55 kB / 0.6212 GB, free: 5.035 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.857e-05/0.5612, allocations: 35.98 kB / 0.6213 GB, free: 5 MB / 442.7 MB Notification: Performance of sort global known variables: time 0.0002451/0.5615, allocations: 223.2 kB / 0.6215 GB, free: 4.785 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0008728/0.5624, allocations: 160 kB / 0.6216 GB, free: 4.629 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * Number of states: 15 (slidingMass.s,slidingMass.v,damper.s_rel,springDamper.s_rel,springDamper.v_rel,elastoGap.s_rel,elastoGap.v_rel,relativeStates.s_rel,relativeStates.v_rel,position2.s,position2.v,position1.s,position1.v,position.s,position.v) * Number of discrete variables: 1 (elastoGap.contact) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (115): * Single equations (assignments): 115 * 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.0002154/0.5626, allocations: 120.2 kB / 0.6217 GB, free: 4.5 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.001304/0.5639, allocations: 0.7129 MB / 0.6224 GB, free: 3.793 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 3.777e-06/0.5639, allocations: 4 kB / 0.6224 GB, free: 3.789 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006868/0.5646, allocations: 430.2 kB / 0.6228 GB, free: 3.367 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008597/0.5655, allocations: 88.02 kB / 0.6229 GB, free: 3.281 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003528/0.569, allocations: 1.874 MB / 0.6248 GB, free: 1.336 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009036/0.5699, allocations: 1.029 MB / 0.6258 GB, free: 292 kB / 442.7 MB Notification: Performance of SimCode: time 1.964e-06/0.57, allocations: 4 kB / 0.6258 GB, free: 288 kB / 442.7 MB Notification: Performance of Templates: time 0.01711/0.5871, allocations: 7.58 MB / 0.6332 GB, free: 8.766 MB / 458.7 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Translational.AllComponents.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Translational.AllComponents.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Translational.AllComponents.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Translational.AllComponents.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Translational.AllComponents.sim & ./ModelicaTest_trunk_ModelicaTest.Translational.AllComponents -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Translational.AllComponents.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Translational.AllComponents_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Translational/AllComponents/AllComponents.csv","../files/ModelicaTest_trunk_ModelicaTest.Translational.AllComponents.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches