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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|revolute1.phi|revolute1.w|revolute2.phi|revolute2.w",fileNamePrefix="Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip") translateModel(Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|revolute1.phi|revolute1.w|revolute2.phi|revolute2.w",fileNamePrefix="Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00142/0.00142, allocations: 107.5 kB / 18.4 MB, free: 4.699 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001455/0.001455, allocations: 187.1 kB / 19.33 MB, free: 3.781 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.413/1.413, allocations: 205.1 MB / 225.2 MB, free: 12.23 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.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.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001261/0.001261, allocations: 63.89 kB / 329.2 MB, free: 3.293 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0835/0.08477, allocations: 46.61 MB / 375.8 MB, free: 4.57 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip): time 0.2241/0.3089, allocations: 12.33 MB / 388.2 MB, free: 6.332 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.01007/0.319, allocations: 4.436 MB / 392.6 MB, free: 3.645 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003553/0.3227, allocations: 83.69 kB / 392.7 MB, free: 3.625 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.006056/0.3288, allocations: 2.902 MB / 395.6 MB, free: 2.266 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006798/0.3356, allocations: 2.024 MB / 397.6 MB, free: 1.328 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003122/0.3387, allocations: 1.05 MB / 398.6 MB, free: 0.875 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.00976/0.3485, allocations: 5.337 MB / 404 MB, free: 14.6 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006331/0.3549, allocations: 4.05 MB / 408 MB, free: 12.28 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004409/0.3594, allocations: 1.777 MB / 409.8 MB, free: 11.27 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00483/0.3642, allocations: 2.404 MB / 412.2 MB, free: 9.805 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001234/0.3655, allocations: 382.9 kB / 412.6 MB, free: 9.805 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003405/0.3689, allocations: 1.257 MB / 413.8 MB, free: 9.34 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002886/0.3718, allocations: 2.207 MB / 416.1 MB, free: 7.234 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00433/0.3762, allocations: 2.474 MB / 418.5 MB, free: 4.746 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01057/0.3868, allocations: 8.001 MB / 426.5 MB, free: 12.72 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.268e-05/0.3868, allocations: 0 / 426.5 MB, free: 12.72 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.953e-06/0.3869, allocations: 3.938 kB / 426.5 MB, free: 12.71 MB / 350.1 MB Notification: Performance of Transformations before backend: time 0.000271/0.3871, allocations: 0 / 426.5 MB, free: 12.71 MB / 350.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.01404/0.4012, allocations: 5.374 MB / 431.9 MB, free: 7.266 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.441e-05/0.4012, allocations: 8.031 kB / 431.9 MB, free: 7.258 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02669/0.4279, allocations: 3.201 MB / 435.1 MB, free: 4.047 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009893/0.4379, allocations: 3.735 MB / 438.8 MB, free: 260 kB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002655/0.4382, allocations: 250.2 kB / 439.1 MB, free: 8 kB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001762/0.44, allocations: 331.7 kB / 439.4 MB, free: 15.68 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02146/0.4615, allocations: 10.35 MB / 449.8 MB, free: 4.656 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002877/0.4618, allocations: 47.58 kB / 449.8 MB, free: 4.609 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001408/0.4632, allocations: 155.9 kB / 450 MB, free: 4.457 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003923/0.4672, allocations: 2.029 MB / 452 MB, free: 2.422 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01943/0.4866, allocations: 8.899 MB / 460.9 MB, free: 9.504 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05773/0.5444, allocations: 39.63 MB / 0.4888 GB, free: 0.7383 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009487/0.554, allocations: 4.049 MB / 0.4927 GB, free: 12.54 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003267/0.5573, allocations: 2.24 MB / 0.4949 GB, free: 10.29 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008361/0.5581, allocations: 0.6516 MB / 0.4956 GB, free: 9.523 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.591e-05/0.5582, allocations: 55.5 kB / 0.4956 GB, free: 9.461 MB / 430.1 MB Notification: Performance of pre-optimization done (n=175): time 5.901e-06/0.5582, allocations: 3.938 kB / 0.4956 GB, free: 9.457 MB / 430.1 MB Notification: Performance of matching and sorting (n=210): time 0.06855/0.6268, allocations: 22.97 MB / 0.5181 GB, free: 2.34 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001741/0.627, allocations: 252.6 kB / 0.5183 GB, free: 2.039 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008528/0.6356, allocations: 4.263 MB / 0.5225 GB, free: 13.75 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0005994/0.6362, allocations: 57.61 kB / 0.5225 GB, free: 13.7 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002721/0.6389, allocations: 3.202 MB / 0.5256 GB, free: 10.45 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001314/0.6403, allocations: 0.806 MB / 0.5264 GB, free: 9.633 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003647/0.6439, allocations: 1.277 MB / 0.5277 GB, free: 8.344 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001601/0.6441, allocations: 305.1 kB / 0.528 GB, free: 8.043 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004515/0.6486, allocations: 2.554 MB / 0.5305 GB, free: 5.484 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007292/0.656, allocations: 6.123 MB / 0.5364 GB, free: 13.6 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01238/0.6684, allocations: 9.291 MB / 0.5455 GB, free: 2.57 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001601/0.6686, allocations: 40 kB / 0.5456 GB, free: 2.531 MB / 478.1 MB Notification: Performance of matching and sorting (n=819) (initialization): time 0.2562/0.9248, allocations: 10.76 MB / 0.5561 GB, free: 142.9 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001147/0.9249, allocations: 57.97 kB / 0.5561 GB, free: 142.9 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002219/0.9252, allocations: 124 kB / 0.5562 GB, free: 142.9 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008436/0.9336, allocations: 2.609 MB / 0.5588 GB, free: 142.4 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004814/0.9385, allocations: 1.348 MB / 0.5601 GB, free: 142.2 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02263/0.9611, allocations: 18.6 MB / 0.5783 GB, free: 132.7 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004884/0.9661, allocations: 373.2 kB / 0.5786 GB, free: 132.6 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007604/0.9669, allocations: 370.2 kB / 0.579 GB, free: 132.6 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 (731): * Single equations (assignments): 725 * 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 {(4,34,87.5%), (3,11,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,13)} Notification: Performance of prepare postOptimizeDAE: time 0.003246/0.9701, allocations: 2.225 MB / 0.5811 GB, free: 131.6 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007552/0.9709, allocations: 383.3 kB / 0.5815 GB, free: 131.6 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008728/0.9796, allocations: 5.155 MB / 0.5865 GB, free: 129.9 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.267e-05/0.9797, allocations: 24.67 kB / 0.5866 GB, free: 129.9 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.596e-05/0.9797, allocations: 7.812 kB / 0.5866 GB, free: 129.9 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.297e-05/0.9798, allocations: 6.703 kB / 0.5866 GB, free: 129.9 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01683/0.9966, allocations: 11.06 MB / 0.5974 GB, free: 120.7 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.839e-05/0.9967, allocations: 0 / 0.5974 GB, free: 120.7 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001439/0.9981, allocations: 311.5 kB / 0.5977 GB, free: 120.4 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004599/1.003, allocations: 1.85 MB / 0.5995 GB, free: 118.6 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003277/1.003, allocations: 39.98 kB / 0.5995 GB, free: 118.5 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01082/1.014, allocations: 10.38 MB / 0.6097 GB, free: 108.1 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.006e-06/1.014, allocations: 0 / 0.6097 GB, free: 108.1 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01157/1.026, allocations: 8.344 MB / 0.6178 GB, free: 99.7 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001894/1.027, allocations: 0.7722 MB / 0.6186 GB, free: 98.9 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008386/1.028, allocations: 39.59 kB / 0.6186 GB, free: 98.87 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00185/1.03, allocations: 143.8 kB / 0.6187 GB, free: 98.73 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003804/1.031, allocations: 121.1 kB / 0.6189 GB, free: 98.61 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001407/1.031, allocations: 55.94 kB / 0.6189 GB, free: 98.55 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.003253/1.034, allocations: 2.685 MB / 0.6215 GB, free: 95.86 MB / 478.1 MB Notification: Performance of sort global known variables: time 3.31e-07/1.034, allocations: 7.75 kB / 0.6215 GB, free: 95.86 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.005588/1.04, allocations: 1.208 MB / 0.6227 GB, free: 94.66 MB / 478.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 (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 {(3,32,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0005277/1.04, allocations: 178.7 kB / 0.6229 GB, free: 94.48 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.008826/1.049, allocations: 6.671 MB / 0.6294 GB, free: 87.79 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 8.055e-06/1.049, allocations: 0 / 0.6294 GB, free: 87.79 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00273/1.052, allocations: 2.244 MB / 0.6316 GB, free: 85.54 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003135/1.055, allocations: 0.5625 MB / 0.6321 GB, free: 85 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01628/1.071, allocations: 11.12 MB / 0.643 GB, free: 73.85 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003066/1.074, allocations: 3.504 MB / 0.6464 GB, free: 70.31 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001044/1.075, allocations: 303.4 kB / 0.6467 GB, free: 70.02 MB / 478.1 MB Notification: Performance of SimCode: time 8.22e-07/1.075, allocations: 0 / 0.6467 GB, free: 70.02 MB / 478.1 MB Notification: Performance of Templates: time 0.3136/1.389, allocations: 105.5 MB / 0.7497 GB, free: 149.5 MB / 494.1 MB make -j1 -f Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip.makefile (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 & ./Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip_res.mat","/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) Reference file matches