Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip.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.001844/0.001844, 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 trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001867/0.001867, allocations: 213 kB / 23.73 MB, free: 4.164 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.456/1.456, allocations: 230.5 MB / 257.4 MB, free: 7.789 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.DoublePendulumInitTip,fileNamePrefix="Modelica_trunk_Modelica_Mechanics_MultiBody_Examples_Elementary_DoublePendulumInitTip",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip,fileNamePrefix="Modelica_trunk_Modelica_Mechanics_MultiBody_Examples_Elementary_DoublePendulumInitTip",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002005/0.002005, allocations: 55.91 kB / 377.7 MB, free: 2.828 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2163/0.2183, allocations: 53.42 MB / 431.2 MB, free: 6.422 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip): time 0.01406/0.2323, allocations: 10.33 MB / 441.5 MB, free: 12.05 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.009258/0.2416, allocations: 4.153 MB / 445.6 MB, free: 7.891 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001694/0.2433, allocations: 99.44 kB / 445.7 MB, free: 7.793 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005806/0.2491, allocations: 2.803 MB / 448.5 MB, free: 4.98 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005015/0.2541, allocations: 1.992 MB / 450.5 MB, free: 2.98 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002431/0.2565, allocations: 1.033 MB / 451.6 MB, free: 1.945 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.007732/0.2643, allocations: 5.608 MB / 457.2 MB, free: 12.33 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004378/0.2686, allocations: 3.058 MB / 460.2 MB, free: 9.199 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002963/0.2716, allocations: 1.733 MB / 462 MB, free: 7.461 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003705/0.2753, allocations: 2.328 MB / 464.3 MB, free: 5.125 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008217/0.2761, allocations: 368 kB / 464.6 MB, free: 4.766 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002215/0.2783, allocations: 1.143 MB / 465.8 MB, free: 3.621 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002284/0.2806, allocations: 2.139 MB / 467.9 MB, free: 1.477 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002485/0.2831, allocations: 1.88 MB / 469.8 MB, free: 15.58 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009493/0.2926, allocations: 7.946 MB / 477.8 MB, free: 7.609 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.41e-06/0.2926, allocations: 0 / 477.8 MB, free: 7.609 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.874e-06/0.2926, allocations: 0 / 477.8 MB, free: 7.609 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0001723/0.2928, allocations: 0 / 477.8 MB, free: 7.609 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.01537/0.3082, allocations: 5.503 MB / 483.3 MB, free: 2.047 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.201e-05/0.3082, allocations: 11.98 kB / 483.3 MB, free: 2.035 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002/0.3102, allocations: 0.711 MB / 484 MB, free: 1.312 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.1735/0.4837, allocations: 12.38 MB / 496.4 MB, free: 4.914 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01071/0.4944, allocations: 3.891 MB / 0.4885 GB, free: 0.9727 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002495/0.4947, allocations: 238.1 kB / 0.4888 GB, free: 0.7383 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001143/0.4958, allocations: 323.8 kB / 0.4891 GB, free: 432 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01823/0.5141, allocations: 9.823 MB / 0.4987 GB, free: 5.926 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001883/0.5143, allocations: 51.59 kB / 0.4987 GB, free: 5.875 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007423/0.515, allocations: 147.9 kB / 0.4988 GB, free: 5.73 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003538/0.5185, allocations: 1.908 MB / 0.5007 GB, free: 3.812 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01715/0.5357, allocations: 8.214 MB / 0.5087 GB, free: 11.59 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2561/0.7918, allocations: 35.73 MB / 0.5436 GB, free: 77.38 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007245/0.799, allocations: 3.241 MB / 0.5468 GB, free: 77.28 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001991/0.801, allocations: 1.918 MB / 0.5487 GB, free: 76.63 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004417/0.8015, allocations: 209.1 kB / 0.5489 GB, free: 76.6 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.057e-05/0.8015, allocations: 54.34 kB / 0.5489 GB, free: 76.55 MB / 446.1 MB Notification: Performance of pre-optimization done (n=166): time 4.127e-06/0.8015, allocations: 0 / 0.5489 GB, free: 76.55 MB / 446.1 MB Notification: Performance of matching and sorting (n=201): time 0.04849/0.85, allocations: 20.97 MB / 0.5694 GB, free: 63.52 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.555e-05/0.8501, allocations: 260.6 kB / 0.5696 GB, free: 63.21 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004094/0.8542, allocations: 4.378 MB / 0.5739 GB, free: 58.96 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002065/0.8544, allocations: 57.7 kB / 0.574 GB, free: 58.89 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001203/0.8556, allocations: 3.248 MB / 0.5771 GB, free: 55.92 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000491/0.8561, allocations: 0.7977 MB / 0.5779 GB, free: 55.13 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001125/0.8572, allocations: 1.183 MB / 0.5791 GB, free: 53.94 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 3.266e-05/0.8572, allocations: 309.1 kB / 0.5794 GB, free: 53.63 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002412/0.8596, allocations: 2.272 MB / 0.5816 GB, free: 51.36 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003522/0.8631, allocations: 5.837 MB / 0.5873 GB, free: 43.82 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00697/0.8701, allocations: 8.678 MB / 0.5958 GB, free: 33.58 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.397e-05/0.8702, allocations: 39.94 kB / 0.5958 GB, free: 33.54 MB / 446.1 MB Notification: Performance of matching and sorting (n=759) (initialization): time 0.01703/0.8872, allocations: 9.539 MB / 0.6051 GB, free: 23.99 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.868e-05/0.8873, allocations: 60 kB / 0.6052 GB, free: 23.93 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001149/0.8874, allocations: 122.6 kB / 0.6053 GB, free: 23.81 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005337/0.8928, allocations: 2.073 MB / 0.6073 GB, free: 21.73 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003679/0.8964, allocations: 1.248 MB / 0.6085 GB, free: 20.48 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01765/0.9141, allocations: 16.78 MB / 0.6249 GB, free: 3.387 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004353/0.9184, allocations: 347.6 kB / 0.6252 GB, free: 3.047 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006969/0.9191, allocations: 348 kB / 0.6256 GB, free: 2.707 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.002661/0.9218, allocations: 2.131 MB / 0.6277 GB, free: 0.5625 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006686/0.9225, allocations: 397.3 kB / 0.628 GB, free: 176 kB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008653/0.9311, allocations: 4.268 MB / 0.6322 GB, free: 11.88 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.19e-05/0.9312, allocations: 20 kB / 0.6322 GB, free: 11.86 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.34e-05/0.9312, allocations: 8 kB / 0.6322 GB, free: 11.85 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.389e-05/0.9312, allocations: 7.969 kB / 0.6322 GB, free: 11.84 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02203/0.9532, allocations: 9.439 MB / 0.6415 GB, free: 2.395 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.41e-05/0.9533, allocations: 4 kB / 0.6415 GB, free: 2.391 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001601/0.9549, allocations: 283.5 kB / 0.6417 GB, free: 2.113 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004364/0.9592, allocations: 1.351 MB / 0.643 GB, free: 0.7578 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003699/0.9596, allocations: 35.98 kB / 0.6431 GB, free: 0.7227 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01456/0.9741, allocations: 8.781 MB / 0.6517 GB, free: 7.832 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.248e-06/0.9741, allocations: 0 / 0.6517 GB, free: 7.832 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01437/0.9885, allocations: 7.256 MB / 0.6587 GB, free: 0.543 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001239/0.9898, allocations: 373.2 kB / 0.6591 GB, free: 180 kB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00106/0.9908, allocations: 28 kB / 0.6591 GB, free: 152 kB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002344/0.9932, allocations: 123.8 kB / 0.6592 GB, free: 28 kB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005384/0.9937, allocations: 125 kB / 0.6594 GB, free: 15.91 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002405/0.9939, allocations: 52.14 kB / 0.6594 GB, free: 15.86 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.004959/0.9989, allocations: 2.637 MB / 0.662 GB, free: 13.21 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.9989, allocations: 2.906 kB / 0.662 GB, free: 13.21 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.005157/1.004, allocations: 1.101 MB / 0.6631 GB, free: 12.11 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.01343/1.017, allocations: 7.898 MB / 0.6708 GB, free: 4.18 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.01051/1.028, allocations: 5.816 MB / 0.6765 GB, free: 14.35 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 8.385e-06/1.028, allocations: 3.984 kB / 0.6765 GB, free: 14.34 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.004155/1.032, allocations: 2.065 MB / 0.6785 GB, free: 12.27 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003921/1.036, allocations: 0.5802 MB / 0.679 GB, free: 11.7 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.09013/1.126, allocations: 49.88 MB / 0.7278 GB, free: 4.383 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005056/1.131, allocations: 2.855 MB / 0.7305 GB, free: 1.48 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.004664/1.136, allocations: 1.884 MB / 0.7324 GB, free: 15.59 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003401/1.139, allocations: 1.983 MB / 0.7343 GB, free: 13.61 MB / 0.5606 GB Notification: Performance of SimCode: time 9.32e-07/1.139, allocations: 0 / 0.7343 GB, free: 13.61 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3177/1.457, allocations: 84.77 MB / 0.8171 GB, free: 158.2 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 18.23/19.69, allocations: 7.984 kB / 0.8171 GB, free: 158.2 MB / 0.5606 GB " [Timeout remaining time 640] (rm -f Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip.pipe ; mkfifo Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip.pipe >> ../files/Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip.sim & python3 -m fmpy simulate --output-file Modelica_trunk_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_trunk_Modelica_Mechanics_MultiBody_Examples_Elementary_DoublePendulumInitTip.fmu > Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_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_trunk_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.33277755929157]