Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant.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) 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(Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|rev.phi|rev.w",fileNamePrefix="Modelica_trunk_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_trunk_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 trunk/package.mo): time 0.001808/0.001808, allocations: 196 kB / 8.535 MB, free: 1.84 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.397/1.397, allocations: 225.5 MB / 234.4 MB, free: 3.281 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001098/0.001098, allocations: 95.88 kB / 286.3 MB, free: 5.305 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 7.895e-06/7.935e-06, allocations: 0 / 343.1 MB, free: 8.664 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1319/0.132, allocations: 51.47 MB / 394.6 MB, free: 5.145 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3513/0.4833, allocations: 99.31 MB / 493.9 MB, free: 10.07 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003462/0.4837, allocations: 81.02 kB / 494 MB, free: 10.03 MB / 362.7 MB Notification: Performance of FrontEnd: time 0.1931/0.6768, allocations: 72.44 MB / 0.5532 GB, free: 6.523 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0002566/0.6772, allocations: 71.98 kB / 0.5532 GB, free: 6.453 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: 1275 * Number of variables: 1275 Notification: Performance of Generate backend data structure: time 0.01451/0.6917, allocations: 3.38 MB / 0.5565 GB, free: 3.016 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.13e-05/0.6918, allocations: 8.031 kB / 0.5565 GB, free: 3.008 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01031/0.7021, allocations: 1.699 MB / 0.5582 GB, free: 1.301 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01193/0.7141, allocations: 3.398 MB / 0.5615 GB, free: 13.84 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003343/0.7145, allocations: 112 kB / 0.5616 GB, free: 13.73 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002416/0.7169, allocations: 211.9 kB / 0.5618 GB, free: 13.52 MB / 442.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01143/0.7284, allocations: 5.269 MB / 0.567 GB, free: 8.25 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2209/0.9493, allocations: 8.186 MB / 0.575 GB, free: 131.8 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001698/0.9495, allocations: 56.97 kB / 0.575 GB, free: 131.8 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005277/0.9501, allocations: 29.47 kB / 0.5751 GB, free: 131.8 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001225/0.9513, allocations: 0.9388 MB / 0.576 GB, free: 131.8 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03787/0.9892, allocations: 41.92 MB / 0.6169 GB, free: 105.1 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002807/0.9921, allocations: 2.569 MB / 0.6194 GB, free: 104.4 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001562/0.9936, allocations: 1.544 MB / 0.6209 GB, free: 104.3 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007375/1.001, allocations: 5.509 MB / 0.6263 GB, free: 102.2 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.767e-05/1.001, allocations: 50.66 kB / 0.6264 GB, free: 102.2 MB / 442.7 MB Notification: Performance of pre-optimization done (n=121): time 4.218e-06/1.001, allocations: 0 / 0.6264 GB, free: 102.2 MB / 442.7 MB Notification: Performance of matching and sorting (n=130): time 0.01873/1.02, allocations: 10.79 MB / 0.6369 GB, free: 97.62 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.635e-05/1.02, allocations: 139.4 kB / 0.637 GB, free: 97.47 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004186/1.024, allocations: 2.843 MB / 0.6398 GB, free: 96.43 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002243/1.024, allocations: 25.7 kB / 0.6398 GB, free: 96.4 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001247/1.026, allocations: 2.628 MB / 0.6424 GB, free: 94.39 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005135/1.026, allocations: 0.521 MB / 0.6429 GB, free: 94.02 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001675/1.026, allocations: 0 / 0.6429 GB, free: 94.02 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0002306/1.027, allocations: 0.5443 MB / 0.6434 GB, free: 93.62 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001971/1.029, allocations: 1.637 MB / 0.645 GB, free: 93.07 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003366/1.032, allocations: 5.164 MB / 0.6501 GB, free: 87.7 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003352/1.035, allocations: 2.915 MB / 0.6529 GB, free: 86.68 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.882e-05/1.035, allocations: 35.06 kB / 0.653 GB, free: 86.68 MB / 442.7 MB Notification: Performance of matching and sorting (n=719) (initialization): time 0.009914/1.045, allocations: 6.061 MB / 0.6589 GB, free: 84.6 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.674e-05/1.045, allocations: 13.39 kB / 0.6589 GB, free: 84.6 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001845/1.046, allocations: 129.1 kB / 0.659 GB, free: 84.6 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006511/1.046, allocations: 335 kB / 0.6593 GB, free: 84.56 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00454/1.051, allocations: 1.303 MB / 0.6606 GB, free: 84.4 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002365/1.053, allocations: 2.191 MB / 0.6627 GB, free: 82.82 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004437/1.058, allocations: 172 kB / 0.6629 GB, free: 82.8 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009794/1.059, allocations: 349.9 kB / 0.6632 GB, free: 82.75 MB / 442.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.0008418/1.059, allocations: 418.1 kB / 0.6636 GB, free: 82.41 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005517/1.06, allocations: 283.2 kB / 0.6639 GB, free: 82.25 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004553/1.065, allocations: 2.234 MB / 0.6661 GB, free: 81.53 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.481e-05/1.065, allocations: 11.91 kB / 0.6661 GB, free: 81.53 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.398e-05/1.065, allocations: 3.438 kB / 0.6661 GB, free: 81.53 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.339e-05/1.065, allocations: 8.25 kB / 0.6661 GB, free: 81.53 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01012/1.075, allocations: 5.275 MB / 0.6713 GB, free: 79.69 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.855e-06/1.075, allocations: 0 / 0.6713 GB, free: 79.69 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008923/1.076, allocations: 173.6 kB / 0.6714 GB, free: 79.67 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001985/1.078, allocations: 0.6473 MB / 0.6721 GB, free: 79.54 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001087/1.078, allocations: 6.531 kB / 0.6721 GB, free: 79.54 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004676/1.082, allocations: 4.212 MB / 0.6762 GB, free: 77.17 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.041e-06/1.083, allocations: 7.438 kB / 0.6762 GB, free: 77.17 MB / 442.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.00589/1.088, allocations: 4.375 MB / 0.6805 GB, free: 75.33 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009006/1.089, allocations: 330.2 kB / 0.6808 GB, free: 75.07 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004027/1.09, allocations: 7.156 kB / 0.6808 GB, free: 75.06 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001117/1.091, allocations: 35.19 kB / 0.6808 GB, free: 75.06 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001538/1.091, allocations: 53.97 kB / 0.6809 GB, free: 75.05 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001073/1.091, allocations: 33.06 kB / 0.6809 GB, free: 75.04 MB / 442.7 MB Notification: Performance of sort global known variables: time 0.002824/1.094, allocations: 1.893 MB / 0.6827 GB, free: 74.35 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.005686/1.1, allocations: 0.7074 MB / 0.6834 GB, free: 74.35 MB / 442.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.000561/1.1, allocations: 154.1 kB / 0.6836 GB, free: 74.24 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.007615/1.108, allocations: 3.879 MB / 0.6874 GB, free: 72.9 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 7.825e-06/1.108, allocations: 4.719 kB / 0.6874 GB, free: 72.9 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001305/1.109, allocations: 1.073 MB / 0.6884 GB, free: 72.46 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002109/1.111, allocations: 292.2 kB / 0.6887 GB, free: 72.32 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01396/1.125, allocations: 5.972 MB / 0.6945 GB, free: 70.19 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003932/1.129, allocations: 3.086 MB / 0.6976 GB, free: 68.09 MB / 442.7 MB Notification: Performance of SimCode: time 1.263e-06/1.129, allocations: 0 / 0.6976 GB, free: 68.09 MB / 442.7 MB Notification: Performance of Templates: time 0.05803/1.187, allocations: 28.34 MB / 0.7252 GB, free: 49.3 MB / 442.7 MB make -j1 -f Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant.makefile (rm -f Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant.pipe ; mkfifo Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant.pipe >> ../files/Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant.sim & ./Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant.pipe 2>&1) diffSimulationResults("Modelica_trunk_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_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches