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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) 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 3.2.3+maint.om/package.mo", uses=false) 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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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_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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001242/0.001242, allocations: 99.02 kB / 17.58 MB, free: 5.418 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001302/0.001302, allocations: 192 kB / 18.51 MB, free: 4.508 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.371/1.371, allocations: 205.1 MB / 224.4 MB, free: 12.31 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001354/0.001354, allocations: 47.94 kB / 280.7 MB, free: 3.176 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09048/0.09185, allocations: 46.63 MB / 327.3 MB, free: 4.477 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant): time 0.01235/0.1042, allocations: 10.23 MB / 337.5 MB, free: 10.18 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.008271/0.1125, allocations: 3.787 MB / 341.3 MB, free: 6.383 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001704/0.1144, allocations: 63.81 kB / 341.4 MB, free: 6.32 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004154/0.1185, allocations: 1.935 MB / 343.3 MB, free: 4.379 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004235/0.1228, allocations: 1.657 MB / 345 MB, free: 2.715 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001503/0.1243, allocations: 0.6082 MB / 345.6 MB, free: 2.105 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.004368/0.1287, allocations: 3.35 MB / 348.9 MB, free: 14.75 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0032/0.1319, allocations: 2.584 MB / 351.5 MB, free: 12.11 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002143/0.1341, allocations: 1.246 MB / 352.7 MB, free: 10.86 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002609/0.1367, allocations: 1.67 MB / 354.4 MB, free: 9.188 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008812/0.1376, allocations: 252 kB / 354.7 MB, free: 8.941 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00238/0.14, allocations: 1.026 MB / 355.7 MB, free: 7.914 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001919/0.1419, allocations: 1.562 MB / 357.2 MB, free: 6.348 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002954/0.1449, allocations: 1.833 MB / 359.1 MB, free: 4.504 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007416/0.1523, allocations: 5.611 MB / 364.7 MB, free: 14.88 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.871e-06/0.1524, allocations: 0 / 364.7 MB, free: 14.88 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.483e-06/0.1524, allocations: 0 / 364.7 MB, free: 14.88 MB / 318.1 MB Notification: Performance of Transformations before backend: time 0.0001119/0.1525, allocations: 0 / 364.7 MB, free: 14.88 MB / 318.1 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.006759/0.1593, allocations: 4.03 MB / 368.7 MB, free: 10.78 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.731e-05/0.1593, allocations: 11.89 kB / 368.7 MB, free: 10.77 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006108/0.1654, allocations: 1.778 MB / 370.5 MB, free: 8.98 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003292/0.1687, allocations: 1.971 MB / 372.5 MB, free: 6.949 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001317/0.1689, allocations: 192.8 kB / 372.7 MB, free: 6.758 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004406/0.1693, allocations: 247.9 kB / 372.9 MB, free: 6.516 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1872/0.3566, allocations: 8.421 MB / 381.3 MB, free: 47.75 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001524/0.3568, allocations: 42.14 kB / 381.4 MB, free: 47.73 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004143/0.3572, allocations: 125.4 kB / 381.5 MB, free: 47.73 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003331/0.3605, allocations: 1.701 MB / 383.2 MB, free: 47.62 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01362/0.3742, allocations: 7.097 MB / 390.3 MB, free: 45.43 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03271/0.4069, allocations: 34.17 MB / 424.5 MB, free: 16.03 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006447/0.4134, allocations: 3.27 MB / 427.7 MB, free: 12.6 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001553/0.415, allocations: 1.454 MB / 429.2 MB, free: 11.13 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005457/0.4205, allocations: 4.378 MB / 433.6 MB, free: 6.566 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.602e-05/0.4205, allocations: 43.12 kB / 433.6 MB, free: 6.516 MB / 318.1 MB Notification: Performance of pre-optimization done (n=121): time 3.927e-06/0.4205, allocations: 0 / 433.6 MB, free: 6.516 MB / 318.1 MB Notification: Performance of matching and sorting (n=129): time 0.02592/0.4465, allocations: 11.54 MB / 445.1 MB, free: 10.84 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.49e-05/0.4466, allocations: 149.2 kB / 445.3 MB, free: 10.67 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005176/0.4517, allocations: 3.717 MB / 449 MB, free: 6.957 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002324/0.452, allocations: 45.7 kB / 449.1 MB, free: 6.906 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002149/0.4542, allocations: 2.757 MB / 451.8 MB, free: 4.109 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005875/0.4548, allocations: 0.521 MB / 452.3 MB, free: 3.582 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001219/0.456, allocations: 1.075 MB / 453.4 MB, free: 2.496 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.000104/0.4561, allocations: 313.1 kB / 453.7 MB, free: 2.188 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002328/0.4584, allocations: 1.705 MB / 455.4 MB, free: 488 kB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004493/0.4629, allocations: 5.124 MB / 460.5 MB, free: 9.621 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007567/0.4705, allocations: 7.411 MB / 467.9 MB, free: 0.5 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.441e-05/0.4706, allocations: 36 kB / 468 MB, free: 476 kB / 350.1 MB Notification: Performance of matching and sorting (n=696) (initialization): time 0.009987/0.4806, allocations: 6.73 MB / 474.7 MB, free: 9.723 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.208e-05/0.4807, allocations: 59.94 kB / 474.8 MB, free: 9.664 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001357/0.4809, allocations: 124.1 kB / 474.9 MB, free: 9.543 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005699/0.4814, allocations: 320.7 kB / 475.2 MB, free: 9.227 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003377/0.4848, allocations: 1.24 MB / 476.4 MB, free: 7.984 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002597/0.4874, allocations: 2.505 MB / 479 MB, free: 5.34 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0034/0.4908, allocations: 287.5 kB / 479.2 MB, free: 5.059 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005256/0.4914, allocations: 332 kB / 479.6 MB, free: 4.734 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 555 * 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 (668): * Single equations (assignments): 664 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.00291/0.4943, allocations: 1.787 MB / 481.3 MB, free: 2.934 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006693/0.495, allocations: 308 kB / 481.6 MB, free: 2.629 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004651/0.4996, allocations: 2.37 MB / 484 MB, free: 252 kB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.12e-05/0.4997, allocations: 19.91 kB / 484 MB, free: 236 kB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.222e-05/0.4997, allocations: 4 kB / 484 MB, free: 232 kB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.37e-05/0.4997, allocations: 3.984 kB / 484 MB, free: 228 kB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01038/0.5101, allocations: 5.933 MB / 490 MB, free: 10.22 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-05/0.5102, allocations: 0 / 490 MB, free: 10.22 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008043/0.511, allocations: 175.7 kB / 490.1 MB, free: 10.05 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002126/0.5131, allocations: 0.7118 MB / 490.9 MB, free: 9.336 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.563e-05/0.5132, allocations: 24 kB / 490.9 MB, free: 9.312 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006086/0.5193, allocations: 4.822 MB / 495.7 MB, free: 4.348 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.477e-06/0.5194, allocations: 0 / 495.7 MB, free: 4.348 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006692/0.5261, allocations: 4.321 MB / 0.4883 GB, free: 15.99 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001229/0.5273, allocations: 0.5242 MB / 0.4888 GB, free: 15.45 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003252/0.5276, allocations: 27.98 kB / 0.4888 GB, free: 15.42 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009989/0.5287, allocations: 71.91 kB / 0.4889 GB, free: 15.35 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002282/0.5289, allocations: 60.58 kB / 0.489 GB, free: 15.29 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.536e-05/0.529, allocations: 39.98 kB / 0.489 GB, free: 15.25 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.003368/0.5324, allocations: 2.327 MB / 0.4913 GB, free: 12.94 MB / 398.1 MB Notification: Performance of sort global known variables: time 2.3e-07/0.5324, allocations: 0 / 0.4913 GB, free: 12.94 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.004036/0.5364, allocations: 0.8217 MB / 0.4921 GB, free: 12.12 MB / 398.1 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,11,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003587/0.5368, allocations: 149.7 kB / 0.4922 GB, free: 11.96 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.006897/0.5437, allocations: 4.418 MB / 0.4965 GB, free: 7.578 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 6.382e-06/0.5437, allocations: 4 kB / 0.4965 GB, free: 7.574 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001493/0.5452, allocations: 1.104 MB / 0.4976 GB, free: 6.457 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002089/0.5473, allocations: 393.1 kB / 0.498 GB, free: 6.074 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01109/0.5584, allocations: 7.381 MB / 0.5052 GB, free: 14.66 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002736/0.5612, allocations: 2.785 MB / 0.5079 GB, free: 11.85 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.003822/0.5651, allocations: 1.66 MB / 0.5095 GB, free: 10.19 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005293/0.5656, allocations: 203.4 kB / 0.5097 GB, free: 9.988 MB / 414.1 MB Notification: Performance of SimCode: time 8.02e-07/0.5656, allocations: 0 / 0.5097 GB, free: 9.988 MB / 414.1 MB Notification: Performance of Templates: time 0.2306/0.7962, allocations: 31.01 MB / 0.54 GB, free: 136.7 MB / 430.1 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches