Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.PendulumWithSpringDamper.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001885/0.001885, allocations: 112.1 kB / 21.18 MB, free: 0.7148 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001713/0.001713, allocations: 216.7 kB / 24.49 MB, free: 4.086 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.4/1.4, allocations: 207.6 MB / 235.3 MB, free: 9.973 MB / 190.1 MB " [Timeout remaining time 178] 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Elementary.PendulumWithSpringDamper,fileNamePrefix="Modelica_3_2_3_Modelica_Mechanics_MultiBody_Examples_Elementary_PendulumWithSpringDamper",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Elementary.PendulumWithSpringDamper,fileNamePrefix="Modelica_3_2_3_Modelica_Mechanics_MultiBody_Examples_Elementary_PendulumWithSpringDamper",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.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.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002523/0.002523, allocations: 56.2 kB / 347.2 MB, free: 10.02 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2886/0.2911, allocations: 49.16 MB / 396.4 MB, free: 9.191 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.PendulumWithSpringDamper): time 0.01076/0.3019, allocations: 10.39 MB / 406.7 MB, free: 1.875 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.008537/0.3104, allocations: 3.933 MB / 410.7 MB, free: 15.27 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002311/0.3128, allocations: 61.62 kB / 410.7 MB, free: 15.25 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004684/0.3174, allocations: 2.116 MB / 412.9 MB, free: 14.3 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006818/0.3243, allocations: 1.69 MB / 414.5 MB, free: 13.14 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002386/0.3266, allocations: 0.6929 MB / 415.2 MB, free: 12.67 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.007522/0.3342, allocations: 3.386 MB / 418.6 MB, free: 10.84 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004232/0.3384, allocations: 2.235 MB / 420.9 MB, free: 9.285 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003484/0.3419, allocations: 1.287 MB / 422.1 MB, free: 8.574 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004503/0.3464, allocations: 1.911 MB / 424.1 MB, free: 7.406 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001264/0.3477, allocations: 264.2 kB / 424.3 MB, free: 7.387 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003535/0.3512, allocations: 1.151 MB / 425.5 MB, free: 6.234 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002352/0.3535, allocations: 1.62 MB / 427.1 MB, free: 4.609 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002427/0.356, allocations: 1.875 MB / 429 MB, free: 2.723 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00779/0.3638, allocations: 5.98 MB / 434.9 MB, free: 12.72 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.634e-06/0.3638, allocations: 0 / 434.9 MB, free: 12.72 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.084e-06/0.3638, allocations: 4 kB / 434.9 MB, free: 12.72 MB / 350.1 MB Notification: Performance of Transformations before backend: time 0.0001569/0.3639, allocations: 0 / 434.9 MB, free: 12.72 MB / 350.1 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.008262/0.3722, allocations: 4.187 MB / 439.1 MB, free: 8.477 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.939e-05/0.3722, allocations: 15.98 kB / 439.1 MB, free: 8.461 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0008122/0.373, allocations: 0.6413 MB / 439.8 MB, free: 7.809 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006533/0.3796, allocations: 1.882 MB / 441.7 MB, free: 5.922 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005303/0.3849, allocations: 2.317 MB / 444 MB, free: 3.562 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002071/0.3851, allocations: 205.2 kB / 444.2 MB, free: 3.359 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008132/0.3859, allocations: 267.9 kB / 444.5 MB, free: 3.098 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01891/0.4048, allocations: 9.981 MB / 454.4 MB, free: 8.441 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.757e-05/0.4049, allocations: 35.69 kB / 454.5 MB, free: 8.406 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003657/0.4053, allocations: 131.9 kB / 454.6 MB, free: 8.277 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003042/0.4083, allocations: 1.856 MB / 456.5 MB, free: 6.418 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01735/0.4257, allocations: 8.54 MB / 465 MB, free: 13.88 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04615/0.4718, allocations: 36.67 MB / 0.4899 GB, free: 8.152 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009118/0.4809, allocations: 3.059 MB / 0.4929 GB, free: 5.055 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002391/0.4833, allocations: 1.712 MB / 0.4946 GB, free: 3.332 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01129/0.4946, allocations: 6.628 MB / 0.501 GB, free: 12.65 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.92e-05/0.4947, allocations: 51.5 kB / 0.5011 GB, free: 12.59 MB / 430.1 MB Notification: Performance of pre-optimization done (n=150): time 4.068e-06/0.4947, allocations: 0 / 0.5011 GB, free: 12.59 MB / 430.1 MB Notification: Performance of matching and sorting (n=166): time 0.04989/0.5446, allocations: 17.45 MB / 0.5181 GB, free: 11.09 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.724e-05/0.5447, allocations: 145.5 kB / 0.5183 GB, free: 10.91 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004836/0.5495, allocations: 3.507 MB / 0.5217 GB, free: 7.406 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002594/0.5498, allocations: 49.7 kB / 0.5217 GB, free: 7.352 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002082/0.5518, allocations: 2.846 MB / 0.5245 GB, free: 4.48 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007104/0.5525, allocations: 0.6784 MB / 0.5252 GB, free: 3.797 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001413/0.554, allocations: 1.12 MB / 0.5263 GB, free: 2.668 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001252/0.5541, allocations: 309.1 kB / 0.5266 GB, free: 2.363 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002969/0.5571, allocations: 1.943 MB / 0.5285 GB, free: 424 kB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006036/0.5631, allocations: 5.362 MB / 0.5337 GB, free: 9.336 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00987/0.573, allocations: 7.912 MB / 0.5414 GB, free: 15.72 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.786e-05/0.573, allocations: 36 kB / 0.5415 GB, free: 15.68 MB / 478.1 MB Notification: Performance of matching and sorting (n=724) (initialization): time 0.01584/0.5889, allocations: 8.149 MB / 0.5494 GB, free: 7.523 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.024e-05/0.589, allocations: 60 kB / 0.5495 GB, free: 7.465 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001279/0.5891, allocations: 120 kB / 0.5496 GB, free: 7.348 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003962/0.5931, allocations: 1.304 MB / 0.5509 GB, free: 6.039 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003962/0.597, allocations: 1.259 MB / 0.5521 GB, free: 4.777 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1984/0.7954, allocations: 6.434 MB / 0.5584 GB, free: 140.4 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00381/0.7992, allocations: 300.5 kB / 0.5587 GB, free: 140.4 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006157/0.7998, allocations: 343.2 kB / 0.559 GB, free: 140.4 MB / 478.1 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 (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 {(3,17,88.9%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002757/0.8026, allocations: 1.809 MB / 0.5608 GB, free: 140.1 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005707/0.8032, allocations: 325.7 kB / 0.5611 GB, free: 140.1 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007/0.8102, allocations: 3.352 MB / 0.5643 GB, free: 139.1 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.63e-05/0.8102, allocations: 21.12 kB / 0.5644 GB, free: 139.1 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.78e-05/0.8102, allocations: 5.641 kB / 0.5644 GB, free: 139.1 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.234e-05/0.8102, allocations: 11.66 kB / 0.5644 GB, free: 139.1 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01347/0.8237, allocations: 7.542 MB / 0.5717 GB, free: 136.6 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.24e-05/0.8237, allocations: 1.25 kB / 0.5717 GB, free: 136.6 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001093/0.8248, allocations: 242 kB / 0.572 GB, free: 136.6 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00346/0.8283, allocations: 1.118 MB / 0.5731 GB, free: 136.4 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001368/0.8284, allocations: 33 kB / 0.5731 GB, free: 136.4 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00723/0.8356, allocations: 6.057 MB / 0.579 GB, free: 133.5 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.727e-06/0.8356, allocations: 4.562 kB / 0.579 GB, free: 133.5 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00811/0.8437, allocations: 5.712 MB / 0.5846 GB, free: 131.5 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001441/0.8452, allocations: 0.5194 MB / 0.5851 GB, free: 131.4 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003652/0.8456, allocations: 27.67 kB / 0.5851 GB, free: 131.4 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001175/0.8467, allocations: 90.03 kB / 0.5852 GB, free: 131.3 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002242/0.847, allocations: 89.83 kB / 0.5853 GB, free: 131.2 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001047/0.8471, allocations: 55.03 kB / 0.5854 GB, free: 131.2 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.002489/0.8495, allocations: 2.16 MB / 0.5875 GB, free: 130.1 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.8495, allocations: 2.406 kB / 0.5875 GB, free: 130.1 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.003904/0.8535, allocations: 0.9134 MB / 0.5884 GB, free: 130 MB / 478.1 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 (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 {(2,15,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.00787/0.8613, allocations: 6.358 MB / 0.5946 GB, free: 125.3 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.005923/0.8672, allocations: 4.581 MB / 0.599 GB, free: 120.8 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 5.039e-06/0.8672, allocations: 6 kB / 0.599 GB, free: 120.8 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001752/0.869, allocations: 1.43 MB / 0.6004 GB, free: 119.4 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001947/0.8709, allocations: 362.9 kB / 0.6008 GB, free: 119 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04603/0.917, allocations: 41.35 MB / 0.6412 GB, free: 72.46 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002121/0.9191, allocations: 2.859 MB / 0.644 GB, free: 69.57 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.003041/0.9221, allocations: 1.707 MB / 0.6456 GB, free: 67.86 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001503/0.9236, allocations: 1.593 MB / 0.6472 GB, free: 66.26 MB / 478.1 MB Notification: Performance of SimCode: time 1.032e-06/0.9236, allocations: 0 / 0.6472 GB, free: 66.26 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1034/1.027, allocations: 65.44 MB / 0.7111 GB, free: 0.7539 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 21.28/22.31, allocations: 15.73 kB / 0.7111 GB, free: 0.7383 MB / 478.1 MB " [Timeout remaining time 638] (rm -f Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.PendulumWithSpringDamper.pipe ; mkfifo Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.PendulumWithSpringDamper.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.PendulumWithSpringDamper.pipe >> ../files/Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.PendulumWithSpringDamper.sim & python3 -m fmpy simulate --output-file Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.PendulumWithSpringDamper_res.csv --start-time 0 --stop-time 10 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0019992 Modelica_3_2_3_Modelica_Mechanics_MultiBody_Examples_Elementary_PendulumWithSpringDamper.fmu > Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.PendulumWithSpringDamper.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.PendulumWithSpringDamper_res.csv","/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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.PendulumWithSpringDamper.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 24.876852908004366]