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.001298/0.001298, allocations: 111.6 kB / 18.45 MB, free: 4.59 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.001419/0.001419, allocations: 215.2 kB / 21.42 MB, free: 1.629 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.495/1.495, allocations: 207.6 MB / 231.8 MB, free: 4.223 MB / 174.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.001912/0.001912, allocations: 48.45 kB / 342.3 MB, free: 10.01 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1055/0.1074, allocations: 49.13 MB / 391.4 MB, free: 8.715 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip): time 0.01858/0.126, allocations: 12.39 MB / 403.8 MB, free: 12.28 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.01017/0.1362, allocations: 4.453 MB / 408.3 MB, free: 7.812 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002271/0.1385, allocations: 99.44 kB / 408.4 MB, free: 7.715 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005845/0.1443, allocations: 2.943 MB / 411.3 MB, free: 4.762 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005759/0.1501, allocations: 2.093 MB / 413.4 MB, free: 2.66 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002516/0.1526, allocations: 1.045 MB / 414.4 MB, free: 1.613 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.00786/0.1605, allocations: 5.319 MB / 419.8 MB, free: 12.28 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005157/0.1656, allocations: 3.38 MB / 423.1 MB, free: 8.836 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004015/0.1696, allocations: 1.803 MB / 424.9 MB, free: 7.027 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004517/0.1741, allocations: 2.593 MB / 427.5 MB, free: 4.426 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001094/0.1752, allocations: 384 kB / 427.9 MB, free: 4.051 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002651/0.1779, allocations: 1.287 MB / 429.2 MB, free: 2.762 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002729/0.1806, allocations: 2.259 MB / 431.5 MB, free: 0.4961 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003601/0.1842, allocations: 2.615 MB / 434.1 MB, free: 13.87 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01073/0.1949, allocations: 8.378 MB / 442.5 MB, free: 5.457 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.502e-06/0.195, allocations: 0 / 442.5 MB, free: 5.457 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.335e-06/0.195, allocations: 0 / 442.5 MB, free: 5.457 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0002095/0.1952, allocations: 8 kB / 442.5 MB, free: 5.449 MB / 366.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.01523/0.2104, allocations: 5.793 MB / 448.3 MB, free: 15.57 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.226e-05/0.2104, allocations: 12.03 kB / 448.3 MB, free: 15.56 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001286/0.2117, allocations: 0.748 MB / 449 MB, free: 14.8 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.1659/0.3776, allocations: 12.41 MB / 461.4 MB, free: 2.375 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.2048/0.5824, allocations: 4.55 MB / 466 MB, free: 60.43 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002251/0.5826, allocations: 244.2 kB / 466.2 MB, free: 60.42 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001086/0.5837, allocations: 342.7 kB / 466.5 MB, free: 60.42 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0168/0.6005, allocations: 10.22 MB / 476.8 MB, free: 55.87 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001258/0.6006, allocations: 52.08 kB / 476.8 MB, free: 55.84 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003899/0.601, allocations: 159.8 kB / 477 MB, free: 55.77 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003061/0.6041, allocations: 2.03 MB / 479 MB, free: 55.42 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01414/0.6182, allocations: 8.65 MB / 487.6 MB, free: 49.9 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03633/0.6545, allocations: 39.21 MB / 0.5145 GB, free: 10.08 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00749/0.662, allocations: 3.808 MB / 0.5182 GB, free: 6.121 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002019/0.6641, allocations: 1.96 MB / 0.5201 GB, free: 4.148 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004973/0.6646, allocations: 0.6517 MB / 0.5208 GB, free: 3.387 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.248e-05/0.6646, allocations: 51.5 kB / 0.5208 GB, free: 3.328 MB / 382.1 MB Notification: Performance of pre-optimization done (n=175): time 4.168e-06/0.6646, allocations: 0 / 0.5208 GB, free: 3.328 MB / 382.1 MB Notification: Performance of matching and sorting (n=210): time 0.05931/0.7239, allocations: 21.32 MB / 0.5417 GB, free: 14.1 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001735/0.7241, allocations: 264.5 kB / 0.5419 GB, free: 13.79 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007975/0.7321, allocations: 4.3 MB / 0.5461 GB, free: 9.461 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0007804/0.7328, allocations: 57.7 kB / 0.5462 GB, free: 9.398 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.003273/0.7361, allocations: 3.357 MB / 0.5494 GB, free: 6.008 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001666/0.7378, allocations: 0.8295 MB / 0.5503 GB, free: 5.172 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002414/0.7402, allocations: 1.226 MB / 0.5514 GB, free: 3.934 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001407/0.7403, allocations: 309.1 kB / 0.5517 GB, free: 3.629 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003937/0.7443, allocations: 2.342 MB / 0.554 GB, free: 1.281 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006997/0.7513, allocations: 5.881 MB / 0.5598 GB, free: 9.637 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01266/0.7639, allocations: 8.914 MB / 0.5685 GB, free: 14.98 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.554e-05/0.764, allocations: 36 kB / 0.5685 GB, free: 14.95 MB / 446.1 MB Notification: Performance of matching and sorting (n=781) (initialization): time 0.02176/0.7858, allocations: 9.757 MB / 0.578 GB, free: 5.168 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001034/0.7859, allocations: 60 kB / 0.5781 GB, free: 5.109 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001723/0.7861, allocations: 124 kB / 0.5782 GB, free: 4.988 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00664/0.7927, allocations: 2.083 MB / 0.5803 GB, free: 2.895 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004588/0.7973, allocations: 1.298 MB / 0.5815 GB, free: 1.594 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02553/0.8228, allocations: 17.19 MB / 0.5983 GB, free: 15.98 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005117/0.8279, allocations: 351.5 kB / 0.5986 GB, free: 15.64 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009759/0.8289, allocations: 364 kB / 0.599 GB, free: 15.29 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.00442/0.8333, allocations: 2.224 MB / 0.6012 GB, free: 13.05 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001017/0.8343, allocations: 405.3 kB / 0.6015 GB, free: 12.65 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009238/0.8436, allocations: 4.392 MB / 0.6058 GB, free: 8.234 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.158e-05/0.8436, allocations: 24 kB / 0.6059 GB, free: 8.211 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.996e-05/0.8437, allocations: 8 kB / 0.6059 GB, free: 8.203 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.519e-05/0.8437, allocations: 7.969 kB / 0.6059 GB, free: 8.195 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02099/0.8647, allocations: 10.33 MB / 0.616 GB, free: 13.76 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.546e-05/0.8647, allocations: 0 / 0.616 GB, free: 13.76 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001522/0.8662, allocations: 311.5 kB / 0.6163 GB, free: 13.45 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004197/0.8704, allocations: 1.351 MB / 0.6176 GB, free: 12.1 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002186/0.8706, allocations: 35.98 kB / 0.6176 GB, free: 12.06 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01395/0.8846, allocations: 8.972 MB / 0.6264 GB, free: 2.945 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.859e-06/0.8846, allocations: 3.938 kB / 0.6264 GB, free: 2.941 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01345/0.898, allocations: 7.434 MB / 0.6336 GB, free: 11.46 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002062/0.9001, allocations: 0.7599 MB / 0.6344 GB, free: 10.68 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000567/0.9007, allocations: 36 kB / 0.6344 GB, free: 10.65 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001695/0.9024, allocations: 135.8 kB / 0.6345 GB, free: 10.52 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004172/0.9028, allocations: 117.1 kB / 0.6347 GB, free: 10.4 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001636/0.9029, allocations: 52 kB / 0.6347 GB, free: 10.35 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.00493/0.9079, allocations: 2.718 MB / 0.6374 GB, free: 7.629 MB / 0.4981 GB Notification: Performance of sort global known variables: time 9e-08/0.9079, allocations: 0 / 0.6374 GB, free: 7.629 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.005998/0.9139, allocations: 1.148 MB / 0.6385 GB, free: 6.48 MB / 0.4981 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 (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.2181/1.132, allocations: 8.087 MB / 0.6464 GB, free: 167.5 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.01258/1.145, allocations: 5.996 MB / 0.6522 GB, free: 166.6 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 7.003e-06/1.145, allocations: 1.125 kB / 0.6522 GB, free: 166.6 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.004477/1.149, allocations: 2.108 MB / 0.6543 GB, free: 165.9 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004804/1.154, allocations: 0.5897 MB / 0.6549 GB, free: 165.6 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0728/1.227, allocations: 51.41 MB / 0.7051 GB, free: 125.6 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003841/1.231, allocations: 3.539 MB / 0.7085 GB, free: 122 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.003881/1.234, allocations: 1.928 MB / 0.7104 GB, free: 120.1 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002494/1.237, allocations: 2.096 MB / 0.7125 GB, free: 118 MB / 0.4981 GB Notification: Performance of SimCode: time 1.503e-06/1.237, allocations: 0 / 0.7125 GB, free: 118 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1334/1.37, allocations: 86.44 MB / 0.7969 GB, free: 31.49 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 22.53/23.9, allocations: 7.797 kB / 0.7969 GB, free: 31.48 MB / 0.4981 GB " [Timeout remaining time 636] (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: 26.627677896991372]