Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip.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.0008561/0.0008561, allocations: 87.62 kB / 21.43 MB, free: 3.137 MB / 18.57 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.003405/0.003405, allocations: 159.4 kB / 24.69 MB, free: 9.406 MB / 18.57 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 0.8061/0.8061, allocations: 158.6 MB / 186.5 MB, free: 3.039 MB / 170.7 MB " [Timeout remaining time 179] 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.DoublePendulumInitTip,fileNamePrefix="Modelica_3_2_3_Modelica_Mechanics_MultiBody_Examples_Elementary_DoublePendulumInitTip",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip,fileNamePrefix="Modelica_3_2_3_Modelica_Mechanics_MultiBody_Examples_Elementary_DoublePendulumInitTip",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.363e-06/1.363e-06, allocations: 0 / 298.4 MB, free: 3.52 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.104e-05/1.24e-05, allocations: 6.281 kB / 298.5 MB, free: 3.512 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip): time 0.1258/0.1258, allocations: 10.8 MB / 309.3 MB, free: 9.879 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.006648/0.1325, allocations: 4.265 MB / 313.5 MB, free: 7.164 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001155/0.1336, allocations: 98.84 kB / 313.6 MB, free: 7.129 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003106/0.1368, allocations: 2.975 MB / 316.6 MB, free: 5.855 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003117/0.1399, allocations: 2.173 MB / 318.8 MB, free: 4.812 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001344/0.1412, allocations: 1.127 MB / 319.9 MB, free: 4.277 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.003952/0.1452, allocations: 5.989 MB / 325.9 MB, free: 1.008 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002453/0.1476, allocations: 3.681 MB / 329.6 MB, free: 14.5 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002316/0.1499, allocations: 2.74 MB / 332.3 MB, free: 12.76 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002255/0.1522, allocations: 2.685 MB / 335 MB, free: 10.07 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003305/0.1525, allocations: 392 kB / 335.4 MB, free: 9.688 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001225/0.1537, allocations: 1.221 MB / 336.6 MB, free: 8.465 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001165/0.1549, allocations: 2.369 MB / 339 MB, free: 6.09 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.00102/0.1559, allocations: 1.601 MB / 340.6 MB, free: 4.484 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005234/0.1612, allocations: 8.505 MB / 349.1 MB, free: 11.95 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.597e-06/0.1612, allocations: 0 / 349.1 MB, free: 11.95 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.372e-06/0.1612, allocations: 1.031 kB / 349.1 MB, free: 11.95 MB / 314.7 MB Notification: Performance of Transformations before backend: time 5.261e-05/0.1612, allocations: 0 / 349.1 MB, free: 11.95 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: 1556 * Number of variables: 1556 Notification: Performance of Generate backend data structure: time 0.00718/0.1684, allocations: 5.805 MB / 354.9 MB, free: 6.078 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.384e-05/0.1684, allocations: 15.98 kB / 354.9 MB, free: 6.062 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005754/0.169, allocations: 0.7364 MB / 355.6 MB, free: 5.316 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0749/0.2439, allocations: 12.84 MB / 368.5 MB, free: 8.461 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00641/0.2503, allocations: 3.966 MB / 372.4 MB, free: 4.445 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001212/0.2505, allocations: 242.9 kB / 372.7 MB, free: 4.207 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004402/0.2509, allocations: 343.7 kB / 373 MB, free: 3.871 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01022/0.2611, allocations: 10.31 MB / 383.3 MB, free: 8.859 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.113e-05/0.2612, allocations: 55.59 kB / 383.4 MB, free: 8.805 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002851/0.2615, allocations: 159.8 kB / 383.5 MB, free: 8.648 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002342/0.2638, allocations: 2.029 MB / 385.6 MB, free: 6.613 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009796/0.2736, allocations: 8.604 MB / 394.2 MB, free: 14 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02977/0.3034, allocations: 37.55 MB / 431.7 MB, free: 7.449 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004766/0.3081, allocations: 3.455 MB / 435.2 MB, free: 3.953 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001823/0.31, allocations: 1.971 MB / 437.1 MB, free: 1.973 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002564/0.3102, allocations: 200.8 kB / 437.3 MB, free: 1.773 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.923e-05/0.3103, allocations: 55.5 kB / 437.4 MB, free: 1.711 MB / 394.7 MB Notification: Performance of pre-optimization done (n=175): time 3.406e-06/0.3103, allocations: 0 / 437.4 MB, free: 1.711 MB / 394.7 MB Notification: Performance of matching and sorting (n=210): time 0.03305/0.3433, allocations: 22.01 MB / 459.4 MB, free: 11.66 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.513e-05/0.3434, allocations: 256.6 kB / 459.6 MB, free: 11.35 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004436/0.3478, allocations: 4.934 MB / 464.6 MB, free: 6.391 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000151/0.348, allocations: 61.69 kB / 464.6 MB, free: 6.324 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001781/0.3498, allocations: 3.338 MB / 468 MB, free: 2.953 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005583/0.3503, allocations: 0.8217 MB / 468.8 MB, free: 2.125 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001048/0.3514, allocations: 1.203 MB / 470 MB, free: 0.9102 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 6.914e-05/0.3514, allocations: 305.1 kB / 470.3 MB, free: 0.6094 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.1328/0.4842, allocations: 2.335 MB / 472.6 MB, free: 136.2 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003663/0.4879, allocations: 5.987 MB / 478.6 MB, free: 130.9 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006258/0.4941, allocations: 8.914 MB / 487.5 MB, free: 124 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.292e-05/0.4942, allocations: 35 kB / 487.6 MB, free: 124 MB / 426.7 MB Notification: Performance of matching and sorting (n=781) (initialization): time 0.01137/0.5056, allocations: 9.757 MB / 497.3 MB, free: 120.7 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.347e-05/0.5056, allocations: 61.19 kB / 497.4 MB, free: 120.7 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.18e-05/0.5057, allocations: 123.3 kB / 497.5 MB, free: 120.7 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002965/0.5086, allocations: 2.096 MB / 499.6 MB, free: 120.3 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001808/0.5104, allocations: 1.295 MB / 0.4892 GB, free: 120.1 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01139/0.5218, allocations: 16.78 MB / 0.5056 GB, free: 108.8 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002602/0.5244, allocations: 419 kB / 0.506 GB, free: 108.5 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002688/0.5247, allocations: 371.5 kB / 0.5063 GB, free: 108.1 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 565 * Number of states: 0 () * Number of discrete variables: 33 (freeMotionScalarInit.arrowColor[3],freeMotionScalarInit.arrowColor[2],freeMotionScalarInit.arrowColor[1],boxBody2.color[3],boxBody2.color[2],boxBody2.color[1],boxBody2.body.sphereColor[3],boxBody2.body.sphereColor[2],boxBody2.body.sphereColor[1],revolute2.cylinderColor[3],revolute2.cylinderColor[2],revolute2.cylinderColor[1],boxBody1.color[3],boxBody1.color[2],boxBody1.color[1],boxBody1.body.sphereColor[3],boxBody1.body.sphereColor[2],boxBody1.body.sphereColor[1],revolute1.cylinderColor[3],revolute1.cylinderColor[2],revolute1.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 (693): * Single equations (assignments): 687 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(3,35,88.9%), (3,11,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,13)} Notification: Performance of prepare postOptimizeDAE: time 0.002018/0.5267, allocations: 2.23 MB / 0.5085 GB, free: 106.1 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003693/0.5271, allocations: 405.1 kB / 0.5089 GB, free: 105.9 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004124/0.5312, allocations: 4.4 MB / 0.5132 GB, free: 101.5 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.378e-05/0.5312, allocations: 23.94 kB / 0.5132 GB, free: 101.5 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.614e-06/0.5312, allocations: 8 kB / 0.5132 GB, free: 101.5 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.638e-06/0.5313, allocations: 7.969 kB / 0.5132 GB, free: 101.4 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008882/0.5401, allocations: 9.937 MB / 0.5229 GB, free: 91.55 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.63e-06/0.5401, allocations: 0 / 0.5229 GB, free: 91.55 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000657/0.5408, allocations: 307.5 kB / 0.5232 GB, free: 91.25 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001844/0.5426, allocations: 1.355 MB / 0.5245 GB, free: 89.89 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.741e-05/0.5427, allocations: 32.88 kB / 0.5246 GB, free: 89.86 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006291/0.549, allocations: 8.868 MB / 0.5332 GB, free: 80.95 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/0.549, allocations: 0 / 0.5332 GB, free: 80.95 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005946/0.555, allocations: 7.435 MB / 0.5405 GB, free: 73.6 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009823/0.5559, allocations: 0.7556 MB / 0.5412 GB, free: 72.85 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000282/0.5562, allocations: 35.94 kB / 0.5413 GB, free: 72.82 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001029/0.5573, allocations: 203.7 kB / 0.5414 GB, free: 72.62 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002132/0.5575, allocations: 125.1 kB / 0.5416 GB, free: 72.49 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.733e-05/0.5576, allocations: 55.98 kB / 0.5416 GB, free: 72.44 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.002612/0.5602, allocations: 3.048 MB / 0.5446 GB, free: 69.39 MB / 426.7 MB Notification: Performance of sort global known variables: time 8e-08/0.5602, allocations: 0 / 0.5446 GB, free: 69.39 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.003261/0.5634, allocations: 1.333 MB / 0.5459 GB, free: 68.06 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 4 (revolute1.phi,revolute1.w,revolute2.phi,revolute2.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 (157): * Single equations (assignments): 153 * 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 {(5,30,72.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.006074/0.5695, allocations: 8.111 MB / 0.5538 GB, free: 59.91 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.005143/0.5747, allocations: 5.993 MB / 0.5597 GB, free: 53.91 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.315e-06/0.5747, allocations: 288 / 0.5597 GB, free: 53.91 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001904/0.5766, allocations: 2.116 MB / 0.5617 GB, free: 51.79 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001825/0.5784, allocations: 0.6036 MB / 0.5623 GB, free: 51.2 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04197/0.6204, allocations: 52.9 MB / 0.614 GB, free: 8.742 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002778/0.6231, allocations: 3 MB / 0.6169 GB, free: 5.703 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.1167/0.7399, allocations: 1.938 MB / 0.6188 GB, free: 141 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002583/0.7425, allocations: 2.111 MB / 0.6209 GB, free: 141 MB / 442.7 MB Notification: Performance of SimCode: time 8.72e-07/0.7425, allocations: 0 / 0.6209 GB, free: 141 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08337/0.8258, allocations: 90.21 MB / 0.709 GB, free: 74.04 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.87/11.7, allocations: 11.52 kB / 0.709 GB, free: 74.03 MB / 442.7 MB " [Timeout remaining time 648] (rm -f Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip.pipe ; mkfifo Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip.pipe >> ../files/Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip.sim & python3 -m fmpy simulate --output-file Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip_res.csv --start-time 0 --stop-time 5 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0009996 Modelica_3_2_3_Modelica_Mechanics_MultiBody_Examples_Elementary_DoublePendulumInitTip.fmu > Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Mechanics/MultiBody/Examples/Elementary/DoublePendulumInitTip/DoublePendulumInitTip.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip.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: 13.394932282157242]