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.001327/0.001327, allocations: 111.1 kB / 20.44 MB, free: 1.062 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.001456/0.001456, allocations: 214.2 kB / 23.73 MB, free: 4.16 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.444/1.444, allocations: 230.6 MB / 257.5 MB, free: 7.805 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.001697/0.001697, allocations: 51.92 kB / 377.7 MB, free: 3.059 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2209/0.2226, allocations: 53.38 MB / 431.1 MB, free: 6.637 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip): time 0.01386/0.2365, allocations: 10.32 MB / 441.4 MB, free: 12.27 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.009499/0.246, allocations: 4.158 MB / 445.6 MB, free: 8.105 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00161/0.2476, allocations: 99.38 kB / 445.7 MB, free: 8.008 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00547/0.2531, allocations: 2.807 MB / 448.5 MB, free: 5.191 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004677/0.2577, allocations: 1.992 MB / 450.5 MB, free: 3.191 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002122/0.2599, allocations: 1.033 MB / 451.5 MB, free: 2.156 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.007298/0.2672, allocations: 5.604 MB / 457.1 MB, free: 12.54 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003837/0.271, allocations: 3.058 MB / 460.2 MB, free: 9.418 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002687/0.2737, allocations: 1.737 MB / 461.9 MB, free: 7.676 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00388/0.2776, allocations: 2.332 MB / 464.2 MB, free: 5.336 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00107/0.2786, allocations: 360 kB / 464.6 MB, free: 4.984 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002506/0.2811, allocations: 1.143 MB / 465.7 MB, free: 3.84 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00246/0.2836, allocations: 2.139 MB / 467.9 MB, free: 1.695 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002677/0.2863, allocations: 1.884 MB / 469.8 MB, free: 15.8 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01029/0.2966, allocations: 7.939 MB / 477.7 MB, free: 7.832 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.402e-06/0.2966, allocations: 0 / 477.7 MB, free: 7.832 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.713e-06/0.2966, allocations: 0 / 477.7 MB, free: 7.832 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0001695/0.2967, allocations: 4 kB / 477.7 MB, free: 7.828 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.01383/0.3106, allocations: 5.504 MB / 483.2 MB, free: 2.262 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.035e-05/0.3106, allocations: 8.031 kB / 483.2 MB, free: 2.254 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001046/0.3117, allocations: 0.6993 MB / 483.9 MB, free: 1.543 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.1733/0.485, allocations: 12.39 MB / 496.3 MB, free: 5.137 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01011/0.4951, allocations: 3.891 MB / 0.4885 GB, free: 1.195 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002551/0.4954, allocations: 238.1 kB / 0.4887 GB, free: 0.9609 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001185/0.4965, allocations: 323.8 kB / 0.489 GB, free: 0.6445 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01778/0.5143, allocations: 9.815 MB / 0.4986 GB, free: 6.156 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000176/0.5145, allocations: 51.59 kB / 0.4986 GB, free: 6.105 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007145/0.5152, allocations: 147.9 kB / 0.4988 GB, free: 5.961 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003634/0.5189, allocations: 1.908 MB / 0.5006 GB, free: 4.043 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0173/0.5362, allocations: 8.214 MB / 0.5087 GB, free: 11.82 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.243/0.7791, allocations: 35.73 MB / 0.5436 GB, free: 77.64 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007556/0.7867, allocations: 3.238 MB / 0.5467 GB, free: 77.54 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002068/0.7887, allocations: 1.922 MB / 0.5486 GB, free: 76.89 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004432/0.7892, allocations: 210.7 kB / 0.5488 GB, free: 76.86 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.891e-05/0.7892, allocations: 49.44 kB / 0.5488 GB, free: 76.82 MB / 446.1 MB Notification: Performance of pre-optimization done (n=166): time 4.278e-06/0.7892, allocations: 0 / 0.5488 GB, free: 76.82 MB / 446.1 MB Notification: Performance of matching and sorting (n=201): time 0.04926/0.8385, allocations: 20.97 MB / 0.5693 GB, free: 63.89 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.786e-05/0.8385, allocations: 256.6 kB / 0.5696 GB, free: 63.59 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004453/0.843, allocations: 4.381 MB / 0.5738 GB, free: 59.34 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002293/0.8432, allocations: 61.67 kB / 0.5739 GB, free: 59.28 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00123/0.8445, allocations: 3.24 MB / 0.5771 GB, free: 56.3 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004996/0.845, allocations: 0.7965 MB / 0.5778 GB, free: 55.52 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001115/0.8461, allocations: 1.187 MB / 0.579 GB, free: 54.32 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 3.196e-05/0.8461, allocations: 301.1 kB / 0.5793 GB, free: 54.02 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002414/0.8485, allocations: 2.279 MB / 0.5815 GB, free: 51.74 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003352/0.8519, allocations: 5.84 MB / 0.5872 GB, free: 44.21 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006538/0.8584, allocations: 8.676 MB / 0.5957 GB, free: 33.97 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.774e-05/0.8585, allocations: 39.94 kB / 0.5957 GB, free: 33.93 MB / 446.1 MB Notification: Performance of matching and sorting (n=759) (initialization): time 0.0138/0.8723, allocations: 9.54 MB / 0.605 GB, free: 24.38 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.92e-05/0.8723, allocations: 56 kB / 0.6051 GB, free: 24.32 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.798e-05/0.8724, allocations: 120.9 kB / 0.6052 GB, free: 24.21 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005152/0.8776, allocations: 2.077 MB / 0.6072 GB, free: 22.12 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003185/0.8807, allocations: 1.255 MB / 0.6085 GB, free: 20.87 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01732/0.8981, allocations: 16.78 MB / 0.6249 GB, free: 3.77 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004254/0.9023, allocations: 343.5 kB / 0.6252 GB, free: 3.434 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000479/0.9028, allocations: 348 kB / 0.6255 GB, free: 3.094 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.002502/0.9053, allocations: 2.144 MB / 0.6276 GB, free: 0.9492 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000533/0.9058, allocations: 393.4 kB / 0.628 GB, free: 0.5625 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008096/0.9139, allocations: 4.268 MB / 0.6322 GB, free: 12.27 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.353e-05/0.914, allocations: 20 kB / 0.6322 GB, free: 12.25 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.406e-05/0.914, allocations: 12 kB / 0.6322 GB, free: 12.24 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.216e-05/0.914, allocations: 11.97 kB / 0.6322 GB, free: 12.23 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01806/0.9321, allocations: 9.423 MB / 0.6414 GB, free: 2.789 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.105e-05/0.9321, allocations: 0 / 0.6414 GB, free: 2.789 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001374/0.9334, allocations: 287.5 kB / 0.6417 GB, free: 2.508 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004031/0.9375, allocations: 1.351 MB / 0.643 GB, free: 1.152 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001661/0.9376, allocations: 32 kB / 0.643 GB, free: 1.121 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01353/0.9512, allocations: 8.791 MB / 0.6516 GB, free: 8.219 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.665e-06/0.9512, allocations: 0 / 0.6516 GB, free: 8.219 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01231/0.9635, allocations: 7.257 MB / 0.6587 GB, free: 0.9336 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001/0.9645, allocations: 365.2 kB / 0.659 GB, free: 0.5742 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004435/0.9649, allocations: 32 kB / 0.6591 GB, free: 0.543 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001581/0.9665, allocations: 123.8 kB / 0.6592 GB, free: 432 kB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003457/0.9669, allocations: 121.2 kB / 0.6593 GB, free: 312 kB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000152/0.967, allocations: 62.91 kB / 0.6594 GB, free: 252 kB / 478.1 MB Notification: Performance of sorting global known variables: time 0.004088/0.9711, allocations: 2.641 MB / 0.6619 GB, free: 13.6 MB / 494.1 MB Notification: Performance of sort global known variables: time 9e-08/0.9711, allocations: 0 / 0.6619 GB, free: 13.6 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.004616/0.9757, allocations: 1.098 MB / 0.663 GB, free: 12.5 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.01262/0.9883, allocations: 7.891 MB / 0.6707 GB, free: 4.57 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.01034/0.9987, allocations: 5.823 MB / 0.6764 GB, free: 14.73 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 5.871e-06/0.9987, allocations: 0 / 0.6764 GB, free: 14.73 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.004215/1.003, allocations: 2.064 MB / 0.6784 GB, free: 12.66 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003698/1.007, allocations: 0.5845 MB / 0.679 GB, free: 12.09 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.08722/1.094, allocations: 49.86 MB / 0.7277 GB, free: 4.785 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003989/1.098, allocations: 2.863 MB / 0.7305 GB, free: 1.879 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.004348/1.102, allocations: 1.88 MB / 0.7323 GB, free: 15.99 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002832/1.105, allocations: 1.979 MB / 0.7342 GB, free: 14.01 MB / 0.5606 GB Notification: Performance of SimCode: time 9.22e-07/1.105, allocations: 0 / 0.7342 GB, free: 14.01 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3317/1.437, allocations: 84.8 MB / 0.8171 GB, free: 159 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 18.32/19.76, allocations: 23.3 kB / 0.8171 GB, free: 159 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.361119667068124]