Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.PreLoad.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(Modelica.Mechanics.Translational.Examples.PreLoad,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|friction.v_rel|innerContactA.s_rel|innerContactB.s_rel|outerContactA.v_rel|outerContactB.s_rel|outerContactB.v_rel",fileNamePrefix="Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.PreLoad") translateModel(Modelica.Mechanics.Translational.Examples.PreLoad,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|friction.v_rel|innerContactA.s_rel|innerContactB.s_rel|outerContactA.v_rel|outerContactB.s_rel|outerContactB.v_rel",fileNamePrefix="Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.PreLoad") [: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 3.2.3+maint.om/package.mo): time 0.001685/0.001685, allocations: 183.2 kB / 8.481 MB, free: 1.883 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.733/1.733, allocations: 205.2 MB / 214.1 MB, free: 5.449 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009791/0.000979, allocations: 83.33 kB / 262.1 MB, free: 5.504 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 8.596e-06/8.616e-06, allocations: 0 / 315 MB, free: 41.54 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1015/0.1015, allocations: 47.57 MB / 362.5 MB, free: 10.02 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3136/0.4151, allocations: 77.13 MB / 439.7 MB, free: 10.68 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002593/0.4155, allocations: 67.98 kB / 439.7 MB, free: 10.68 MB / 314.7 MB Notification: Performance of FrontEnd: time 0.02392/0.4394, allocations: 8.927 MB / 448.7 MB, free: 9.262 MB / 314.7 MB Notification: Performance of Transformations before backend: time 2.286e-05/0.4395, allocations: 15.47 kB / 448.7 MB, free: 9.258 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 116 * Number of variables: 116 Notification: Performance of Generate backend data structure: time 0.00115/0.4406, allocations: 0.7377 MB / 449.4 MB, free: 8.711 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.201e-05/0.4407, allocations: 11.52 kB / 449.4 MB, free: 8.707 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.778e-05/0.4408, allocations: 54.25 kB / 449.5 MB, free: 8.68 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003352/0.4411, allocations: 311 kB / 449.8 MB, free: 8.414 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.037e-05/0.4412, allocations: 15.56 kB / 449.8 MB, free: 8.414 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.161e-05/0.4412, allocations: 34.78 kB / 449.8 MB, free: 8.41 MB / 314.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005445/0.4418, allocations: 344.3 kB / 450.2 MB, free: 8.379 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005108/0.4423, allocations: 336.8 kB / 450.5 MB, free: 8.285 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.373e-05/0.4423, allocations: 3.656 kB / 450.5 MB, free: 8.285 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.356e-05/0.4424, allocations: 0 / 450.5 MB, free: 8.285 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.143e-05/0.4424, allocations: 15.34 kB / 450.5 MB, free: 8.281 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002027/0.4444, allocations: 1.308 MB / 451.8 MB, free: 7.672 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000395/0.4448, allocations: 296.2 kB / 452.1 MB, free: 7.645 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004828/0.4453, allocations: 326.5 kB / 452.4 MB, free: 7.594 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.895e-05/0.4454, allocations: 12.25 kB / 452.4 MB, free: 7.594 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.029e-05/0.4454, allocations: 39 kB / 452.5 MB, free: 7.551 MB / 314.7 MB Notification: Performance of pre-optimization done (n=67): time 2.154e-06/0.4454, allocations: 0 / 452.5 MB, free: 7.551 MB / 314.7 MB Notification: Performance of matching and sorting (n=103): time 0.003239/0.4487, allocations: 2.2 MB / 454.7 MB, free: 6.684 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.374e-05/0.4487, allocations: 64.12 kB / 454.8 MB, free: 6.621 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001576/0.4489, allocations: 203.9 kB / 454.9 MB, free: 6.504 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 3.439e-05/0.4489, allocations: 29.64 kB / 455 MB, free: 6.469 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.075e-05/0.449, allocations: 163.9 kB / 455.1 MB, free: 6.328 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001723/0.4491, allocations: 339.5 kB / 455.5 MB, free: 6.074 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.737e-05/0.4492, allocations: 0 / 455.5 MB, free: 6.074 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 8.558e-05/0.4493, allocations: 366.5 kB / 455.8 MB, free: 5.738 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000291/0.4496, allocations: 209.4 kB / 456 MB, free: 5.73 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003248/0.4499, allocations: 274.5 kB / 456.3 MB, free: 5.684 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003222/0.4502, allocations: 234.9 kB / 456.5 MB, free: 5.652 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.4502, allocations: 0 / 456.5 MB, free: 5.652 MB / 314.7 MB Notification: Performance of matching and sorting (n=113) (initialization): time 0.0008547/0.4511, allocations: 0.6246 MB / 457.2 MB, free: 5.527 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.372e-05/0.4511, allocations: 7.875 kB / 457.2 MB, free: 5.523 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.696e-06/0.4511, allocations: 3.984 kB / 457.2 MB, free: 5.52 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.761e-05/0.4512, allocations: 7.406 kB / 457.2 MB, free: 5.52 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008083/0.452, allocations: 224.6 kB / 457.4 MB, free: 5.469 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.426e-06/0.452, allocations: 3.844 kB / 457.4 MB, free: 5.469 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003407/0.4523, allocations: 46.28 kB / 457.4 MB, free: 5.457 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.021e-05/0.4524, allocations: 28.95 kB / 457.5 MB, free: 5.453 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 4 (innerContactA.contact,innerContactB.contact,outerContactA.contact,outerContactB.contact) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (113): * Single equations (assignments): 113 * 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.0001099/0.4525, allocations: 117.3 kB / 457.6 MB, free: 5.336 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.057e-05/0.4526, allocations: 57.72 kB / 457.6 MB, free: 5.309 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001396/0.4527, allocations: 62.48 kB / 457.7 MB, free: 5.289 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.035e-06/0.4528, allocations: 7.75 kB / 457.7 MB, free: 5.289 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.888e-06/0.4528, allocations: 0 / 457.7 MB, free: 5.289 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.053e-05/0.4528, allocations: 7.891 kB / 457.7 MB, free: 5.281 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002204/0.455, allocations: 1.74 MB / 459.5 MB, free: 4.492 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.565e-06/0.455, allocations: 3.938 kB / 459.5 MB, free: 4.492 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000927/0.456, allocations: 224.5 kB / 459.7 MB, free: 4.441 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.52e-05/0.456, allocations: 8.844 kB / 459.7 MB, free: 4.441 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.573e-05/0.456, allocations: 11.88 kB / 459.7 MB, free: 4.438 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.057e-05/0.4561, allocations: 13.45 kB / 459.7 MB, free: 4.434 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.103e-06/0.4561, allocations: 7.875 kB / 459.7 MB, free: 4.43 MB / 314.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.00162/0.4577, allocations: 1.385 MB / 461.1 MB, free: 3.691 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.547e-05/0.4578, allocations: 123.5 kB / 461.2 MB, free: 3.57 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.515e-05/0.4579, allocations: 10.52 kB / 461.2 MB, free: 3.566 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004317/0.4583, allocations: 47.06 kB / 461.3 MB, free: 3.555 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001258/0.4585, allocations: 78.39 kB / 461.4 MB, free: 3.516 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.362e-05/0.4585, allocations: 29.47 kB / 461.4 MB, free: 3.516 MB / 314.7 MB Notification: Performance of sort global known variables: time 0.0001343/0.4587, allocations: 153.9 kB / 461.5 MB, free: 3.43 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0005186/0.4592, allocations: 121.5 kB / 461.7 MB, free: 3.43 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 20 * Number of states: 6 (outerContactA.s_rel,outerContactA.v_rel,outerContactB.s_rel,outerContactB.v_rel,friction.s_rel,friction.v_rel) * Number of discrete variables: 4 (innerContactA.contact,innerContactB.contact,outerContactA.contact,outerContactB.contact) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (103): * Single equations (assignments): 103 * 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.0001644/0.4594, allocations: 121.1 kB / 461.8 MB, free: 3.32 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0009711/0.4603, allocations: 0.5888 MB / 462.4 MB, free: 3.281 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.765e-06/0.4603, allocations: 0 / 462.4 MB, free: 3.281 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006072/0.461, allocations: 378.7 kB / 462.7 MB, free: 3.238 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000605/0.4616, allocations: 82.62 kB / 462.8 MB, free: 3.211 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002298/0.4639, allocations: 1.19 MB / 464 MB, free: 2.473 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005474/0.4644, allocations: 0.9477 MB / 465 MB, free: 1.676 MB / 314.7 MB Notification: Performance of SimCode: time 5.81e-07/0.4644, allocations: 0 / 465 MB, free: 1.676 MB / 314.7 MB Notification: Performance of Templates: time 0.01477/0.4792, allocations: 6.849 MB / 471.8 MB, free: 14.36 MB / 330.7 MB make -j1 -f Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.PreLoad.makefile (rm -f Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.PreLoad.pipe ; mkfifo Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.PreLoad.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.PreLoad.pipe >> ../files/Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.PreLoad.sim & ./Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.PreLoad -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.PreLoad.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.PreLoad_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Mechanics/Translational/Examples/PreLoad/PreLoad.csv","../files/Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.PreLoad.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches