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.001347/0.001347, allocations: 127 kB / 17.79 MB, free: 5.242 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.001465/0.001465, allocations: 210.5 kB / 20.75 MB, free: 2.293 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.473/1.473, allocations: 230.4 MB / 254 MB, free: 15.04 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.001937/0.001937, allocations: 63.89 kB / 373 MB, free: 10.07 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1088/0.1108, allocations: 53.38 MB / 426.4 MB, free: 4.598 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip): time 0.2175/0.3283, allocations: 11.83 MB / 438.2 MB, free: 4.707 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.009795/0.3381, allocations: 4.365 MB / 442.6 MB, free: 2.348 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002425/0.3405, allocations: 100.7 kB / 442.7 MB, free: 2.309 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005086/0.3456, allocations: 2.907 MB / 445.6 MB, free: 0.9883 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005342/0.3509, allocations: 1.973 MB / 447.5 MB, free: 76 kB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002669/0.3536, allocations: 1.045 MB / 448.6 MB, free: 15.63 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.008617/0.3622, allocations: 5.59 MB / 454.2 MB, free: 13.55 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004641/0.3669, allocations: 3.3 MB / 457.5 MB, free: 11.64 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003437/0.3703, allocations: 1.733 MB / 459.2 MB, free: 10.66 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003894/0.3742, allocations: 2.476 MB / 461.7 MB, free: 9.137 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008091/0.375, allocations: 361.8 kB / 462 MB, free: 9.137 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002538/0.3775, allocations: 1.277 MB / 463.3 MB, free: 8.645 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002391/0.3799, allocations: 2.137 MB / 465.5 MB, free: 7.379 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003086/0.383, allocations: 2.481 MB / 467.9 MB, free: 5.477 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009852/0.3929, allocations: 7.909 MB / 475.8 MB, free: 14.98 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.779e-06/0.3929, allocations: 0 / 475.8 MB, free: 14.98 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.082e-06/0.3929, allocations: 0 / 475.8 MB, free: 14.98 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0002274/0.3931, allocations: 4 kB / 475.9 MB, free: 14.98 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.01538/0.4085, allocations: 5.575 MB / 481.4 MB, free: 9.32 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.361e-05/0.4085, allocations: 12.03 kB / 481.4 MB, free: 9.309 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001182/0.4097, allocations: 0.7076 MB / 482.1 MB, free: 8.59 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.174/0.5838, allocations: 12.38 MB / 494.5 MB, free: 12.19 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009875/0.5936, allocations: 3.971 MB / 498.5 MB, free: 8.16 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002184/0.5939, allocations: 238 kB / 498.7 MB, free: 7.926 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001136/0.595, allocations: 324.6 kB / 499 MB, free: 7.609 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01887/0.6139, allocations: 9.722 MB / 0.4968 GB, free: 13.24 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001402/0.614, allocations: 51.58 kB / 0.4969 GB, free: 13.19 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004194/0.6144, allocations: 151.9 kB / 0.497 GB, free: 13.04 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003439/0.6179, allocations: 1.904 MB / 0.4989 GB, free: 11.13 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01665/0.6345, allocations: 8.224 MB / 0.5069 GB, free: 2.895 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04969/0.6842, allocations: 37.77 MB / 0.5438 GB, free: 12.07 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008829/0.693, allocations: 3.701 MB / 0.5474 GB, free: 8.223 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002702/0.6957, allocations: 1.915 MB / 0.5493 GB, free: 6.297 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007393/0.6965, allocations: 0.6482 MB / 0.5499 GB, free: 5.539 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.714e-05/0.6965, allocations: 55.5 kB / 0.55 GB, free: 5.477 MB / 462.1 MB Notification: Performance of pre-optimization done (n=166): time 3.947e-06/0.6965, allocations: 0 / 0.55 GB, free: 5.477 MB / 462.1 MB Notification: Performance of matching and sorting (n=201): time 0.0598/0.7563, allocations: 21.11 MB / 0.5706 GB, free: 272 kB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001848/0.7565, allocations: 252.6 kB / 0.5708 GB, free: 15.96 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00643/0.7629, allocations: 4.181 MB / 0.5749 GB, free: 11.77 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004866/0.7634, allocations: 53.7 kB / 0.575 GB, free: 11.71 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002697/0.7661, allocations: 3.244 MB / 0.5781 GB, free: 8.43 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001159/0.7673, allocations: 0.7946 MB / 0.5789 GB, free: 7.629 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00171/0.769, allocations: 1.191 MB / 0.5801 GB, free: 6.426 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001304/0.7691, allocations: 305.1 kB / 0.5804 GB, free: 6.125 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003458/0.7726, allocations: 2.28 MB / 0.5826 GB, free: 3.84 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006404/0.779, allocations: 5.731 MB / 0.5882 GB, free: 12.38 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01104/0.79, allocations: 8.689 MB / 0.5967 GB, free: 1.992 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.052e-05/0.7901, allocations: 36 kB / 0.5967 GB, free: 1.957 MB / 0.4981 GB Notification: Performance of matching and sorting (n=759) (initialization): time 0.01923/0.8093, allocations: 9.538 MB / 0.606 GB, free: 8.398 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 8.786e-05/0.8094, allocations: 56 kB / 0.6061 GB, free: 8.344 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001476/0.8096, allocations: 132.1 kB / 0.6062 GB, free: 8.215 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006377/0.816, allocations: 2.071 MB / 0.6082 GB, free: 6.133 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004145/0.8201, allocations: 1.248 MB / 0.6094 GB, free: 4.883 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2253/1.045, allocations: 17.25 MB / 0.6263 GB, free: 151.7 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00455/1.05, allocations: 343.5 kB / 0.6266 GB, free: 151.6 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009157/1.051, allocations: 354.7 kB / 0.627 GB, free: 151.6 MB / 0.5137 GB 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.003883/1.055, allocations: 2.133 MB / 0.629 GB, free: 150.8 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009076/1.056, allocations: 403.4 kB / 0.6294 GB, free: 150.8 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00856/1.064, allocations: 4.265 MB / 0.6336 GB, free: 149.3 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.162e-05/1.064, allocations: 20.75 kB / 0.6336 GB, free: 149.3 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.156e-05/1.064, allocations: 8.891 kB / 0.6336 GB, free: 149.3 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.176e-05/1.064, allocations: 12.73 kB / 0.6336 GB, free: 149.3 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01774/1.082, allocations: 9.961 MB / 0.6434 GB, free: 145.7 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.329e-05/1.082, allocations: 1.219 kB / 0.6434 GB, free: 145.7 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001477/1.084, allocations: 288.2 kB / 0.6436 GB, free: 145.7 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003736/1.087, allocations: 1.357 MB / 0.645 GB, free: 145.4 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002372/1.088, allocations: 31.16 kB / 0.645 GB, free: 145.4 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01015/1.098, allocations: 8.978 MB / 0.6538 GB, free: 141.3 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.759e-06/1.098, allocations: 7.406 kB / 0.6538 GB, free: 141.3 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01032/1.108, allocations: 7.245 MB / 0.6608 GB, free: 138.5 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001174/1.109, allocations: 440.3 kB / 0.6613 GB, free: 138.2 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004658/1.11, allocations: 31.34 kB / 0.6613 GB, free: 138.2 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001523/1.111, allocations: 121.4 kB / 0.6614 GB, free: 138.2 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003783/1.112, allocations: 117.8 kB / 0.6615 GB, free: 138.1 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001355/1.112, allocations: 56.81 kB / 0.6616 GB, free: 138.1 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.003735/1.115, allocations: 2.639 MB / 0.6641 GB, free: 136.2 MB / 0.5137 GB Notification: Performance of sort global known variables: time 8e-08/1.115, allocations: 0 / 0.6641 GB, free: 136.2 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.005656/1.121, allocations: 1.105 MB / 0.6652 GB, free: 135.1 MB / 0.5137 GB 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.01005/1.131, allocations: 7.897 MB / 0.6729 GB, free: 127.2 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.008365/1.14, allocations: 5.828 MB / 0.6786 GB, free: 121.4 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 8.045e-06/1.14, allocations: 0 / 0.6786 GB, free: 121.4 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.003181/1.143, allocations: 2.06 MB / 0.6806 GB, free: 119.4 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003302/1.146, allocations: 0.5916 MB / 0.6812 GB, free: 118.8 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06688/1.213, allocations: 49.78 MB / 0.7298 GB, free: 63.71 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004403/1.217, allocations: 3.393 MB / 0.7331 GB, free: 60.3 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.004272/1.222, allocations: 1.885 MB / 0.735 GB, free: 58.41 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002877/1.224, allocations: 1.975 MB / 0.7369 GB, free: 56.44 MB / 0.5137 GB Notification: Performance of SimCode: time 1.042e-06/1.224, allocations: 4 kB / 0.7369 GB, free: 56.43 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4228/1.647, allocations: 84.07 MB / 0.819 GB, free: 175.2 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 27/28.64, allocations: 9.578 kB / 0.819 GB, free: 175.2 MB / 0.545 GB " [Timeout remaining time 631] (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: 31.331239781924523]