Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_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.001669/0.001669, allocations: 111.1 kB / 20.44 MB, free: 1.176 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.001775/0.001775, allocations: 207.6 kB / 23.73 MB, free: 4.379 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.46/1.46, allocations: 230.6 MB / 257.5 MB, free: 7.785 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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_4_1_0_Modelica_Mechanics_MultiBody_Examples_Elementary_DoublePendulumInitTip",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip,fileNamePrefix="Modelica_4_1_0_Modelica_Mechanics_MultiBody_Examples_Elementary_DoublePendulumInitTip",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001561/0.001561, allocations: 39.94 kB / 377.7 MB, free: 2.93 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2304/0.232, allocations: 53.38 MB / 431.1 MB, free: 6.738 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip): time 0.01325/0.2452, allocations: 10.33 MB / 441.4 MB, free: 12.37 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.009075/0.2543, allocations: 4.16 MB / 445.6 MB, free: 8.199 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001744/0.256, allocations: 103.4 kB / 445.7 MB, free: 8.098 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005752/0.2618, allocations: 2.807 MB / 448.5 MB, free: 5.281 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005134/0.2669, allocations: 1.981 MB / 450.5 MB, free: 3.293 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002463/0.2694, allocations: 1.037 MB / 451.5 MB, free: 2.254 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.007819/0.2772, allocations: 5.611 MB / 457.1 MB, free: 12.64 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00421/0.2814, allocations: 3.066 MB / 460.2 MB, free: 9.5 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002827/0.2842, allocations: 1.733 MB / 461.9 MB, free: 7.762 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003755/0.288, allocations: 2.477 MB / 464.4 MB, free: 5.277 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000901/0.2889, allocations: 364 kB / 464.8 MB, free: 4.922 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002449/0.2913, allocations: 1.147 MB / 465.9 MB, free: 3.773 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002538/0.2939, allocations: 2.146 MB / 468 MB, free: 1.621 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002696/0.2966, allocations: 1.884 MB / 469.9 MB, free: 15.72 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009414/0.306, allocations: 7.939 MB / 477.9 MB, free: 7.758 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.963e-06/0.306, allocations: 0 / 477.9 MB, free: 7.758 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.553e-06/0.306, allocations: 4 kB / 477.9 MB, free: 7.754 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0001841/0.3062, allocations: 0 / 477.9 MB, free: 7.754 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1479 * Number of variables: 1479 Notification: Performance of Generate backend data structure: time 0.0138/0.32, allocations: 5.5 MB / 483.4 MB, free: 2.191 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.974e-05/0.32, allocations: 12.03 kB / 483.4 MB, free: 2.18 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001163/0.3212, allocations: 0.711 MB / 484.1 MB, free: 1.457 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.1637/0.4849, allocations: 12.37 MB / 496.5 MB, free: 5.07 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01031/0.4952, allocations: 3.899 MB / 0.4886 GB, free: 1.121 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002262/0.4954, allocations: 238.1 kB / 0.4889 GB, free: 0.8867 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001114/0.4966, allocations: 319.8 kB / 0.4892 GB, free: 0.5742 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01794/0.5145, allocations: 9.819 MB / 0.4988 GB, free: 6.082 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000163/0.5147, allocations: 55.58 kB / 0.4988 GB, free: 6.027 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004646/0.5151, allocations: 151.9 kB / 0.499 GB, free: 5.879 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003608/0.5187, allocations: 1.904 MB / 0.5008 GB, free: 3.965 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0171/0.5358, allocations: 8.206 MB / 0.5088 GB, free: 11.74 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2418/0.7776, allocations: 35.74 MB / 0.5437 GB, free: 77.79 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007094/0.7847, allocations: 3.236 MB / 0.5469 GB, free: 77.69 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001932/0.7866, allocations: 1.922 MB / 0.5488 GB, free: 77.04 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004272/0.7871, allocations: 201.4 kB / 0.549 GB, free: 77.02 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.014e-05/0.7871, allocations: 53.77 kB / 0.549 GB, free: 76.97 MB / 446.1 MB Notification: Performance of pre-optimization done (n=166): time 4.028e-06/0.7871, allocations: 6.719 kB / 0.549 GB, free: 76.97 MB / 446.1 MB Notification: Performance of matching and sorting (n=201): time 0.04904/0.8361, allocations: 20.96 MB / 0.5695 GB, free: 63.95 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.42e-05/0.8362, allocations: 256.6 kB / 0.5697 GB, free: 63.64 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004364/0.8406, allocations: 4.384 MB / 0.574 GB, free: 59.39 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003476/0.8409, allocations: 61.22 kB / 0.5741 GB, free: 59.33 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001268/0.8422, allocations: 3.242 MB / 0.5772 GB, free: 56.36 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005983/0.8428, allocations: 0.7939 MB / 0.578 GB, free: 55.57 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001145/0.8439, allocations: 1.187 MB / 0.5792 GB, free: 54.38 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 3.339e-05/0.844, allocations: 305.1 kB / 0.5795 GB, free: 54.08 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002405/0.8464, allocations: 2.283 MB / 0.5817 GB, free: 51.79 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003405/0.8498, allocations: 5.832 MB / 0.5874 GB, free: 44.27 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007392/0.8572, allocations: 8.676 MB / 0.5959 GB, free: 34.03 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.019e-05/0.8572, allocations: 39.94 kB / 0.5959 GB, free: 33.99 MB / 446.1 MB Notification: Performance of matching and sorting (n=759) (initialization): time 0.01548/0.8727, allocations: 9.535 MB / 0.6052 GB, free: 24.44 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.736e-05/0.8728, allocations: 64.02 kB / 0.6053 GB, free: 24.38 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.225e-05/0.8729, allocations: 124 kB / 0.6054 GB, free: 24.26 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005428/0.8783, allocations: 2.076 MB / 0.6074 GB, free: 22.18 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003919/0.8822, allocations: 1.252 MB / 0.6086 GB, free: 20.93 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01754/0.8997, allocations: 16.78 MB / 0.625 GB, free: 3.824 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004077/0.9038, allocations: 339.5 kB / 0.6253 GB, free: 3.492 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005813/0.9044, allocations: 355.8 kB / 0.6257 GB, free: 3.148 MB / 446.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: 35 (freeMotionScalarInit.arrow.arrow.twoHeadedArrow,freeMotionScalarInit.arrow.headAtOrigin,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 (671): * Single equations (assignments): 665 * 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 {(2,36,100.0%), (2,12,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,13)} Notification: Performance of prepare postOptimizeDAE: time 0.002364/0.9068, allocations: 2.136 MB / 0.6278 GB, free: 1 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006085/0.9074, allocations: 397.4 kB / 0.6282 GB, free: 0.6094 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008135/0.9155, allocations: 4.266 MB / 0.6323 GB, free: 12.32 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.012e-05/0.9156, allocations: 24 kB / 0.6323 GB, free: 12.3 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.414e-05/0.9156, allocations: 8 kB / 0.6323 GB, free: 12.29 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.251e-05/0.9156, allocations: 7.969 kB / 0.6324 GB, free: 12.28 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0196/0.9352, allocations: 9.43 MB / 0.6416 GB, free: 2.84 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.246e-05/0.9352, allocations: 11.98 kB / 0.6416 GB, free: 2.828 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001452/0.9367, allocations: 283.6 kB / 0.6418 GB, free: 2.551 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004014/0.9407, allocations: 1.347 MB / 0.6432 GB, free: 1.199 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002295/0.9409, allocations: 36 kB / 0.6432 GB, free: 1.164 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01354/0.9544, allocations: 8.778 MB / 0.6518 GB, free: 8.27 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.729e-06/0.9545, allocations: 8 kB / 0.6518 GB, free: 8.262 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01229/0.9667, allocations: 7.247 MB / 0.6589 GB, free: 0.9844 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001131/0.9679, allocations: 369.2 kB / 0.6592 GB, free: 0.6211 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004581/0.9683, allocations: 32 kB / 0.6592 GB, free: 0.5898 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001553/0.9699, allocations: 123.8 kB / 0.6594 GB, free: 480 kB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003681/0.9702, allocations: 128.5 kB / 0.6595 GB, free: 356 kB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001507/0.9704, allocations: 55.94 kB / 0.6595 GB, free: 300 kB / 478.1 MB Notification: Performance of sorting global known variables: time 0.004264/0.9747, allocations: 2.633 MB / 0.6621 GB, free: 13.65 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.9747, allocations: 0 / 0.6621 GB, free: 13.65 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.00505/0.9797, allocations: 1.109 MB / 0.6632 GB, free: 12.54 MB / 494.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 (147): * Single equations (assignments): 143 * 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.0129/0.9926, allocations: 7.885 MB / 0.6709 GB, free: 4.621 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.009932/1.003, allocations: 5.821 MB / 0.6766 GB, free: 14.79 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.134e-05/1.003, allocations: 0 / 0.6766 GB, free: 14.79 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.00411/1.007, allocations: 2.069 MB / 0.6786 GB, free: 12.71 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003333/1.01, allocations: 0.5874 MB / 0.6792 GB, free: 12.14 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.08013/1.09, allocations: 49.86 MB / 0.7279 GB, free: 4.848 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00391/1.094, allocations: 2.859 MB / 0.7306 GB, free: 1.945 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.004215/1.098, allocations: 1.884 MB / 0.7325 GB, free: 56 kB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002775/1.101, allocations: 1.986 MB / 0.7344 GB, free: 14.1 MB / 0.5606 GB Notification: Performance of SimCode: time 8.21e-07/1.101, allocations: 0 / 0.7344 GB, free: 14.1 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3386/1.44, allocations: 87.33 MB / 0.8197 GB, free: 156.6 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 18.24/19.68, allocations: 10.47 kB / 0.8197 GB, free: 156.6 MB / 0.5606 GB " [Timeout remaining time 640] (rm -f Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip.pipe ; mkfifo Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip.pipe >> ../files/Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip.sim & python3 -m fmpy simulate --output-file Modelica_4.1.0_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_4_1_0_Modelica_Mechanics_MultiBody_Examples_Elementary_DoublePendulumInitTip.fmu > Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/MultiBody/Examples/Elementary/DoublePendulumInitTip/DoublePendulumInitTip.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_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: 22.33974684801069]