Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.PendulumWithSpringDamper.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.PendulumWithSpringDamper,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|prismatic.s|prismatic.v|revolute.phi|revolute.w",fileNamePrefix="Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.PendulumWithSpringDamper") translateModel(Modelica.Mechanics.MultiBody.Examples.Elementary.PendulumWithSpringDamper,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|prismatic.s|prismatic.v|revolute.phi|revolute.w",fileNamePrefix="Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.PendulumWithSpringDamper") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009251/0.0009252, allocations: 169.8 kB / 16.72 MB, free: 5.051 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.337/1.337, allocations: 205.4 MB / 222.9 MB, free: 9.012 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.0007045/0.0007046, allocations: 89.53 kB / 271.2 MB, free: 8.258 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003209/0.0003209, allocations: 8 kB / 327.5 MB, free: 15.9 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3051/0.3054, allocations: 47.58 MB / 375.1 MB, free: 45.42 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.PendulumWithSpringDamper): time 0.02702/0.3325, allocations: 31.45 MB / 406.5 MB, free: 17.19 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0197/0.3523, allocations: 7.446 MB / 414 MB, free: 9.719 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00945/0.3618, allocations: 147.6 kB / 414.1 MB, free: 9.574 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.006244/0.368, allocations: 1.582 MB / 415.7 MB, free: 7.984 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01768/0.3858, allocations: 4.864 MB / 420.6 MB, free: 3.102 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003971/0.3898, allocations: 0.624 MB / 421.2 MB, free: 2.477 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.007052/0.3969, allocations: 3.864 MB / 425.1 MB, free: 14.6 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006832/0.4038, allocations: 3.603 MB / 428.7 MB, free: 10.93 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003036/0.4068, allocations: 1.059 MB / 429.7 MB, free: 9.867 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003276/0.4102, allocations: 1.659 MB / 431.4 MB, free: 8.203 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001086/0.4113, allocations: 120 kB / 431.5 MB, free: 8.086 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003157/0.4145, allocations: 1.034 MB / 432.5 MB, free: 7.051 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002568/0.4171, allocations: 1.399 MB / 433.9 MB, free: 5.648 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.003791/0.4209, allocations: 1.617 MB / 435.6 MB, free: 4.016 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.008124/0.429, allocations: 4.494 MB / 440.1 MB, free: 15.51 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.145e-05/0.4291, allocations: 0 / 440.1 MB, free: 15.51 MB / 330.7 MB Notification: Performance of FrontEnd: time 4.168e-06/0.4291, allocations: 0 / 440.1 MB, free: 15.51 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.0004147/0.4296, allocations: 0 / 440.1 MB, free: 15.51 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1349 * Number of variables: 1349 Notification: Performance of Generate backend data structure: time 0.01079/0.4404, allocations: 3.392 MB / 443.4 MB, free: 12.05 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.021e-05/0.4404, allocations: 8.031 kB / 443.5 MB, free: 12.04 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0081/0.4486, allocations: 1.899 MB / 445.3 MB, free: 10.14 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00703/0.4557, allocations: 1.925 MB / 447.3 MB, free: 8.164 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003255/0.456, allocations: 217.2 kB / 447.5 MB, free: 7.949 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001487/0.4575, allocations: 271.8 kB / 447.8 MB, free: 7.684 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02362/0.4812, allocations: 9.966 MB / 457.7 MB, free: 13.04 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001861/0.4814, allocations: 39.59 kB / 457.8 MB, free: 13 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008911/0.4823, allocations: 131.9 kB / 457.9 MB, free: 12.88 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003337/0.4857, allocations: 1.864 MB / 459.7 MB, free: 11.01 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02065/0.5064, allocations: 8.513 MB / 468.3 MB, free: 2.488 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3002/0.8066, allocations: 36.84 MB / 0.4933 GB, free: 85.86 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009934/0.8166, allocations: 3.862 MB / 0.497 GB, free: 84.91 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003138/0.8198, allocations: 1.806 MB / 0.4988 GB, free: 84.87 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01264/0.8325, allocations: 7.538 MB / 0.5062 GB, free: 81.52 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.223e-05/0.8326, allocations: 51.81 kB / 0.5062 GB, free: 81.47 MB / 378.7 MB Notification: Performance of pre-optimization done (n=150): time 4.628e-06/0.8326, allocations: 0 / 0.5062 GB, free: 81.47 MB / 378.7 MB Notification: Performance of matching and sorting (n=166): time 0.04606/0.8787, allocations: 17.39 MB / 0.5232 GB, free: 69.59 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.698e-05/0.8788, allocations: 147 kB / 0.5233 GB, free: 69.42 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004672/0.8835, allocations: 3.47 MB / 0.5267 GB, free: 65.95 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004346/0.8839, allocations: 45.7 kB / 0.5268 GB, free: 65.89 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001284/0.8852, allocations: 2.741 MB / 0.5294 GB, free: 63.16 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000574/0.8858, allocations: 0.6457 MB / 0.5301 GB, free: 62.52 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002186/0.886, allocations: 104 kB / 0.5302 GB, free: 62.42 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0002391/0.8863, allocations: 0.5415 MB / 0.5307 GB, free: 61.87 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002358/0.8887, allocations: 1.934 MB / 0.5326 GB, free: 59.93 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003721/0.8924, allocations: 5.35 MB / 0.5378 GB, free: 53 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007637/0.9001, allocations: 7.902 MB / 0.5455 GB, free: 43.59 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001173/0.9002, allocations: 36 kB / 0.5456 GB, free: 43.55 MB / 378.7 MB Notification: Performance of matching and sorting (n=728) (initialization): time 0.01609/0.9163, allocations: 8.139 MB / 0.5535 GB, free: 35.4 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001023/0.9165, allocations: 56 kB / 0.5536 GB, free: 35.35 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000162/0.9167, allocations: 120 kB / 0.5537 GB, free: 35.23 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003891/0.9206, allocations: 1.306 MB / 0.555 GB, free: 33.92 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004001/0.9246, allocations: 1.255 MB / 0.5562 GB, free: 32.66 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007778/0.9324, allocations: 6.096 MB / 0.5621 GB, free: 26.45 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005645/0.9381, allocations: 303.5 kB / 0.5624 GB, free: 26.15 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00118/0.9393, allocations: 350.9 kB / 0.5628 GB, free: 25.81 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 552 * Number of states: 0 () * Number of discrete variables: 36 (prismatic.boxColor[3],prismatic.boxColor[2],prismatic.boxColor[1],revolute.cylinderColor[3],revolute.cylinderColor[2],revolute.cylinderColor[1],damper1.color_b[3],damper1.color_b[2],damper1.color_b[1],damper1.color_a[3],damper1.color_a[2],damper1.color_a[1],spring1.color[3],spring1.color[2],spring1.color[1],spring1.massColor[3],spring1.massColor[2],spring1.massColor[1],bar1.color[3],bar1.color[2],bar1.color[1],body1.sphereColor[3],body1.sphereColor[2],body1.sphereColor[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 (685): * Single equations (assignments): 681 * 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 {(3,88.9%) 17} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.004706/0.9441, allocations: 1.807 MB / 0.5645 GB, free: 23.99 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007213/0.9448, allocations: 300.1 kB / 0.5648 GB, free: 23.7 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006816/0.9516, allocations: 3.367 MB / 0.5681 GB, free: 20.31 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.427e-05/0.9517, allocations: 20 kB / 0.5681 GB, free: 20.29 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.917e-05/0.9517, allocations: 8 kB / 0.5681 GB, free: 20.29 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.864e-05/0.9517, allocations: 7.969 kB / 0.5681 GB, free: 20.28 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01757/0.9693, allocations: 7.593 MB / 0.5755 GB, free: 12.63 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.772e-05/0.9694, allocations: 0 / 0.5755 GB, free: 12.63 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001358/0.9708, allocations: 239.7 kB / 0.5758 GB, free: 12.4 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003519/0.9743, allocations: 1.12 MB / 0.5769 GB, free: 11.27 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003569/0.9747, allocations: 34.56 kB / 0.5769 GB, free: 11.24 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007416/0.9821, allocations: 5.715 MB / 0.5825 GB, free: 5.391 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.777e-06/0.9822, allocations: 3.938 kB / 0.5825 GB, free: 5.387 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009751/0.9919, allocations: 5.689 MB / 0.588 GB, free: 15.68 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002243/0.9942, allocations: 0.5828 MB / 0.5886 GB, free: 15.07 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009825/0.9953, allocations: 31.94 kB / 0.5886 GB, free: 15.04 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001994/0.9973, allocations: 95.91 kB / 0.5887 GB, free: 14.95 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003725/0.9977, allocations: 92.88 kB / 0.5888 GB, free: 14.86 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001707/0.9979, allocations: 44 kB / 0.5889 GB, free: 14.82 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.00589/1.004, allocations: 2.138 MB / 0.591 GB, free: 12.69 MB / 394.7 MB Notification: Performance of sort global known variables: time 7.42e-07/1.004, allocations: 0 / 0.591 GB, free: 12.69 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.006767/1.011, allocations: 0.9211 MB / 0.5919 GB, free: 11.77 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 4 (revolute.phi,revolute.w,prismatic.s,prismatic.v) * 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 (129): * Single equations (assignments): 125 * 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 {(2,100.0%) 15} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007993/1.011, allocations: 165.1 kB / 0.592 GB, free: 11.61 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.01107/1.022, allocations: 4.76 MB / 0.5967 GB, free: 6.859 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 9.287e-06/1.023, allocations: 0 / 0.5967 GB, free: 6.859 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00312/1.026, allocations: 1.531 MB / 0.5982 GB, free: 5.316 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00466/1.03, allocations: 347.2 kB / 0.5985 GB, free: 4.977 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02133/1.052, allocations: 9.902 MB / 0.6082 GB, free: 11.03 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003687/1.056, allocations: 2.855 MB / 0.6109 GB, free: 8.141 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001091/1.057, allocations: 259.4 kB / 0.6112 GB, free: 7.887 MB / 410.7 MB Notification: Performance of SimCode: time 1.162e-06/1.057, allocations: 0 / 0.6112 GB, free: 7.887 MB / 410.7 MB Notification: Performance of Templates: time 0.2649/1.322, allocations: 65.16 MB / 0.6748 GB, free: 173.3 MB / 458.7 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.PendulumWithSpringDamper.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.PendulumWithSpringDamper.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.PendulumWithSpringDamper.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.PendulumWithSpringDamper.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.PendulumWithSpringDamper.sim & ./Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.PendulumWithSpringDamper --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.PendulumWithSpringDamper.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.PendulumWithSpringDamper_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Mechanics/MultiBody/Examples/Elementary/PendulumWithSpringDamper/PendulumWithSpringDamper.csv","../files/Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.PendulumWithSpringDamper.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches