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.0008186/0.0008186, allocations: 76.36 kB / 20.67 MB, free: 3.898 MB / 18.57 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.0008057/0.0008057, allocations: 156.9 kB / 23.95 MB, free: 0.6172 MB / 18.57 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 0.9082/0.9082, allocations: 177 MB / 204.1 MB, free: 5.734 MB / 186.7 MB " [Timeout remaining time 179] 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 1.252e-06/1.252e-06, allocations: 0 / 324.5 MB, free: 15.89 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.04e-05/1.165e-05, allocations: 3.125 kB / 324.5 MB, free: 15.89 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip): time 0.007798/0.007809, allocations: 10.36 MB / 334.9 MB, free: 5.48 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.004605/0.01241, allocations: 4.164 MB / 339 MB, free: 1.305 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005978/0.01301, allocations: 103.4 kB / 339.1 MB, free: 1.203 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002704/0.01572, allocations: 2.943 MB / 342.1 MB, free: 14.25 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002182/0.0179, allocations: 2.041 MB / 344.1 MB, free: 12.2 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001137/0.01903, allocations: 1.13 MB / 345.3 MB, free: 11.07 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.004162/0.0232, allocations: 6.338 MB / 351.6 MB, free: 4.719 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002541/0.02574, allocations: 3.588 MB / 355.2 MB, free: 1.062 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002112/0.02785, allocations: 2.635 MB / 357.8 MB, free: 14.42 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001942/0.02979, allocations: 2.568 MB / 360.4 MB, free: 11.85 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003172/0.03011, allocations: 375.9 kB / 360.8 MB, free: 11.48 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001148/0.03126, allocations: 1.198 MB / 362 MB, free: 10.28 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001195/0.03245, allocations: 2.248 MB / 364.2 MB, free: 8.027 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001003/0.03345, allocations: 1.507 MB / 365.7 MB, free: 6.516 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004791/0.03825, allocations: 8.038 MB / 373.7 MB, free: 14.45 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.507e-06/0.03825, allocations: 0 / 373.7 MB, free: 14.45 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.943e-06/0.03825, allocations: 0 / 373.7 MB, free: 14.45 MB / 346.7 MB Notification: Performance of Transformations before backend: time 4.833e-05/0.0383, allocations: 0 / 373.7 MB, free: 14.45 MB / 346.7 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.006875/0.04517, allocations: 5.586 MB / 379.3 MB, free: 8.805 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.29e-05/0.04522, allocations: 15.98 kB / 379.3 MB, free: 8.789 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005784/0.0458, allocations: 0.711 MB / 380.1 MB, free: 8.066 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.07581/0.1216, allocations: 12.79 MB / 392.8 MB, free: 11.26 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005641/0.1272, allocations: 3.551 MB / 396.4 MB, free: 7.664 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001179/0.1274, allocations: 242.2 kB / 396.6 MB, free: 7.426 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004283/0.1278, allocations: 323.8 kB / 396.9 MB, free: 7.109 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009281/0.1371, allocations: 9.819 MB / 406.8 MB, free: 12.62 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.724e-05/0.1372, allocations: 55.58 kB / 406.8 MB, free: 12.56 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002692/0.1374, allocations: 155.8 kB / 407 MB, free: 12.41 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001865/0.1393, allocations: 1.9 MB / 408.9 MB, free: 10.5 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009075/0.1484, allocations: 8.214 MB / 417.1 MB, free: 2.27 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1815/0.3299, allocations: 36.13 MB / 453.2 MB, free: 104.7 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004437/0.3343, allocations: 3.334 MB / 456.5 MB, free: 104.6 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001269/0.3356, allocations: 1.92 MB / 458.5 MB, free: 104.5 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002722/0.3359, allocations: 203.5 kB / 458.7 MB, free: 104.5 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.485e-05/0.3359, allocations: 53.94 kB / 458.7 MB, free: 104.5 MB / 410.7 MB Notification: Performance of pre-optimization done (n=166): time 4.098e-06/0.3359, allocations: 4.531 kB / 458.7 MB, free: 104.5 MB / 410.7 MB Notification: Performance of matching and sorting (n=201): time 0.02937/0.3653, allocations: 21.64 MB / 480.4 MB, free: 90.86 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.349e-05/0.3653, allocations: 256.6 kB / 480.6 MB, free: 90.55 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003365/0.3687, allocations: 4.741 MB / 485.4 MB, free: 85.95 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 9.522e-05/0.3688, allocations: 53.7 kB / 485.4 MB, free: 85.89 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000807/0.3696, allocations: 3.208 MB / 488.6 MB, free: 82.95 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003241/0.3699, allocations: 0.7946 MB / 489.4 MB, free: 82.16 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007924/0.3707, allocations: 1.163 MB / 490.6 MB, free: 80.99 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 2.572e-05/0.3707, allocations: 301.1 kB / 490.9 MB, free: 80.69 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001739/0.3725, allocations: 2.277 MB / 493.1 MB, free: 78.41 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002383/0.3748, allocations: 5.849 MB / 499 MB, free: 70.87 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004629/0.3795, allocations: 8.671 MB / 0.4958 GB, free: 60.58 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.73e-05/0.3795, allocations: 39.94 kB / 0.4958 GB, free: 60.54 MB / 410.7 MB Notification: Performance of matching and sorting (n=759) (initialization): time 0.008547/0.388, allocations: 9.542 MB / 0.5051 GB, free: 50.98 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.171e-05/0.3881, allocations: 56 kB / 0.5052 GB, free: 50.93 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.227e-05/0.3882, allocations: 120 kB / 0.5053 GB, free: 50.81 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002998/0.3912, allocations: 2.071 MB / 0.5073 GB, free: 48.73 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001894/0.3931, allocations: 1.263 MB / 0.5085 GB, free: 47.46 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01241/0.4055, allocations: 16.9 MB / 0.525 GB, free: 30.24 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002546/0.408, allocations: 403.4 kB / 0.5254 GB, free: 29.84 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002401/0.4082, allocations: 352 kB / 0.5258 GB, free: 29.5 MB / 410.7 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.001864/0.4101, allocations: 2.136 MB / 0.5279 GB, free: 27.36 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000318/0.4104, allocations: 393.4 kB / 0.5282 GB, free: 26.97 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004038/0.4145, allocations: 4.27 MB / 0.5324 GB, free: 22.68 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.509e-05/0.4145, allocations: 24 kB / 0.5324 GB, free: 22.66 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.675e-06/0.4145, allocations: 8 kB / 0.5324 GB, free: 22.65 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.024e-05/0.4145, allocations: 7.969 kB / 0.5324 GB, free: 22.64 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009073/0.4236, allocations: 9.585 MB / 0.5418 GB, free: 13.04 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.352e-06/0.4236, allocations: 7.938 kB / 0.5418 GB, free: 13.03 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006455/0.4242, allocations: 283.6 kB / 0.5421 GB, free: 12.75 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00192/0.4261, allocations: 1.347 MB / 0.5434 GB, free: 11.4 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.52e-05/0.4262, allocations: 36 kB / 0.5434 GB, free: 11.37 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006824/0.4331, allocations: 8.872 MB / 0.5521 GB, free: 2.383 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.984e-06/0.4331, allocations: 4 kB / 0.5521 GB, free: 2.379 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006703/0.4398, allocations: 7.241 MB / 0.5592 GB, free: 11.11 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005027/0.4403, allocations: 425.1 kB / 0.5596 GB, free: 10.69 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002506/0.4405, allocations: 36 kB / 0.5596 GB, free: 10.66 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001012/0.4415, allocations: 187.7 kB / 0.5598 GB, free: 10.47 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002167/0.4417, allocations: 128.3 kB / 0.5599 GB, free: 10.35 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.15e-05/0.4418, allocations: 51.98 kB / 0.56 GB, free: 10.3 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.002688/0.4445, allocations: 2.914 MB / 0.5628 GB, free: 7.375 MB / 426.7 MB Notification: Performance of sort global known variables: time 2.5e-07/0.4445, allocations: 0 / 0.5628 GB, free: 7.375 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0033/0.4478, allocations: 1.293 MB / 0.5641 GB, free: 6.082 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 (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.007716/0.4555, allocations: 7.919 MB / 0.5718 GB, free: 14.14 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.005886/0.4614, allocations: 5.813 MB / 0.5775 GB, free: 8.305 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 2.945e-06/0.4614, allocations: 0 / 0.5775 GB, free: 8.305 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002258/0.4637, allocations: 2.064 MB / 0.5795 GB, free: 6.234 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00186/0.4655, allocations: 0.5964 MB / 0.5801 GB, free: 5.66 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1814/0.6469, allocations: 50.92 MB / 0.6298 GB, free: 149.8 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001932/0.6489, allocations: 2.858 MB / 0.6326 GB, free: 149.1 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.002167/0.651, allocations: 1.886 MB / 0.6344 GB, free: 148.7 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001305/0.6523, allocations: 1.996 MB / 0.6364 GB, free: 146.9 MB / 474.7 MB Notification: Performance of SimCode: time 9.72e-07/0.6523, allocations: 0 / 0.6364 GB, free: 146.9 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07369/0.726, allocations: 87.38 MB / 0.7217 GB, free: 60.77 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.41/12.14, allocations: 3.953 kB / 0.7217 GB, free: 60.77 MB / 474.7 MB " [Timeout remaining time 648] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip_res.mat --tempDir=temp_Modelica_trunk_Modelica_Mechanics_MultiBody_Examples_Elementary_DoublePendulumInitTip_fmu --startTime=0 --stopTime=5 --stepSize=0.0009996 --timeout=50 --tolerance=1e-06 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.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/MultiBody/Examples/Elementary/DoublePendulumInitTip/DoublePendulumInitTip.csv","/var/lib/jenkins/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: 14.300404708832502]