Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_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 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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_4.0.0_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_4.0.0_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.001051/0.001052, allocations: 104 kB / 16.62 MB, free: 6.805 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.00109/0.00109, allocations: 193.8 kB / 17.55 MB, free: 5.949 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.294/1.294, allocations: 222.9 MB / 241.2 MB, free: 15.43 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0009217/0.0009218, allocations: 43.31 kB / 300.1 MB, free: 6.207 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08761/0.08854, allocations: 49.45 MB / 349.6 MB, free: 4.75 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip): time 0.1826/0.2712, allocations: 50.35 MB / 399.9 MB, free: 13.25 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.02166/0.2929, allocations: 10.74 MB / 410.7 MB, free: 5.715 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.008053/0.301, allocations: 224.7 kB / 410.9 MB, free: 5.676 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004908/0.3059, allocations: 2.767 MB / 413.7 MB, free: 3.859 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004189/0.3102, allocations: 1.854 MB / 415.5 MB, free: 2.574 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00192/0.3121, allocations: 0.9781 MB / 416.5 MB, free: 1.906 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.006251/0.3184, allocations: 5.943 MB / 422.4 MB, free: 11.95 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004043/0.3224, allocations: 4.202 MB / 426.6 MB, free: 7.707 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00185/0.3243, allocations: 1.744 MB / 428.4 MB, free: 5.957 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002459/0.3267, allocations: 2.578 MB / 431 MB, free: 3.371 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004523/0.3272, allocations: 368 kB / 431.3 MB, free: 3.012 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001794/0.329, allocations: 1.264 MB / 432.6 MB, free: 1.746 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001642/0.3307, allocations: 2.155 MB / 434.7 MB, free: 15.59 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001961/0.3326, allocations: 2.42 MB / 437.1 MB, free: 13.15 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006188/0.3388, allocations: 7.528 MB / 444.7 MB, free: 5.602 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.6e-06/0.3389, allocations: 3.938 kB / 444.7 MB, free: 5.598 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.412e-06/0.3389, allocations: 0 / 444.7 MB, free: 5.598 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.143e-05/0.339, allocations: 0 / 444.7 MB, free: 5.598 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: 1508 * Number of variables: 1508 Notification: Performance of Generate backend data structure: time 0.008439/0.3474, allocations: 5.251 MB / 449.9 MB, free: 280 kB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.176e-05/0.3475, allocations: 12.03 kB / 449.9 MB, free: 268 kB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02463/0.3721, allocations: 3.17 MB / 453.1 MB, free: 13.08 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006667/0.3788, allocations: 3.528 MB / 456.6 MB, free: 9.492 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001965/0.379, allocations: 242.2 kB / 456.9 MB, free: 9.254 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005678/0.3796, allocations: 331.7 kB / 457.2 MB, free: 8.93 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01338/0.393, allocations: 10.02 MB / 467.2 MB, free: 14.27 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001052/0.3931, allocations: 55.5 kB / 467.3 MB, free: 14.21 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003832/0.3935, allocations: 151.9 kB / 467.4 MB, free: 14.07 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003193/0.3967, allocations: 1.959 MB / 469.4 MB, free: 12.1 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01362/0.4103, allocations: 8.59 MB / 478 MB, free: 3.492 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03954/0.4499, allocations: 38.85 MB / 0.5047 GB, free: 11.53 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008186/0.4581, allocations: 3.936 MB / 0.5085 GB, free: 7.449 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002485/0.4606, allocations: 2.189 MB / 0.5107 GB, free: 5.246 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006463/0.4613, allocations: 0.6477 MB / 0.5113 GB, free: 4.488 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.929e-05/0.4613, allocations: 51.5 kB / 0.5114 GB, free: 4.43 MB / 430.1 MB Notification: Performance of pre-optimization done (n=166): time 3.677e-06/0.4613, allocations: 4 kB / 0.5114 GB, free: 4.426 MB / 430.1 MB Notification: Performance of matching and sorting (n=201): time 0.2058/0.6672, allocations: 22.59 MB / 0.5334 GB, free: 151.6 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.247e-05/0.6673, allocations: 252.1 kB / 0.5337 GB, free: 151.3 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007566/0.6749, allocations: 4.172 MB / 0.5377 GB, free: 150.3 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003572/0.6752, allocations: 53 kB / 0.5378 GB, free: 150.2 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001939/0.6772, allocations: 3.124 MB / 0.5408 GB, free: 148.3 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000772/0.678, allocations: 0.7675 MB / 0.5416 GB, free: 147.8 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001602/0.6796, allocations: 1.256 MB / 0.5428 GB, free: 147.2 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 3.291e-05/0.6796, allocations: 302.2 kB / 0.5431 GB, free: 146.9 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00327/0.6829, allocations: 2.488 MB / 0.5455 GB, free: 146 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004247/0.6871, allocations: 5.979 MB / 0.5514 GB, free: 140.5 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007868/0.695, allocations: 9.065 MB / 0.5602 GB, free: 133.4 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.384e-05/0.6951, allocations: 33.97 kB / 0.5603 GB, free: 133.4 MB / 446.1 MB Notification: Performance of matching and sorting (n=797) (initialization): time 0.01579/0.7109, allocations: 10.54 MB / 0.5706 GB, free: 129.7 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.112e-05/0.711, allocations: 62.66 kB / 0.5706 GB, free: 129.7 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.521e-05/0.7111, allocations: 126.5 kB / 0.5707 GB, free: 129.7 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006481/0.7176, allocations: 2.603 MB / 0.5733 GB, free: 127.2 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003343/0.721, allocations: 1.306 MB / 0.5746 GB, free: 125.9 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01868/0.7396, allocations: 18.65 MB / 0.5928 GB, free: 106.9 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004643/0.7443, allocations: 366.9 kB / 0.5931 GB, free: 106.5 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007665/0.7451, allocations: 356 kB / 0.5935 GB, free: 106.2 MB / 446.1 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.arrowLine.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 (709): * Single equations (assignments): 703 * 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,100.0%), (3,11,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,13)} Notification: Performance of prepare postOptimizeDAE: time 0.003221/0.7483, allocations: 2.176 MB / 0.5956 GB, free: 104 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008042/0.7492, allocations: 373 kB / 0.5959 GB, free: 103.6 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00852/0.7577, allocations: 5.026 MB / 0.6009 GB, free: 98.6 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.136e-05/0.7577, allocations: 24 kB / 0.6009 GB, free: 98.58 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.438e-05/0.7578, allocations: 8 kB / 0.6009 GB, free: 98.57 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.904e-05/0.7578, allocations: 7.969 kB / 0.6009 GB, free: 98.56 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01706/0.7748, allocations: 10.84 MB / 0.6115 GB, free: 87.68 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.421e-05/0.7749, allocations: 4 kB / 0.6115 GB, free: 87.68 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001275/0.7762, allocations: 283.5 kB / 0.6118 GB, free: 87.4 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004683/0.7809, allocations: 1.85 MB / 0.6136 GB, free: 85.55 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002185/0.7811, allocations: 39.98 kB / 0.6136 GB, free: 85.51 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0111/0.7922, allocations: 10.41 MB / 0.6238 GB, free: 74.96 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.795e-06/0.7922, allocations: 0 / 0.6238 GB, free: 74.96 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01087/0.8031, allocations: 8.164 MB / 0.6317 GB, free: 66.77 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001023/0.8042, allocations: 428.1 kB / 0.6321 GB, free: 66.32 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008422/0.805, allocations: 35.67 kB / 0.6322 GB, free: 66.29 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00181/0.8069, allocations: 139.7 kB / 0.6323 GB, free: 66.16 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003918/0.8073, allocations: 121.1 kB / 0.6324 GB, free: 66.04 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001515/0.8074, allocations: 52 kB / 0.6325 GB, free: 65.99 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.003595/0.811, allocations: 2.623 MB / 0.635 GB, free: 63.36 MB / 446.1 MB Notification: Performance of sort global known variables: time 8.32e-07/0.811, allocations: 0 / 0.635 GB, free: 63.36 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.004662/0.8157, allocations: 1.178 MB / 0.6362 GB, free: 62.18 MB / 446.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 (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 {(2,33,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0004544/0.8162, allocations: 176.1 kB / 0.6364 GB, free: 62.01 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.009913/0.8261, allocations: 7.716 MB / 0.6439 GB, free: 54.29 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.739e-06/0.8261, allocations: 0.75 kB / 0.6439 GB, free: 54.29 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002391/0.8285, allocations: 2.158 MB / 0.646 GB, free: 52.12 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003005/0.8315, allocations: 0.5809 MB / 0.6466 GB, free: 51.57 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0142/0.8457, allocations: 12.55 MB / 0.6588 GB, free: 38.99 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003317/0.8491, allocations: 3.446 MB / 0.6622 GB, free: 35.51 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.004068/0.8532, allocations: 1.872 MB / 0.664 GB, free: 33.63 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007662/0.8539, allocations: 247.4 kB / 0.6643 GB, free: 33.39 MB / 446.1 MB Notification: Performance of SimCode: time 7.12e-07/0.8539, allocations: 0 / 0.6643 GB, free: 33.39 MB / 446.1 MB Notification: Performance of Templates: time 0.23/1.084, allocations: 51.8 MB / 0.7148 GB, free: 129.8 MB / 446.1 MB make -j1 -f Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip.makefile (rm -f Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip.pipe ; mkfifo Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip.pipe >> ../files/Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip.sim & ./Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/MultiBody/Examples/Elementary/DoublePendulumInitTip/DoublePendulumInitTip.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches