Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant.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.MultiBody.Examples.Elementary.InitSpringConstant,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|rev.phi|rev.w",fileNamePrefix="Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant") translateModel(Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|rev.phi|rev.w",fileNamePrefix="Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant") [: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.001065/0.001064, 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.219/1.219, allocations: 205.2 MB / 214.1 MB, free: 5.156 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.0008425/0.0008426, allocations: 82.31 kB / 262.1 MB, free: 5.199 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 7.975e-06/8.105e-06, allocations: 4 kB / 315 MB, free: 41.49 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07989/0.07991, allocations: 47.57 MB / 362.5 MB, free: 9.965 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2635/0.3435, allocations: 96.93 MB / 459.5 MB, free: 7.402 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002228/0.3437, allocations: 83.39 kB / 459.6 MB, free: 7.391 MB / 314.7 MB Notification: Performance of FrontEnd: time 0.1846/0.5283, allocations: 70.77 MB / 0.5179 GB, free: 12.6 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0002251/0.5286, allocations: 71.92 kB / 0.518 GB, free: 12.53 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1275 * Number of variables: 1275 Notification: Performance of Generate backend data structure: time 0.01017/0.5388, allocations: 3.369 MB / 0.5213 GB, free: 9.102 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.184e-05/0.5388, allocations: 8.031 kB / 0.5213 GB, free: 9.094 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009181/0.548, allocations: 1.692 MB / 0.5229 GB, free: 7.395 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01141/0.5594, allocations: 4.116 MB / 0.5269 GB, free: 3.215 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002321/0.5597, allocations: 112 kB / 0.527 GB, free: 3.105 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001585/0.5613, allocations: 204 kB / 0.5272 GB, free: 2.906 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01077/0.5721, allocations: 5.265 MB / 0.5324 GB, free: 13.64 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01644/0.5886, allocations: 8.192 MB / 0.5404 GB, free: 4.465 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002481/0.5889, allocations: 55.5 kB / 0.5404 GB, free: 4.41 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00117/0.5901, allocations: 31.98 kB / 0.5405 GB, free: 4.379 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001344/0.5914, allocations: 0.946 MB / 0.5414 GB, free: 3.43 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1644/0.7559, allocations: 41.93 MB / 0.5823 GB, free: 121.3 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002538/0.7585, allocations: 2.568 MB / 0.5848 GB, free: 120.7 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001497/0.76, allocations: 1.554 MB / 0.5863 GB, free: 120.6 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006921/0.7669, allocations: 5.516 MB / 0.5917 GB, free: 118.7 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.651e-05/0.767, allocations: 47.69 kB / 0.5918 GB, free: 118.6 MB / 426.7 MB Notification: Performance of pre-optimization done (n=121): time 3.998e-06/0.767, allocations: 0 / 0.5918 GB, free: 118.6 MB / 426.7 MB Notification: Performance of matching and sorting (n=130): time 0.01808/0.7851, allocations: 10.84 MB / 0.6024 GB, free: 116.3 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.613e-05/0.7851, allocations: 142.2 kB / 0.6025 GB, free: 116.2 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003292/0.7884, allocations: 2.861 MB / 0.6053 GB, free: 115.9 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001009/0.7885, allocations: 25.7 kB / 0.6053 GB, free: 115.8 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001021/0.7896, allocations: 2.633 MB / 0.6079 GB, free: 114.3 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003312/0.7899, allocations: 0.5157 MB / 0.6084 GB, free: 114.1 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001703/0.7901, allocations: 2.344 kB / 0.6084 GB, free: 114.1 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0002159/0.7903, allocations: 0.5367 MB / 0.6089 GB, free: 113.7 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001776/0.7921, allocations: 1.637 MB / 0.6105 GB, free: 113.7 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002931/0.795, allocations: 5.169 MB / 0.6156 GB, free: 109.1 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003085/0.7981, allocations: 2.914 MB / 0.6184 GB, free: 109.1 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.199e-05/0.7982, allocations: 35.91 kB / 0.6185 GB, free: 109.1 MB / 426.7 MB Notification: Performance of matching and sorting (n=719) (initialization): time 0.00776/0.8059, allocations: 6.065 MB / 0.6244 GB, free: 108.4 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.397e-05/0.806, allocations: 3.875 kB / 0.6244 GB, free: 108.4 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.436e-05/0.8061, allocations: 128.7 kB / 0.6245 GB, free: 108.4 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005457/0.8066, allocations: 341.1 kB / 0.6248 GB, free: 108.4 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003744/0.8104, allocations: 1.305 MB / 0.6261 GB, free: 108.2 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001815/0.8122, allocations: 2.187 MB / 0.6282 GB, free: 106.6 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003433/0.8157, allocations: 162.1 kB / 0.6284 GB, free: 106.6 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004433/0.8161, allocations: 351.8 kB / 0.6287 GB, free: 106.6 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 581 * Number of states: 0 () * Number of discrete variables: 33 (spring.color[3],spring.color[2],spring.color[1],spring.massColor[3],spring.massColor[2],spring.massColor[1],fixed.color[3],fixed.color[2],fixed.color[1],body.color[3],body.color[2],body.color[1],body.body.sphereColor[3],body.body.sphereColor[2],body.body.sphereColor[1],body.frameTranslation.color[3],body.frameTranslation.color[2],body.frameTranslation.color[1],rev.cylinderColor[3],rev.cylinderColor[2],rev.cylinderColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (691): * Single equations (assignments): 687 * Array equations: 3 * 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%) 4} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0005584/0.8167, allocations: 420.8 kB / 0.6291 GB, free: 106.2 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000381/0.8171, allocations: 283.7 kB / 0.6294 GB, free: 106.1 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004095/0.8212, allocations: 2.237 MB / 0.6316 GB, free: 105.3 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.663e-05/0.8213, allocations: 15.34 kB / 0.6316 GB, free: 105.3 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.558e-05/0.8213, allocations: 6.75 kB / 0.6316 GB, free: 105.3 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.396e-05/0.8213, allocations: 8.688 kB / 0.6316 GB, free: 105.3 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009874/0.8312, allocations: 5.291 MB / 0.6368 GB, free: 103.5 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.356e-06/0.8312, allocations: 0 / 0.6368 GB, free: 103.5 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008713/0.8321, allocations: 171.4 kB / 0.6369 GB, free: 103.5 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002013/0.8341, allocations: 0.6536 MB / 0.6376 GB, free: 103.4 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001339/0.8343, allocations: 4.312 kB / 0.6376 GB, free: 103.4 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00458/0.8389, allocations: 4.203 MB / 0.6417 GB, free: 101 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.609e-06/0.8389, allocations: 3.781 kB / 0.6417 GB, free: 101 MB / 426.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0061/0.845, allocations: 4.375 MB / 0.646 GB, free: 99.16 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001255/0.8463, allocations: 0.5 MB / 0.6465 GB, free: 98.84 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003582/0.8466, allocations: 3.875 kB / 0.6465 GB, free: 98.84 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00102/0.8477, allocations: 36.73 kB / 0.6465 GB, free: 98.84 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000143/0.8478, allocations: 53.83 kB / 0.6465 GB, free: 98.82 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.73e-05/0.8479, allocations: 38.08 kB / 0.6466 GB, free: 98.82 MB / 426.7 MB Notification: Performance of sort global known variables: time 0.002529/0.8505, allocations: 1.901 MB / 0.6484 GB, free: 98.12 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.004076/0.8545, allocations: 0.7055 MB / 0.6491 GB, free: 97.75 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 2 (rev.phi,rev.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (97): * Single equations (assignments): 93 * Array equations: 3 * 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%) 11} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003886/0.8549, allocations: 149.5 kB / 0.6493 GB, free: 97.62 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.005231/0.8602, allocations: 3.882 MB / 0.6531 GB, free: 94.11 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 5.51e-06/0.8602, allocations: 3.938 kB / 0.6531 GB, free: 94.11 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001262/0.8615, allocations: 1.067 MB / 0.6541 GB, free: 93.13 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001712/0.8632, allocations: 297.3 kB / 0.6544 GB, free: 92.88 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01016/0.8734, allocations: 5.973 MB / 0.6602 GB, free: 87.58 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002984/0.8764, allocations: 3.097 MB / 0.6632 GB, free: 85.16 MB / 426.7 MB Notification: Performance of SimCode: time 9.81e-07/0.8764, allocations: 0 / 0.6632 GB, free: 85.16 MB / 426.7 MB Notification: Performance of Templates: time 0.04985/0.9263, allocations: 28.33 MB / 0.6909 GB, free: 64.06 MB / 426.7 MB make -j1 -f Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant.makefile (rm -f Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant.pipe ; mkfifo Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant.pipe >> ../files/Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant.sim & ./Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Mechanics/MultiBody/Examples/Elementary/InitSpringConstant/InitSpringConstant.csv","../files/Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches