Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.PendulumWithSpringDamper.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001324/0.001324, allocations: 119.4 kB / 17.79 MB, free: 5.285 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00151/0.00151, allocations: 215.5 kB / 20.75 MB, free: 2.328 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.496/1.496, allocations: 230.5 MB / 254 MB, free: 15.03 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Elementary.PendulumWithSpringDamper,fileNamePrefix="Modelica_trunk_Modelica_Mechanics_MultiBody_Examples_Elementary_PendulumWithSpringDamper",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Elementary.PendulumWithSpringDamper,fileNamePrefix="Modelica_trunk_Modelica_Mechanics_MultiBody_Examples_Elementary_PendulumWithSpringDamper",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002098/0.002098, allocations: 63.89 kB / 373 MB, free: 10.11 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1099/0.112, allocations: 53.37 MB / 426.4 MB, free: 4.637 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.PendulumWithSpringDamper): time 0.2297/0.3417, allocations: 10.3 MB / 436.7 MB, free: 5.688 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.007727/0.3494, allocations: 3.901 MB / 440.6 MB, free: 3.801 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001833/0.3512, allocations: 60.59 kB / 440.6 MB, free: 3.785 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003916/0.3551, allocations: 2.1 MB / 442.7 MB, free: 2.836 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004941/0.3601, allocations: 1.642 MB / 444.4 MB, free: 2.098 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0021/0.3622, allocations: 0.6995 MB / 445.1 MB, free: 1.805 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.005642/0.3678, allocations: 3.395 MB / 448.5 MB, free: 0.5469 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003716/0.3715, allocations: 2.3 MB / 450.8 MB, free: 15.58 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003082/0.3746, allocations: 1.272 MB / 452 MB, free: 15.05 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0036/0.3782, allocations: 1.896 MB / 453.9 MB, free: 14.28 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0009914/0.3792, allocations: 262.3 kB / 454.2 MB, free: 14.28 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002906/0.3821, allocations: 1.144 MB / 455.3 MB, free: 13.8 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002279/0.3844, allocations: 1.604 MB / 456.9 MB, free: 12.86 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004036/0.3884, allocations: 1.855 MB / 458.8 MB, free: 11.44 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01393/0.4024, allocations: 5.915 MB / 464.7 MB, free: 7.371 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.143e-05/0.4024, allocations: 1.344 kB / 464.7 MB, free: 7.371 MB / 366.1 MB Notification: Performance of FrontEnd: time 3.216e-06/0.4024, allocations: 0 / 464.7 MB, free: 7.371 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0002951/0.4027, allocations: 0 / 464.7 MB, free: 7.371 MB / 366.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.01655/0.4192, allocations: 4.229 MB / 468.9 MB, free: 4.371 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.772e-05/0.4193, allocations: 8.562 kB / 468.9 MB, free: 4.371 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001974/0.4212, allocations: 0.6441 MB / 469.6 MB, free: 3.918 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01153/0.4328, allocations: 1.884 MB / 471.5 MB, free: 2.922 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006466/0.4392, allocations: 2.119 MB / 473.6 MB, free: 1.18 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002369/0.4395, allocations: 209.2 kB / 473.8 MB, free: 0.9727 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000945/0.4404, allocations: 263.9 kB / 474.1 MB, free: 0.7148 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0301/0.4705, allocations: 10.01 MB / 484.1 MB, free: 6.027 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001463/0.4707, allocations: 35.69 kB / 484.1 MB, free: 5.992 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006306/0.4713, allocations: 135.9 kB / 484.2 MB, free: 5.859 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005065/0.4764, allocations: 1.856 MB / 486.1 MB, free: 3.996 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02904/0.5054, allocations: 8.559 MB / 494.6 MB, free: 11.44 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06566/0.5711, allocations: 36.76 MB / 0.519 GB, free: 5.66 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01053/0.5816, allocations: 3.773 MB / 0.5226 GB, free: 1.684 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002722/0.5843, allocations: 1.701 MB / 0.5243 GB, free: 15.97 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01245/0.5968, allocations: 7.612 MB / 0.5317 GB, free: 8.062 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.137e-05/0.5968, allocations: 52.38 kB / 0.5318 GB, free: 8.004 MB / 446.1 MB Notification: Performance of pre-optimization done (n=150): time 7.033e-06/0.5968, allocations: 3.984 kB / 0.5318 GB, free: 8 MB / 446.1 MB Notification: Performance of matching and sorting (n=166): time 0.05574/0.6526, allocations: 17.74 MB / 0.5491 GB, free: 6.164 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001012/0.6527, allocations: 141.5 kB / 0.5492 GB, free: 5.996 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005464/0.6581, allocations: 3.486 MB / 0.5526 GB, free: 2.508 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004348/0.6586, allocations: 45.7 kB / 0.5527 GB, free: 2.457 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002514/0.6611, allocations: 2.85 MB / 0.5555 GB, free: 15.58 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001086/0.6622, allocations: 0.6668 MB / 0.5561 GB, free: 14.91 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001763/0.6639, allocations: 1.12 MB / 0.5572 GB, free: 13.78 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.000129/0.6641, allocations: 304.9 kB / 0.5575 GB, free: 13.48 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003495/0.6676, allocations: 1.959 MB / 0.5594 GB, free: 11.52 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006729/0.6743, allocations: 5.385 MB / 0.5647 GB, free: 4.414 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01132/0.6856, allocations: 7.936 MB / 0.5724 GB, free: 10.78 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001153/0.6857, allocations: 36 kB / 0.5725 GB, free: 10.74 MB / 494.1 MB Notification: Performance of matching and sorting (n=724) (initialization): time 0.01917/0.7049, allocations: 8.182 MB / 0.5805 GB, free: 2.555 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001064/0.705, allocations: 56 kB / 0.5805 GB, free: 2.5 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001718/0.7052, allocations: 124 kB / 0.5806 GB, free: 2.379 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004537/0.7097, allocations: 1.292 MB / 0.5819 GB, free: 1.082 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004591/0.7143, allocations: 1.263 MB / 0.5831 GB, free: 15.82 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01052/0.7248, allocations: 6.542 MB / 0.5895 GB, free: 9.133 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00481/0.7296, allocations: 303.7 kB / 0.5898 GB, free: 8.836 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009996/0.7306, allocations: 340 kB / 0.5901 GB, free: 8.504 MB / 0.4981 GB 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.003775/0.7344, allocations: 1.822 MB / 0.5919 GB, free: 6.668 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000727/0.7351, allocations: 317.8 kB / 0.5922 GB, free: 6.355 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008005/0.7431, allocations: 3.365 MB / 0.5955 GB, free: 2.977 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.961e-05/0.7432, allocations: 20 kB / 0.5955 GB, free: 2.957 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.334e-05/0.7432, allocations: 4 kB / 0.5955 GB, free: 2.953 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.438e-05/0.7432, allocations: 7.969 kB / 0.5955 GB, free: 2.945 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01805/0.7613, allocations: 7.583 MB / 0.6029 GB, free: 11.27 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.626e-05/0.7613, allocations: 0 / 0.6029 GB, free: 11.27 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001329/0.7626, allocations: 247.6 kB / 0.6032 GB, free: 11.02 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004122/0.7667, allocations: 1.119 MB / 0.6043 GB, free: 9.902 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003093/0.767, allocations: 31.98 kB / 0.6043 GB, free: 9.871 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009913/0.7769, allocations: 6.176 MB / 0.6103 GB, free: 3.559 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.549e-06/0.7769, allocations: 1.016 kB / 0.6103 GB, free: 3.559 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2363/1.013, allocations: 5.746 MB / 0.6159 GB, free: 163.5 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001012/1.014, allocations: 369.3 kB / 0.6163 GB, free: 163.4 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005536/1.015, allocations: 24.5 kB / 0.6163 GB, free: 163.4 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001396/1.016, allocations: 98.28 kB / 0.6164 GB, free: 163.4 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003305/1.017, allocations: 89.38 kB / 0.6165 GB, free: 163.4 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001413/1.017, allocations: 48.67 kB / 0.6165 GB, free: 163.4 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.004652/1.021, allocations: 2.149 MB / 0.6186 GB, free: 163.3 MB / 0.5137 GB Notification: Performance of sort global known variables: time 8e-08/1.021, allocations: 0 / 0.6186 GB, free: 163.3 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.005722/1.027, allocations: 0.8925 MB / 0.6195 GB, free: 163.3 MB / 0.5137 GB 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.01288/1.04, allocations: 6.384 MB / 0.6257 GB, free: 160.9 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.008225/1.048, allocations: 4.622 MB / 0.6303 GB, free: 159.5 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 6.302e-06/1.048, allocations: 0 / 0.6303 GB, free: 159.5 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.002453/1.051, allocations: 1.445 MB / 0.6317 GB, free: 158.9 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002399/1.053, allocations: 359.9 kB / 0.632 GB, free: 158.8 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06691/1.12, allocations: 41.27 MB / 0.6723 GB, free: 126.2 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00416/1.124, allocations: 2.845 MB / 0.6751 GB, free: 123.4 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.003577/1.128, allocations: 1.704 MB / 0.6768 GB, free: 121.7 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002265/1.13, allocations: 1.589 MB / 0.6783 GB, free: 120.1 MB / 0.5137 GB Notification: Performance of SimCode: time 1.733e-06/1.13, allocations: 0 / 0.6783 GB, free: 120.1 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1114/1.241, allocations: 60.54 MB / 0.7374 GB, free: 59.95 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 19.24/20.48, allocations: 7.375 kB / 0.7374 GB, free: 59.94 MB / 0.5137 GB " [Timeout remaining time 639] (rm -f Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.PendulumWithSpringDamper.pipe ; mkfifo Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.PendulumWithSpringDamper.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.PendulumWithSpringDamper.pipe >> ../files/Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.PendulumWithSpringDamper.sim & python3 -m fmpy simulate --output-file Modelica_trunk_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_trunk_Modelica_Mechanics_MultiBody_Examples_Elementary_PendulumWithSpringDamper.fmu > Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.PendulumWithSpringDamper.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.PendulumWithSpringDamper_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/MultiBody/Examples/Elementary/PendulumWithSpringDamper/PendulumWithSpringDamper.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_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: 23.176217350992374]