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.001528/0.001528, allocations: 185.9 kB / 16.4 MB, free: 5.75 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.905/1.905, allocations: 205.4 MB / 222.5 MB, free: 9.121 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.001144/0.001144, allocations: 92.16 kB / 270.9 MB, free: 8.355 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003911/0.0003911, allocations: 12 kB / 327 MB, free: 184 kB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3244/0.3248, allocations: 47.56 MB / 374.5 MB, free: 45.41 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1989/0.5238, allocations: 97.76 MB / 472.3 MB, free: 14.96 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004564/0.5243, allocations: 91.95 kB / 472.4 MB, free: 14.87 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6722/1.196, allocations: 73.16 MB / 0.5328 GB, free: 83.5 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.966e-06/1.197, allocations: 3.938 kB / 0.5328 GB, free: 83.49 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0002072/1.197, allocations: 71.98 kB / 0.5328 GB, free: 83.42 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.01349/1.21, allocations: 3.622 MB / 0.5364 GB, free: 79.73 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.91e-05/1.21, allocations: 12.02 kB / 0.5364 GB, free: 79.72 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01579/1.226, allocations: 2.085 MB / 0.5384 GB, free: 77.63 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01461/1.241, allocations: 4.065 MB / 0.5424 GB, free: 73.5 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002095/1.241, allocations: 266.9 kB / 0.5426 GB, free: 73.24 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001449/1.243, allocations: 355.8 kB / 0.543 GB, free: 72.89 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02194/1.264, allocations: 8.986 MB / 0.5518 GB, free: 62.91 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002004/1.265, allocations: 51.56 kB / 0.5518 GB, free: 62.86 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009543/1.266, allocations: 171.9 kB / 0.552 GB, free: 62.69 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001708/1.267, allocations: 0.8878 MB / 0.5528 GB, free: 61.8 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02095/1.288, allocations: 7.269 MB / 0.5599 GB, free: 54.53 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05777/1.346, allocations: 42.98 MB / 0.6019 GB, free: 10.16 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01231/1.359, allocations: 3.299 MB / 0.6051 GB, free: 6.699 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01019/1.369, allocations: 4.432 MB / 0.6095 GB, free: 2.059 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.433e-05/1.369, allocations: 51.08 kB / 0.6095 GB, free: 2 MB / 378.7 MB Notification: Performance of pre-optimization done (n=121): time 6.473e-06/1.369, allocations: 0 / 0.6095 GB, free: 2 MB / 378.7 MB Notification: Performance of matching and sorting (n=129): time 0.05116/1.42, allocations: 11.66 MB / 0.6209 GB, free: 6.137 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.264e-05/1.42, allocations: 141.2 kB / 0.621 GB, free: 5.969 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009427/1.43, allocations: 3.338 MB / 0.6243 GB, free: 2.641 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003993/1.43, allocations: 41.7 kB / 0.6243 GB, free: 2.594 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003349/1.434, allocations: 2.709 MB / 0.627 GB, free: 15.85 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001034/1.435, allocations: 0.5132 MB / 0.6275 GB, free: 15.33 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008159/1.436, allocations: 104 kB / 0.6276 GB, free: 15.23 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0005289/1.436, allocations: 0.5378 MB / 0.6281 GB, free: 14.68 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005185/1.441, allocations: 1.681 MB / 0.6297 GB, free: 12.99 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00888/1.45, allocations: 5.09 MB / 0.6347 GB, free: 6.168 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00788/1.458, allocations: 2.871 MB / 0.6375 GB, free: 3.293 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001242/1.458, allocations: 36 kB / 0.6375 GB, free: 3.258 MB / 410.7 MB Notification: Performance of matching and sorting (n=694) (initialization): time 0.3226/1.781, allocations: 6.561 MB / 0.644 GB, free: 101.3 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001817/1.781, allocations: 57.12 kB / 0.644 GB, free: 101.3 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003298/1.781, allocations: 125.9 kB / 0.6441 GB, free: 101.3 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009878/1.782, allocations: 333.3 kB / 0.6444 GB, free: 101.3 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008228/1.791, allocations: 1.286 MB / 0.6457 GB, free: 101.3 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003909/1.795, allocations: 2.333 MB / 0.648 GB, free: 99.95 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006163/1.801, allocations: 287.2 kB / 0.6483 GB, free: 99.95 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001611/1.803, allocations: 335.5 kB / 0.6486 GB, free: 99.94 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 () * Number of clocked 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.005455/1.808, allocations: 1.796 MB / 0.6503 GB, free: 99.83 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008863/1.809, allocations: 309.5 kB / 0.6506 GB, free: 99.83 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008616/1.818, allocations: 2.36 MB / 0.6529 GB, free: 99.74 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.331e-05/1.818, allocations: 15.44 kB / 0.6529 GB, free: 99.74 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.438e-05/1.818, allocations: 3.906 kB / 0.6529 GB, free: 99.74 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.115e-05/1.818, allocations: 5.953 kB / 0.653 GB, free: 99.74 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01866/1.836, allocations: 5.946 MB / 0.6588 GB, free: 99.34 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.671e-05/1.837, allocations: 7.5 kB / 0.6588 GB, free: 99.34 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001653/1.838, allocations: 170.6 kB / 0.6589 GB, free: 99.34 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003834/1.842, allocations: 0.7158 MB / 0.6596 GB, free: 99.33 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002885/1.842, allocations: 20.97 kB / 0.6596 GB, free: 99.33 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009133/1.852, allocations: 4.556 MB / 0.6641 GB, free: 97.7 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.951e-06/1.852, allocations: 0 / 0.6641 GB, free: 97.7 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01143/1.863, allocations: 4.46 MB / 0.6685 GB, free: 95.96 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001971/1.865, allocations: 0.5345 MB / 0.669 GB, free: 95.64 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009296/1.866, allocations: 18.53 kB / 0.669 GB, free: 95.63 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002364/1.868, allocations: 68.84 kB / 0.6691 GB, free: 95.62 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005127/1.869, allocations: 69.77 kB / 0.6691 GB, free: 95.61 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001451/1.869, allocations: 38.5 kB / 0.6692 GB, free: 95.6 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.006484/1.876, allocations: 2.321 MB / 0.6714 GB, free: 94.82 MB / 410.7 MB Notification: Performance of sort global known variables: time 5.01e-07/1.876, allocations: 0 / 0.6714 GB, free: 94.82 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.006814/1.883, allocations: 0.8314 MB / 0.6722 GB, free: 94.72 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 () * Number of clocked 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.0007008/1.883, allocations: 163.3 kB / 0.6724 GB, free: 94.62 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.009435/1.893, allocations: 4 MB / 0.6763 GB, free: 93.36 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 9.428e-06/1.893, allocations: 0 / 0.6763 GB, free: 93.36 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002513/1.895, allocations: 1.106 MB / 0.6774 GB, free: 92.89 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003109/1.898, allocations: 356.7 kB / 0.6777 GB, free: 92.73 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02095/1.919, allocations: 8.979 MB / 0.6865 GB, free: 88.19 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00617/1.926, allocations: 2.876 MB / 0.6893 GB, free: 86.28 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001366/1.927, allocations: 250.5 kB / 0.6895 GB, free: 86.05 MB / 410.7 MB Notification: Performance of SimCode: time 1.573e-06/1.927, allocations: 3.938 kB / 0.6895 GB, free: 86.05 MB / 410.7 MB Notification: Performance of Templates: time 0.1175/2.045, allocations: 61.62 MB / 0.7497 GB, free: 29.65 MB / 410.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