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.001401/0.001401, allocations: 107.6 kB / 21.18 MB, free: 472 kB / 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.001483/0.001483, allocations: 208 kB / 24.47 MB, free: 3.801 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.38/1.38, allocations: 207.7 MB / 235.3 MB, free: 9.82 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.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: 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.002028/0.002028, allocations: 59.92 kB / 347.2 MB, free: 9.887 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2543/0.2563, allocations: 49.15 MB / 396.4 MB, free: 8.879 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip): time 0.01081/0.2672, allocations: 10.8 MB / 407.2 MB, free: 1.879 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.009111/0.2763, allocations: 4.262 MB / 411.4 MB, free: 15.14 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002486/0.2788, allocations: 98.34 kB / 411.5 MB, free: 15.11 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.006085/0.2848, allocations: 2.839 MB / 414.4 MB, free: 13.52 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006732/0.2916, allocations: 2.091 MB / 416.4 MB, free: 12.04 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002957/0.2945, allocations: 1.04 MB / 417.5 MB, free: 11.34 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.008833/0.3034, allocations: 5.336 MB / 422.8 MB, free: 8.438 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004503/0.3079, allocations: 3.156 MB / 426 MB, free: 5.406 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003572/0.3114, allocations: 1.807 MB / 427.8 MB, free: 3.594 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00418/0.3156, allocations: 2.445 MB / 430.2 MB, free: 1.141 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008212/0.3164, allocations: 388 kB / 430.6 MB, free: 0.7617 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002581/0.319, allocations: 1.159 MB / 431.8 MB, free: 15.6 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002296/0.3213, allocations: 2.259 MB / 434 MB, free: 13.34 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002673/0.324, allocations: 1.981 MB / 436 MB, free: 11.34 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0103/0.3343, allocations: 8.417 MB / 444.4 MB, free: 2.895 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.723e-06/0.3343, allocations: 0 / 444.4 MB, free: 2.895 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.914e-06/0.3343, allocations: 0 / 444.4 MB, free: 2.895 MB / 350.1 MB Notification: Performance of Transformations before backend: time 0.0002026/0.3345, allocations: 0 / 444.4 MB, free: 2.895 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: 1556 * Number of variables: 1556 Notification: Performance of Generate backend data structure: time 0.01491/0.3494, allocations: 5.711 MB / 450.1 MB, free: 13.11 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.207e-05/0.3495, allocations: 15.98 kB / 450.1 MB, free: 13.1 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001278/0.3507, allocations: 0.7442 MB / 450.9 MB, free: 12.34 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.172/0.5227, allocations: 12.42 MB / 463.3 MB, free: 15.91 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.011/0.5337, allocations: 4.492 MB / 467.8 MB, free: 11.36 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002581/0.5339, allocations: 250.3 kB / 468 MB, free: 11.12 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001222/0.5352, allocations: 331.8 kB / 468.4 MB, free: 10.79 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01781/0.553, allocations: 10.32 MB / 478.7 MB, free: 15.77 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001411/0.5531, allocations: 51.59 kB / 478.7 MB, free: 15.72 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004175/0.5535, allocations: 155.8 kB / 478.9 MB, free: 15.57 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00357/0.5571, allocations: 2.041 MB / 480.9 MB, free: 13.52 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01717/0.5743, allocations: 8.61 MB / 489.5 MB, free: 4.902 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05265/0.6269, allocations: 37.08 MB / 0.5143 GB, free: 14.8 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008651/0.6356, allocations: 3.356 MB / 0.5176 GB, free: 11.41 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00281/0.6384, allocations: 1.97 MB / 0.5195 GB, free: 9.426 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004993/0.6389, allocations: 201 kB / 0.5197 GB, free: 9.23 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.748e-05/0.6389, allocations: 55.5 kB / 0.5197 GB, free: 9.168 MB / 446.1 MB Notification: Performance of pre-optimization done (n=175): time 4.318e-06/0.6389, allocations: 0 / 0.5197 GB, free: 9.168 MB / 446.1 MB Notification: Performance of matching and sorting (n=210): time 0.05954/0.6985, allocations: 21.25 MB / 0.5405 GB, free: 3.871 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001567/0.6986, allocations: 260.6 kB / 0.5407 GB, free: 3.562 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006448/0.7051, allocations: 4.497 MB / 0.5451 GB, free: 15.04 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004369/0.7055, allocations: 57.64 kB / 0.5452 GB, free: 14.98 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002713/0.7082, allocations: 3.369 MB / 0.5485 GB, free: 11.57 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001017/0.7093, allocations: 0.8372 MB / 0.5493 GB, free: 10.73 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001629/0.7109, allocations: 1.215 MB / 0.5505 GB, free: 9.504 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001251/0.711, allocations: 301.1 kB / 0.5508 GB, free: 9.207 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003667/0.7147, allocations: 2.338 MB / 0.553 GB, free: 6.863 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.1838/0.8985, allocations: 5.985 MB / 0.5589 GB, free: 139 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009052/0.9075, allocations: 8.909 MB / 0.5676 GB, free: 133 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000103/0.9077, allocations: 35.94 kB / 0.5676 GB, free: 133 MB / 478.1 MB Notification: Performance of matching and sorting (n=781) (initialization): time 0.0178/0.9255, allocations: 9.751 MB / 0.5771 GB, free: 129.7 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001113/0.9256, allocations: 57.12 kB / 0.5772 GB, free: 129.7 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000189/0.9258, allocations: 124.2 kB / 0.5773 GB, free: 129.7 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005546/0.9313, allocations: 2.104 MB / 0.5794 GB, free: 129.3 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00342/0.9347, allocations: 1.293 MB / 0.5806 GB, free: 129.1 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01752/0.9522, allocations: 16.67 MB / 0.5969 GB, free: 120.3 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004357/0.9566, allocations: 359.5 kB / 0.5972 GB, free: 120 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006265/0.9572, allocations: 361.6 kB / 0.5976 GB, free: 119.7 MB / 478.1 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.002751/0.96, allocations: 2.227 MB / 0.5998 GB, free: 117.6 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006119/0.9606, allocations: 403.2 kB / 0.6002 GB, free: 117.5 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006656/0.9672, allocations: 4.4 MB / 0.6045 GB, free: 113 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.388e-05/0.9673, allocations: 27.94 kB / 0.6045 GB, free: 113 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.175e-05/0.9673, allocations: 8.5 kB / 0.6045 GB, free: 113 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.551e-05/0.9673, allocations: 11.97 kB / 0.6045 GB, free: 113 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01411/0.9814, allocations: 9.767 MB / 0.614 GB, free: 103.3 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.075e-05/0.9814, allocations: 3.938 kB / 0.614 GB, free: 103.3 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001254/0.9827, allocations: 299.5 kB / 0.6143 GB, free: 103 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003305/0.986, allocations: 1.359 MB / 0.6157 GB, free: 101.6 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000156/0.9861, allocations: 39.66 kB / 0.6157 GB, free: 101.6 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009745/0.9959, allocations: 8.759 MB / 0.6242 GB, free: 92.77 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.116e-06/0.9959, allocations: 3.938 kB / 0.6242 GB, free: 92.76 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009189/1.005, allocations: 7.441 MB / 0.6315 GB, free: 85.39 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001728/1.007, allocations: 0.6899 MB / 0.6322 GB, free: 84.71 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004174/1.007, allocations: 39.92 kB / 0.6322 GB, free: 84.67 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001522/1.009, allocations: 123.8 kB / 0.6323 GB, free: 84.55 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002766/1.009, allocations: 121.1 kB / 0.6325 GB, free: 84.43 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000128/1.009, allocations: 60.08 kB / 0.6325 GB, free: 84.37 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.002876/1.012, allocations: 2.718 MB / 0.6352 GB, free: 81.65 MB / 478.1 MB Notification: Performance of sort global known variables: time 7e-08/1.012, allocations: 1.094 kB / 0.6352 GB, free: 81.65 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.003899/1.016, allocations: 1.152 MB / 0.6363 GB, free: 80.5 MB / 478.1 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.00921/1.025, allocations: 8.084 MB / 0.6442 GB, free: 72.39 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.007403/1.033, allocations: 5.995 MB / 0.65 GB, free: 66.38 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 5.861e-06/1.033, allocations: 0 / 0.65 GB, free: 66.38 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003156/1.036, allocations: 2.121 MB / 0.6521 GB, free: 64.25 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002831/1.039, allocations: 0.5854 MB / 0.6527 GB, free: 63.67 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06/1.099, allocations: 51.5 MB / 0.703 GB, free: 6.613 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003135/1.102, allocations: 3 MB / 0.7059 GB, free: 3.578 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.003668/1.105, allocations: 1.928 MB / 0.7078 GB, free: 1.645 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0024/1.108, allocations: 2.096 MB / 0.7098 GB, free: 15.55 MB / 494.1 MB Notification: Performance of SimCode: time 1.133e-06/1.108, allocations: 0 / 0.7098 GB, free: 15.55 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.33/1.438, allocations: 87.14 MB / 0.7949 GB, free: 160.8 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 18.92/20.36, allocations: 7.562 kB / 0.795 GB, free: 160.8 MB / 0.5137 GB " [Timeout remaining time 639] (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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Mechanics/MultiBody/Examples/Elementary/DoublePendulumInitTip/DoublePendulumInitTip.csv","/var/lib/jenkins1/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: 23.058519155718386]