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.001057/0.001057, allocations: 106.4 kB / 17.74 MB, free: 5.348 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.00105/0.00105, allocations: 185.4 kB / 18.67 MB, free: 4.43 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.315/1.315, allocations: 222.9 MB / 242.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0009954/0.0009954, allocations: 51.92 kB / 352 MB, free: 3.234 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2161/0.2171, allocations: 49.44 MB / 401.4 MB, free: 8.742 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip): time 0.01218/0.2293, allocations: 11.9 MB / 413.3 MB, free: 12.92 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.007357/0.2367, allocations: 4.351 MB / 417.7 MB, free: 8.547 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008987/0.2376, allocations: 79.69 kB / 417.8 MB, free: 8.469 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004561/0.2422, allocations: 2.885 MB / 420.6 MB, free: 5.574 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003458/0.2457, allocations: 2.035 MB / 422.7 MB, free: 3.531 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001741/0.2474, allocations: 1.033 MB / 423.7 MB, free: 2.496 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.005564/0.253, allocations: 5.562 MB / 429.3 MB, free: 12.93 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003607/0.2566, allocations: 3.992 MB / 433.3 MB, free: 8.871 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00178/0.2584, allocations: 1.729 MB / 435 MB, free: 7.137 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002378/0.2608, allocations: 2.313 MB / 437.3 MB, free: 4.816 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005229/0.2613, allocations: 371.9 kB / 437.7 MB, free: 4.453 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001871/0.2632, allocations: 1.248 MB / 438.9 MB, free: 3.203 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001647/0.2649, allocations: 2.143 MB / 441.1 MB, free: 1.055 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001906/0.2668, allocations: 2.396 MB / 443.5 MB, free: 14.64 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006294/0.2731, allocations: 7.724 MB / 451.2 MB, free: 6.895 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.246e-06/0.2731, allocations: 4 kB / 451.2 MB, free: 6.891 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.022e-06/0.2731, allocations: 0 / 451.2 MB, free: 6.891 MB / 366.1 MB Notification: Performance of Transformations before backend: time 7.144e-05/0.2732, allocations: 0 / 451.2 MB, free: 6.891 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: 1508 * Number of variables: 1508 Notification: Performance of Generate backend data structure: time 0.008829/0.282, allocations: 5.251 MB / 456.4 MB, free: 1.566 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.803e-05/0.2821, allocations: 8.031 kB / 456.4 MB, free: 1.559 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02739/0.3095, allocations: 3.166 MB / 459.6 MB, free: 14.38 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008286/0.3178, allocations: 3.602 MB / 463.2 MB, free: 10.72 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001524/0.318, allocations: 238.2 kB / 463.4 MB, free: 10.49 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005891/0.3186, allocations: 331.7 kB / 463.8 MB, free: 10.16 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0139/0.3325, allocations: 10.02 MB / 473.8 MB, free: 15.5 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000107/0.3326, allocations: 51.48 kB / 473.8 MB, free: 15.45 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003871/0.333, allocations: 155.9 kB / 474 MB, free: 15.3 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003388/0.3364, allocations: 1.959 MB / 475.9 MB, free: 13.34 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01511/0.3515, allocations: 8.586 MB / 484.5 MB, free: 4.73 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04325/0.3948, allocations: 38.65 MB / 0.5109 GB, free: 12.95 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008643/0.4035, allocations: 3.946 MB / 0.5148 GB, free: 8.863 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002604/0.4061, allocations: 2.197 MB / 0.5169 GB, free: 6.656 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006531/0.4068, allocations: 0.6477 MB / 0.5176 GB, free: 5.898 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.777e-05/0.4068, allocations: 55.5 kB / 0.5176 GB, free: 5.836 MB / 446.1 MB Notification: Performance of pre-optimization done (n=166): time 4.378e-06/0.4068, allocations: 4 kB / 0.5176 GB, free: 5.832 MB / 446.1 MB Notification: Performance of matching and sorting (n=201): time 0.2392/0.6461, allocations: 22.59 MB / 0.5397 GB, free: 129.6 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.574e-05/0.6462, allocations: 256.5 kB / 0.5399 GB, free: 129.3 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004825/0.651, allocations: 4.174 MB / 0.544 GB, free: 128.3 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003113/0.6513, allocations: 57.58 kB / 0.544 GB, free: 128.3 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00117/0.6525, allocations: 3.119 MB / 0.5471 GB, free: 126.4 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004825/0.653, allocations: 0.7752 MB / 0.5478 GB, free: 125.8 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001257/0.6543, allocations: 1.243 MB / 0.5491 GB, free: 125.2 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 3.086e-05/0.6543, allocations: 307 kB / 0.5494 GB, free: 124.9 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002779/0.6571, allocations: 2.485 MB / 0.5518 GB, free: 124.1 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003632/0.6607, allocations: 5.982 MB / 0.5576 GB, free: 118.6 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006893/0.6676, allocations: 9.06 MB / 0.5665 GB, free: 111.4 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.072e-05/0.6677, allocations: 35.16 kB / 0.5665 GB, free: 111.4 MB / 462.1 MB Notification: Performance of matching and sorting (n=797) (initialization): time 0.01513/0.6828, allocations: 10.55 MB / 0.5768 GB, free: 101.4 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.752e-05/0.6829, allocations: 59.94 kB / 0.5769 GB, free: 101.3 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.809e-05/0.683, allocations: 120 kB / 0.577 GB, free: 101.2 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006501/0.6895, allocations: 2.6 MB / 0.5795 GB, free: 98.58 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003399/0.6929, allocations: 1.306 MB / 0.5808 GB, free: 97.27 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01904/0.7119, allocations: 18.63 MB / 0.599 GB, free: 78.26 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004278/0.7162, allocations: 366.9 kB / 0.5993 GB, free: 77.9 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003859/0.7166, allocations: 360 kB / 0.5997 GB, free: 77.55 MB / 462.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.002431/0.7191, allocations: 2.167 MB / 0.6018 GB, free: 75.38 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004816/0.7196, allocations: 371.2 kB / 0.6021 GB, free: 75.01 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008364/0.7279, allocations: 5.03 MB / 0.6071 GB, free: 69.96 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.702e-05/0.728, allocations: 11.97 kB / 0.6071 GB, free: 69.95 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.531e-06/0.728, allocations: 0 / 0.6071 GB, free: 69.95 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000615/0.7286, allocations: 424.1 kB / 0.6075 GB, free: 69.51 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004631/0.7291, allocations: 39.94 kB / 0.6075 GB, free: 69.47 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001579/0.7307, allocations: 142.1 kB / 0.6076 GB, free: 69.34 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003249/0.731, allocations: 145 kB / 0.6078 GB, free: 69.2 MB / 462.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.008785/0.7398, allocations: 5.421 MB / 0.6131 GB, free: 63.8 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.00609/0.7459, allocations: 6.418 MB / 0.6193 GB, free: 57.37 MB / 462.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001611/0.7475, allocations: 1.712 MB / 0.621 GB, free: 55.66 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.002913/0.7504, allocations: 2.627 MB / 0.6236 GB, free: 53.02 MB / 462.1 MB Notification: Performance of Backend: time 2.91e-07/0.7505, allocations: 7.938 kB / 0.6236 GB, free: 53.01 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.008056/0.7585, allocations: 5.205 MB / 0.6287 GB, free: 47.81 MB / 462.1 MB Notification: Performance of SimCode: time 0.01168/0.7702, allocations: 9.998 MB / 0.6384 GB, free: 37.81 MB / 462.1 MB Notification: Performance of Templates: time 0.08063/0.8509, allocations: 59.01 MB / 0.6961 GB, free: 11.09 MB / 494.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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/MultiBody/Examples/Elementary/DoublePendulumInitTip/DoublePendulumInitTip.csv","/var/lib/jenkins1/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