Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_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_cpp_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_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00224/0.002239, allocations: 181.6 kB / 13.66 MB, free: 1.664 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.092/2.092, allocations: 205.2 MB / 219.4 MB, free: 14.29 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001072/0.001072, allocations: 94.62 kB / 267.5 MB, free: 14.12 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.015e-05/3.028e-05, allocations: 7.984 kB / 321.5 MB, free: 17.86 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09462/0.09467, allocations: 47.57 MB / 369.1 MB, free: 2.219 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4409/0.5357, allocations: 97.67 MB / 466.8 MB, free: 11.79 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003045/0.5361, allocations: 87.52 kB / 466.8 MB, free: 11.75 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3085/0.8445, allocations: 73.2 MB / 0.5274 GB, free: 3.734 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.964e-06/0.8446, allocations: 0 / 0.5274 GB, free: 3.734 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0002387/0.8449, allocations: 71.98 kB / 0.5275 GB, free: 3.664 MB / 410.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.01303/0.8579, allocations: 3.401 MB / 0.5308 GB, free: 208 kB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.416e-05/0.858, allocations: 15.97 kB / 0.5308 GB, free: 192 kB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.3012/1.159, allocations: 2.082 MB / 0.5328 GB, free: 94.37 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01707/1.176, allocations: 4.045 MB / 0.5368 GB, free: 94.07 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003775/1.177, allocations: 263.9 kB / 0.537 GB, free: 94.07 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002093/1.179, allocations: 355.6 kB / 0.5374 GB, free: 94.06 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02743/1.206, allocations: 8.923 MB / 0.5461 GB, free: 91.44 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002874/1.207, allocations: 60.94 kB / 0.5461 GB, free: 91.43 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001644/1.208, allocations: 172.7 kB / 0.5463 GB, free: 91.43 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002338/1.211, allocations: 0.8869 MB / 0.5472 GB, free: 91.43 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02131/1.232, allocations: 7.17 MB / 0.5542 GB, free: 91.32 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05894/1.291, allocations: 42.96 MB / 0.5961 GB, free: 59.71 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01225/1.303, allocations: 3.284 MB / 0.5993 GB, free: 58.31 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00299/1.306, allocations: 1.441 MB / 0.6007 GB, free: 57.69 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009933/1.316, allocations: 4.435 MB / 0.6051 GB, free: 55.04 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.023e-05/1.317, allocations: 48.25 kB / 0.6051 GB, free: 54.99 MB / 410.7 MB Notification: Performance of pre-optimization done (n=121): time 6.321e-06/1.317, allocations: 0 / 0.6051 GB, free: 54.99 MB / 410.7 MB Notification: Performance of matching and sorting (n=129): time 0.0391/1.356, allocations: 9.651 MB / 0.6145 GB, free: 51.01 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.202e-05/1.356, allocations: 152.2 kB / 0.6147 GB, free: 50.84 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007901/1.364, allocations: 3.291 MB / 0.6179 GB, free: 49.62 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003554/1.364, allocations: 51.83 kB / 0.6179 GB, free: 49.57 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002354/1.366, allocations: 2.692 MB / 0.6206 GB, free: 47.42 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000908/1.367, allocations: 0.5207 MB / 0.6211 GB, free: 47.06 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000675/1.368, allocations: 103.9 kB / 0.6212 GB, free: 46.98 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0003862/1.369, allocations: 0.5332 MB / 0.6217 GB, free: 46.57 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00431/1.373, allocations: 1.643 MB / 0.6233 GB, free: 45.19 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006469/1.379, allocations: 5.061 MB / 0.6282 GB, free: 38.65 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006364/1.386, allocations: 2.867 MB / 0.631 GB, free: 36.18 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001153/1.386, allocations: 36 kB / 0.6311 GB, free: 36.14 MB / 410.7 MB Notification: Performance of matching and sorting (n=694) (initialization): time 0.0171/1.403, allocations: 6.502 MB / 0.6374 GB, free: 30.39 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.949e-05/1.403, allocations: 67.06 kB / 0.6375 GB, free: 30.33 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001704/1.403, allocations: 120 kB / 0.6376 GB, free: 30.21 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009389/1.404, allocations: 340.2 kB / 0.6379 GB, free: 29.92 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007896/1.412, allocations: 1.279 MB / 0.6392 GB, free: 28.81 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003247/1.416, allocations: 2.305 MB / 0.6414 GB, free: 26.57 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006006/1.422, allocations: 285 kB / 0.6417 GB, free: 26.31 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009945/1.423, allocations: 331.7 kB / 0.642 GB, free: 25.99 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 557 * 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 (666): * Single equations (assignments): 662 * 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.0009437/1.424, allocations: 0.5158 MB / 0.6425 GB, free: 25.47 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007629/1.424, allocations: 315.9 kB / 0.6428 GB, free: 25.16 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007243/1.432, allocations: 2.347 MB / 0.6451 GB, free: 23.33 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.705e-05/1.432, allocations: 23.95 kB / 0.6451 GB, free: 23.31 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.389e-05/1.432, allocations: 4 kB / 0.6451 GB, free: 23.3 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.201e-05/1.432, allocations: 8.438 kB / 0.6452 GB, free: 23.3 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01912/1.451, allocations: 5.936 MB / 0.6509 GB, free: 18.59 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.533e-05/1.451, allocations: 4.062 kB / 0.651 GB, free: 18.59 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001662/1.453, allocations: 179.6 kB / 0.6511 GB, free: 18.44 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003818/1.457, allocations: 0.7137 MB / 0.6518 GB, free: 17.97 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002895/1.457, allocations: 20 kB / 0.6518 GB, free: 17.95 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008747/1.466, allocations: 4.43 MB / 0.6562 GB, free: 13.96 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.509e-06/1.466, allocations: 0 / 0.6562 GB, free: 13.96 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01128/1.477, allocations: 4.434 MB / 0.6605 GB, free: 10.11 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002013/1.479, allocations: 0.5322 MB / 0.661 GB, free: 9.598 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001035/1.48, allocations: 16 kB / 0.661 GB, free: 9.582 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002736/1.483, allocations: 76.53 kB / 0.6611 GB, free: 9.531 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004813/1.484, allocations: 70.3 kB / 0.6612 GB, free: 9.488 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001449/1.484, allocations: 31.42 kB / 0.6612 GB, free: 9.461 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.006204/1.49, allocations: 2.293 MB / 0.6634 GB, free: 7.445 MB / 410.7 MB Notification: Performance of sort global known variables: time 8.81e-07/1.49, allocations: 0 / 0.6634 GB, free: 7.445 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.006396/1.496, allocations: 0.8234 MB / 0.6642 GB, free: 6.629 MB / 410.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 (96): * Single equations (assignments): 92 * 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.0007507/1.497, allocations: 161.4 kB / 0.6644 GB, free: 6.477 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.009128/1.506, allocations: 3.963 MB / 0.6683 GB, free: 2.633 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 7.674e-06/1.506, allocations: 0 / 0.6683 GB, free: 2.633 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0024/1.509, allocations: 1.094 MB / 0.6693 GB, free: 1.531 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003122/1.512, allocations: 361.2 kB / 0.6697 GB, free: 1.188 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0202/1.532, allocations: 6.31 MB / 0.6758 GB, free: 10.87 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007016/1.539, allocations: 2.869 MB / 0.6786 GB, free: 7.988 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001516/1.541, allocations: 247.4 kB / 0.6789 GB, free: 7.746 MB / 426.7 MB Notification: Performance of SimCode: time 1.493e-06/1.541, allocations: 0 / 0.6789 GB, free: 7.746 MB / 426.7 MB Notification: Performance of Templates: time 0.4108/1.952, allocations: 61.62 MB / 0.7391 GB, free: 84.44 MB / 426.7 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant.sim & ./Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant_res.mat","/var/lib/jenkins1/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_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches