Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant.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) 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(Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|rev.phi|rev.w",fileNamePrefix="Modelica_4.0.0_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_4.0.0_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 4.0.0+maint.om/package.mo): time 0.001019/0.001019, allocations: 185.7 kB / 8.136 MB, free: 2.18 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.225/1.225, allocations: 221.4 MB / 229.9 MB, free: 3.23 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.001009/0.001009, allocations: 95.08 kB / 280.8 MB, free: 1.246 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 7.434e-06/7.464e-06, allocations: 0 / 336.5 MB, free: 9.496 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2355/0.2355, allocations: 50.39 MB / 386.9 MB, free: 38.11 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.115/0.3506, allocations: 98.65 MB / 485.6 MB, free: 4.16 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002493/0.3509, allocations: 89.08 kB / 485.6 MB, free: 4.074 MB / 362.7 MB Notification: Performance of FrontEnd: time 0.326/0.677, allocations: 71.69 MB / 0.5443 GB, free: 65.21 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0001196/0.6771, allocations: 68 kB / 0.5443 GB, free: 65.15 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.005581/0.6827, allocations: 3.365 MB / 0.5476 GB, free: 61.72 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.725e-05/0.6828, allocations: 8.031 kB / 0.5476 GB, free: 61.71 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007396/0.6902, allocations: 1.703 MB / 0.5493 GB, free: 60 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009448/0.6996, allocations: 3.932 MB / 0.5531 GB, free: 56 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000105/0.6998, allocations: 116 kB / 0.5532 GB, free: 55.89 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007654/0.7006, allocations: 207.9 kB / 0.5534 GB, free: 55.69 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.007116/0.7077, allocations: 5.272 MB / 0.5586 GB, free: 50.41 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009103/0.7168, allocations: 8.184 MB / 0.5666 GB, free: 41.25 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000122/0.717, allocations: 59.41 kB / 0.5666 GB, free: 41.19 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003875/0.7174, allocations: 32 kB / 0.5667 GB, free: 41.16 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0009636/0.7183, allocations: 0.9383 MB / 0.5676 GB, free: 40.22 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03756/0.7559, allocations: 41.92 MB / 0.6085 GB, free: 12.96 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003519/0.7595, allocations: 2.563 MB / 0.611 GB, free: 10.24 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002222/0.7617, allocations: 1.556 MB / 0.6125 GB, free: 8.676 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009816/0.7716, allocations: 5.507 MB / 0.6179 GB, free: 2.906 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.063e-05/0.7717, allocations: 47.16 kB / 0.618 GB, free: 2.852 MB / 394.7 MB Notification: Performance of pre-optimization done (n=121): time 4.067e-06/0.7717, allocations: 0 / 0.618 GB, free: 2.852 MB / 394.7 MB Notification: Performance of matching and sorting (n=130): time 0.02107/0.7928, allocations: 10.79 MB / 0.6285 GB, free: 7.926 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.213e-05/0.7929, allocations: 137.2 kB / 0.6286 GB, free: 7.762 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00415/0.797, allocations: 2.849 MB / 0.6314 GB, free: 4.91 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000208/0.7972, allocations: 25.7 kB / 0.6314 GB, free: 4.879 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00155/0.7988, allocations: 2.635 MB / 0.634 GB, free: 2.203 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005537/0.7994, allocations: 0.5092 MB / 0.6345 GB, free: 1.688 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001691/0.7995, allocations: 0 / 0.6345 GB, free: 1.688 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0003537/0.7999, allocations: 0.5413 MB / 0.635 GB, free: 1.141 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002248/0.8022, allocations: 1.639 MB / 0.6366 GB, free: 15.49 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004244/0.8064, allocations: 5.169 MB / 0.6417 GB, free: 8.523 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003866/0.8103, allocations: 2.92 MB / 0.6445 GB, free: 5.602 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.745e-05/0.8104, allocations: 40 kB / 0.6446 GB, free: 5.562 MB / 426.7 MB Notification: Performance of matching and sorting (n=719) (initialization): time 0.1545/0.9648, allocations: 6.055 MB / 0.6505 GB, free: 135.1 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.096e-05/0.9649, allocations: 3.812 kB / 0.6505 GB, free: 135.1 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001424/0.9651, allocations: 130.5 kB / 0.6506 GB, free: 135.1 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006009/0.9657, allocations: 335.7 kB / 0.6509 GB, free: 135.1 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004114/0.9698, allocations: 1.302 MB / 0.6522 GB, free: 135.1 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001809/0.9716, allocations: 2.197 MB / 0.6544 GB, free: 133.9 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003557/0.9752, allocations: 159.1 kB / 0.6545 GB, free: 133.9 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004641/0.9757, allocations: 352.7 kB / 0.6548 GB, free: 133.9 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.0005549/0.9762, allocations: 416.1 kB / 0.6552 GB, free: 133.8 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003663/0.9766, allocations: 280.5 kB / 0.6555 GB, free: 133.8 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003938/0.9805, allocations: 2.232 MB / 0.6577 GB, free: 133.7 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.101e-05/0.9806, allocations: 10.16 kB / 0.6577 GB, free: 133.7 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.057e-06/0.9806, allocations: 3.875 kB / 0.6577 GB, free: 133.7 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.13e-05/0.9806, allocations: 8.172 kB / 0.6577 GB, free: 133.7 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008996/0.9896, allocations: 5.281 MB / 0.6629 GB, free: 133.4 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.245e-05/0.9897, allocations: 3.812 kB / 0.6629 GB, free: 133.4 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008934/0.9906, allocations: 169.5 kB / 0.663 GB, free: 133.4 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001982/0.9926, allocations: 0.6525 MB / 0.6637 GB, free: 133.4 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001397/0.9927, allocations: 3.938 kB / 0.6637 GB, free: 133.4 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004529/0.9973, allocations: 4.205 MB / 0.6678 GB, free: 132.1 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.488e-06/0.9973, allocations: 5.281 kB / 0.6678 GB, free: 132.1 MB / 426.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.005745/1.003, allocations: 4.373 MB / 0.6721 GB, free: 131.5 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007416/1.004, allocations: 331 kB / 0.6724 GB, free: 131.4 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003733/1.004, allocations: 2.312 kB / 0.6724 GB, free: 131.4 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001076/1.005, allocations: 33.98 kB / 0.6724 GB, free: 131.4 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000148/1.005, allocations: 63.47 kB / 0.6725 GB, free: 131.4 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.474e-05/1.006, allocations: 30.59 kB / 0.6725 GB, free: 131.4 MB / 426.7 MB Notification: Performance of sort global known variables: time 0.002704/1.008, allocations: 1.893 MB / 0.6743 GB, free: 131.3 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.004088/1.012, allocations: 0.7097 MB / 0.675 GB, free: 131.3 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.0003286/1.013, allocations: 146.8 kB / 0.6752 GB, free: 131.2 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0049/1.018, allocations: 3.884 MB / 0.679 GB, free: 131.1 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 4.939e-06/1.018, allocations: 0 / 0.679 GB, free: 131.1 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001223/1.019, allocations: 1.08 MB / 0.68 GB, free: 131 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001404/1.02, allocations: 289.1 kB / 0.6803 GB, free: 131 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009535/1.03, allocations: 5.964 MB / 0.6861 GB, free: 129.8 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003116/1.033, allocations: 3.09 MB / 0.6891 GB, free: 129 MB / 426.7 MB Notification: Performance of SimCode: time 9.91e-07/1.033, allocations: 3.469 kB / 0.6891 GB, free: 129 MB / 426.7 MB Notification: Performance of Templates: time 0.05441/1.087, allocations: 28.34 MB / 0.7168 GB, free: 122.1 MB / 426.7 MB make -j1 -f Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant.makefile (rm -f Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant.pipe ; mkfifo Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant.pipe >> ../files/Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant.sim & ./Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/MultiBody/Examples/Elementary/InitSpringConstant/InitSpringConstant.csv","../files/Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches