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.002689/0.002694, allocations: 182.8 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 3.385/3.385, 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.001835/0.001835, allocations: 95.75 kB / 270.9 MB, free: 8.363 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006603/0.0006605, allocations: 12 kB / 327 MB, free: 208 kB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5212/0.5219, allocations: 47.57 MB / 374.5 MB, free: 45.36 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.PendulumWithSpringDamper): time 0.06288/0.5849, allocations: 29.72 MB / 404.2 MB, free: 19.06 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.03251/0.6175, allocations: 7.721 MB / 412 MB, free: 11.32 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01049/0.628, allocations: 143.6 kB / 412.1 MB, free: 11.18 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.007928/0.6361, allocations: 1.427 MB / 413.5 MB, free: 9.746 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.02531/0.6614, allocations: 4.335 MB / 417.9 MB, free: 5.402 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.004643/0.6661, allocations: 0.5616 MB / 418.4 MB, free: 4.84 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.006756/0.673, allocations: 1.953 MB / 420.4 MB, free: 2.883 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.009444/0.6825, allocations: 3.345 MB / 423.7 MB, free: 15.49 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003507/0.6861, allocations: 0.872 MB / 424.6 MB, free: 14.61 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003775/0.6899, allocations: 1.191 MB / 425.8 MB, free: 13.42 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001237/0.6912, allocations: 124 kB / 425.9 MB, free: 13.3 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004318/0.6956, allocations: 0.8465 MB / 426.8 MB, free: 12.45 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.004172/0.6999, allocations: 1.313 MB / 428.1 MB, free: 11.13 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002211/0.7021, allocations: 0.7025 MB / 428.8 MB, free: 10.42 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01288/0.7151, allocations: 4.498 MB / 433.3 MB, free: 5.914 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.871e-06/0.7152, allocations: 0 / 433.3 MB, free: 5.914 MB / 314.7 MB Notification: Performance of FrontEnd: time 3.797e-06/0.7152, allocations: 0 / 433.3 MB, free: 5.914 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0002473/0.7155, allocations: 0 / 433.3 MB, free: 5.914 MB / 314.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.017/0.7325, allocations: 3.498 MB / 436.8 MB, free: 2.352 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.846e-05/0.7326, allocations: 8.031 kB / 436.8 MB, free: 2.344 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02175/0.7543, allocations: 2.245 MB / 439 MB, free: 92 kB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009603/0.764, allocations: 2.058 MB / 441.1 MB, free: 13.98 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004872/0.7646, allocations: 201.2 kB / 441.3 MB, free: 13.78 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002168/0.7668, allocations: 275.8 kB / 441.6 MB, free: 13.51 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04712/0.8139, allocations: 10.07 MB / 451.6 MB, free: 2.762 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002539/0.8143, allocations: 39.59 kB / 451.7 MB, free: 2.723 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001852/0.8161, allocations: 131.9 kB / 451.8 MB, free: 2.594 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.008902/0.8251, allocations: 1.86 MB / 453.6 MB, free: 0.7344 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04843/0.8736, allocations: 8.641 MB / 462.3 MB, free: 8.082 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1082/0.9819, allocations: 37.38 MB / 499.7 MB, free: 1.672 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.4609/1.443, allocations: 6.43 MB / 0.4942 GB, free: 108.2 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02975/1.473, allocations: 8.586 MB / 0.5026 GB, free: 103.9 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.833e-05/1.473, allocations: 63.83 kB / 0.5027 GB, free: 103.8 MB / 378.7 MB Notification: Performance of pre-optimization done (n=150): time 8.636e-06/1.473, allocations: 0 / 0.5027 GB, free: 103.8 MB / 378.7 MB Notification: Performance of matching and sorting (n=166): time 0.1729/1.646, allocations: 23.75 MB / 0.5259 GB, free: 83.93 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.257e-05/1.646, allocations: 149.5 kB / 0.526 GB, free: 83.76 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01077/1.657, allocations: 3.584 MB / 0.5295 GB, free: 80.17 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0006265/1.658, allocations: 49.7 kB / 0.5296 GB, free: 80.12 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003312/1.661, allocations: 2.697 MB / 0.5322 GB, free: 77.43 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.00156/1.662, allocations: 0.6423 MB / 0.5328 GB, free: 76.79 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009525/1.663, allocations: 112 kB / 0.5329 GB, free: 76.68 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0006783/1.664, allocations: 0.5462 MB / 0.5335 GB, free: 76.12 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007761/1.672, allocations: 2.025 MB / 0.5354 GB, free: 74.09 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0111/1.683, allocations: 5.418 MB / 0.5407 GB, free: 66.96 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0109/1.694, allocations: 3.209 MB / 0.5439 GB, free: 63.76 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001543/1.694, allocations: 40 kB / 0.5439 GB, free: 63.72 MB / 378.7 MB Notification: Performance of matching and sorting (n=724) (initialization): time 0.03571/1.73, allocations: 8.21 MB / 0.5519 GB, free: 55.5 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001584/1.73, allocations: 56 kB / 0.552 GB, free: 55.44 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002938/1.731, allocations: 124 kB / 0.5521 GB, free: 55.32 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01023/1.741, allocations: 1.317 MB / 0.5534 GB, free: 54 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01043/1.751, allocations: 1.275 MB / 0.5546 GB, free: 52.73 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0205/1.772, allocations: 6.273 MB / 0.5608 GB, free: 46.33 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009881/1.782, allocations: 323.6 kB / 0.5611 GB, free: 46.02 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001812/1.784, allocations: 337.2 kB / 0.5614 GB, free: 45.69 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 (681): * Single equations (assignments): 677 * 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.007266/1.791, allocations: 1.809 MB / 0.5631 GB, free: 43.87 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001248/1.792, allocations: 320 kB / 0.5635 GB, free: 43.55 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01823/1.811, allocations: 3.584 MB / 0.567 GB, free: 39.95 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.712e-05/1.811, allocations: 16 kB / 0.567 GB, free: 39.93 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.283e-05/1.811, allocations: 8 kB / 0.567 GB, free: 39.93 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.788e-05/1.811, allocations: 7.969 kB / 0.567 GB, free: 39.92 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03686/1.848, allocations: 8 MB / 0.5748 GB, free: 31.87 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.863e-05/1.848, allocations: 0 / 0.5748 GB, free: 31.87 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003429/1.851, allocations: 263.6 kB / 0.575 GB, free: 31.61 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.009613/1.861, allocations: 1.113 MB / 0.5761 GB, free: 30.5 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006268/1.862, allocations: 33.16 kB / 0.5762 GB, free: 30.46 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01788/1.88, allocations: 5.886 MB / 0.5819 GB, free: 24.45 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.212e-06/1.88, allocations: 0 / 0.5819 GB, free: 24.45 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02571/1.905, allocations: 6.13 MB / 0.5879 GB, free: 18.27 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.004354/1.91, allocations: 0.6063 MB / 0.5885 GB, free: 17.64 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001734/1.912, allocations: 27.95 kB / 0.5885 GB, free: 17.62 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004425/1.916, allocations: 112.7 kB / 0.5886 GB, free: 17.51 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001023/1.917, allocations: 85.53 kB / 0.5887 GB, free: 17.42 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003884/1.918, allocations: 47.19 kB / 0.5888 GB, free: 17.38 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.008084/1.926, allocations: 2.236 MB / 0.5909 GB, free: 15.15 MB / 378.7 MB Notification: Performance of sort global known variables: time 8.32e-07/1.926, allocations: 0 / 0.5909 GB, free: 15.15 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.01125/1.937, allocations: 0.9427 MB / 0.5919 GB, free: 14.21 MB / 378.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.00131/1.939, allocations: 190.9 kB / 0.592 GB, free: 14.02 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.01679/1.955, allocations: 4.942 MB / 0.5969 GB, free: 9.102 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 9.999e-06/1.955, allocations: 0 / 0.5969 GB, free: 9.102 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.006281/1.962, allocations: 1.636 MB / 0.5985 GB, free: 7.453 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004284/1.966, allocations: 319.4 kB / 0.5988 GB, free: 7.141 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03569/2.002, allocations: 10.06 MB / 0.6086 GB, free: 13.04 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009901/2.012, allocations: 2.936 MB / 0.6115 GB, free: 10.07 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002497/2.014, allocations: 259.4 kB / 0.6117 GB, free: 9.816 MB / 394.7 MB Notification: Performance of SimCode: time 1.573e-06/2.014, allocations: 3.938 kB / 0.6117 GB, free: 9.812 MB / 394.7 MB Notification: Performance of Templates: time 0.6716/2.686, allocations: 64.38 MB / 0.6746 GB, free: 123.7 MB / 426.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/jenkins1/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