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.0009506/0.0009506, allocations: 87.62 kB / 21.43 MB, free: 3.133 MB / 18.57 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.004292/0.004292, allocations: 166.4 kB / 24.7 MB, free: 9.43 MB / 18.57 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 0.7911/0.7911, allocations: 158.6 MB / 186.5 MB, free: 3.031 MB / 170.7 MB " [Timeout remaining time 179] 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: Performance of FrontEnd - loaded program: time 1.343e-06/1.343e-06, allocations: 0 / 298.4 MB, free: 3.516 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 9.688e-06/1.103e-05, allocations: 2.281 kB / 298.4 MB, free: 3.512 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip): time 0.1155/0.1156, allocations: 10.81 MB / 309.3 MB, free: 9.852 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.00608/0.1216, allocations: 4.263 MB / 313.5 MB, free: 7.145 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001027/0.1227, allocations: 102.8 kB / 313.6 MB, free: 7.105 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002769/0.1254, allocations: 2.972 MB / 316.6 MB, free: 5.836 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002665/0.1281, allocations: 2.171 MB / 318.8 MB, free: 4.793 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001169/0.1293, allocations: 1.129 MB / 319.9 MB, free: 4.246 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.003846/0.1331, allocations: 5.99 MB / 325.9 MB, free: 0.9805 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002964/0.1361, allocations: 3.675 MB / 329.6 MB, free: 14.48 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00266/0.1387, allocations: 2.751 MB / 332.3 MB, free: 12.72 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002319/0.1411, allocations: 2.681 MB / 335 MB, free: 10.04 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003697/0.1414, allocations: 392 kB / 335.4 MB, free: 9.652 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001205/0.1426, allocations: 1.225 MB / 336.6 MB, free: 8.422 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001234/0.1439, allocations: 2.365 MB / 339 MB, free: 6.051 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001122/0.145, allocations: 1.609 MB / 340.6 MB, free: 4.438 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005225/0.1502, allocations: 8.501 MB / 349.1 MB, free: 11.91 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.356e-06/0.1502, allocations: 0 / 349.1 MB, free: 11.91 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.282e-06/0.1502, allocations: 0 / 349.1 MB, free: 11.91 MB / 314.7 MB Notification: Performance of Transformations before backend: time 6.501e-05/0.1503, allocations: 0 / 349.1 MB, free: 11.91 MB / 314.7 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.007716/0.158, allocations: 5.801 MB / 354.9 MB, free: 6.043 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.705e-05/0.158, allocations: 15.98 kB / 354.9 MB, free: 6.027 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006064/0.1587, allocations: 0.7364 MB / 355.6 MB, free: 5.281 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.07366/0.2323, allocations: 12.84 MB / 368.5 MB, free: 8.422 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006613/0.2389, allocations: 3.959 MB / 372.4 MB, free: 4.414 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001415/0.2391, allocations: 250.9 kB / 372.7 MB, free: 4.168 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006484/0.2397, allocations: 339.7 kB / 373 MB, free: 3.836 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01143/0.2511, allocations: 10.32 MB / 383.3 MB, free: 8.82 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001092/0.2512, allocations: 55.58 kB / 383.4 MB, free: 8.766 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003195/0.2516, allocations: 155.8 kB / 383.5 MB, free: 8.613 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00201/0.2536, allocations: 2.029 MB / 385.5 MB, free: 6.578 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0108/0.2644, allocations: 8.613 MB / 394.2 MB, free: 13.96 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03572/0.3001, allocations: 37.55 MB / 431.7 MB, free: 7.406 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00561/0.3057, allocations: 3.45 MB / 435.2 MB, free: 3.914 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00188/0.3076, allocations: 1.976 MB / 437.1 MB, free: 1.93 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003237/0.3079, allocations: 196.8 kB / 437.3 MB, free: 1.734 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.08e-05/0.308, allocations: 55.5 kB / 437.4 MB, free: 1.672 MB / 394.7 MB Notification: Performance of pre-optimization done (n=175): time 5.17e-06/0.308, allocations: 0 / 437.4 MB, free: 1.672 MB / 394.7 MB Notification: Performance of matching and sorting (n=210): time 0.03555/0.3435, allocations: 22.01 MB / 459.4 MB, free: 11.62 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001009/0.3436, allocations: 260.6 kB / 459.7 MB, free: 11.31 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005358/0.349, allocations: 4.934 MB / 464.6 MB, free: 6.348 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003573/0.3493, allocations: 57.7 kB / 464.6 MB, free: 6.285 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001666/0.351, allocations: 3.342 MB / 468 MB, free: 2.91 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007691/0.3518, allocations: 0.8139 MB / 468.8 MB, free: 2.09 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001198/0.353, allocations: 1.203 MB / 470 MB, free: 0.875 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 8.061e-05/0.353, allocations: 317 kB / 470.3 MB, free: 0.5625 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.1288/0.4819, allocations: 2.33 MB / 472.6 MB, free: 136.2 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004179/0.486, allocations: 5.987 MB / 478.6 MB, free: 130.9 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00717/0.4932, allocations: 8.908 MB / 487.5 MB, free: 123.9 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001178/0.4933, allocations: 39.28 kB / 487.6 MB, free: 123.9 MB / 426.7 MB Notification: Performance of matching and sorting (n=781) (initialization): time 0.01354/0.5069, allocations: 9.756 MB / 497.3 MB, free: 120.6 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.802e-05/0.5069, allocations: 60.84 kB / 497.4 MB, free: 120.6 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000103/0.507, allocations: 122.9 kB / 497.5 MB, free: 120.6 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003252/0.5103, allocations: 2.096 MB / 499.6 MB, free: 120.2 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002276/0.5126, allocations: 1.299 MB / 0.4892 GB, free: 120 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0128/0.5254, allocations: 16.79 MB / 0.5056 GB, free: 108.7 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004221/0.5296, allocations: 420.9 kB / 0.506 GB, free: 108.4 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008329/0.5304, allocations: 363.7 kB / 0.5063 GB, free: 108.1 MB / 426.7 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.002639/0.533, allocations: 2.228 MB / 0.5085 GB, free: 106 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006539/0.5337, allocations: 404.1 kB / 0.5089 GB, free: 105.8 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00447/0.5382, allocations: 4.395 MB / 0.5132 GB, free: 101.4 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.225e-05/0.5382, allocations: 23.94 kB / 0.5132 GB, free: 101.4 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.307e-06/0.5382, allocations: 8 kB / 0.5132 GB, free: 101.4 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.277e-05/0.5382, allocations: 11.97 kB / 0.5132 GB, free: 101.4 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01055/0.5488, allocations: 9.93 MB / 0.5229 GB, free: 91.48 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.035e-06/0.5488, allocations: 0 / 0.5229 GB, free: 91.48 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007339/0.5495, allocations: 315.5 kB / 0.5232 GB, free: 91.17 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001976/0.5515, allocations: 1.351 MB / 0.5245 GB, free: 89.82 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001159/0.5516, allocations: 32.88 kB / 0.5246 GB, free: 89.79 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006695/0.5583, allocations: 8.868 MB / 0.5332 GB, free: 80.88 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.816e-06/0.5583, allocations: 0 / 0.5332 GB, free: 80.88 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006881/0.5652, allocations: 7.427 MB / 0.5405 GB, free: 73.54 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001531/0.5667, allocations: 0.7637 MB / 0.5412 GB, free: 72.78 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000442/0.5671, allocations: 35.94 kB / 0.5412 GB, free: 72.74 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001191/0.5683, allocations: 199.7 kB / 0.5414 GB, free: 72.55 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002641/0.5686, allocations: 132.8 kB / 0.5416 GB, free: 72.42 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.15e-05/0.5687, allocations: 55.98 kB / 0.5416 GB, free: 72.36 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.003057/0.5718, allocations: 3.046 MB / 0.5446 GB, free: 69.31 MB / 426.7 MB Notification: Performance of sort global known variables: time 3.31e-07/0.5718, allocations: 0 / 0.5446 GB, free: 69.31 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.004505/0.5763, allocations: 1.337 MB / 0.5459 GB, free: 67.98 MB / 426.7 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 (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.00688/0.5831, allocations: 8.11 MB / 0.5538 GB, free: 59.84 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.00601/0.5891, allocations: 5.996 MB / 0.5597 GB, free: 53.84 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 5.4e-06/0.5892, allocations: 4.281 kB / 0.5597 GB, free: 53.83 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002085/0.5912, allocations: 2.11 MB / 0.5617 GB, free: 51.71 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002626/0.5939, allocations: 0.5984 MB / 0.5623 GB, free: 51.13 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05592/0.6498, allocations: 52.9 MB / 0.614 GB, free: 8.676 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003337/0.6531, allocations: 3 MB / 0.6169 GB, free: 5.641 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.1481/0.8012, allocations: 1.937 MB / 0.6188 GB, free: 141.2 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003343/0.8046, allocations: 2.107 MB / 0.6209 GB, free: 141.2 MB / 442.7 MB Notification: Performance of SimCode: time 2.074e-06/0.8046, allocations: 0 / 0.6209 GB, free: 141.2 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1082/0.9128, allocations: 90.22 MB / 0.709 GB, free: 74.04 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.31/12.22, allocations: 7.797 kB / 0.709 GB, free: 74.03 MB / 442.7 MB " [Timeout remaining time 648] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Mechanics_MultiBody_Examples_Elementary_DoublePendulumInitTip_fmu --startTime=0 --stopTime=5 --stepSize=0.0009996 --timeout=50 --tolerance=1e-06 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.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Mechanics/MultiBody/Examples/Elementary/DoublePendulumInitTip/DoublePendulumInitTip.csv","/var/lib/jenkins/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: 14.2439100490883]