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.001319/0.001319, allocations: 114.8 kB / 17.74 MB, free: 5.344 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.001346/0.001346, allocations: 188.5 kB / 18.67 MB, free: 4.422 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.327/1.327, allocations: 222.9 MB / 242.4 MB, free: 15.17 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001012/0.001012, allocations: 47.92 kB / 352 MB, free: 3.25 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2666/0.2676, allocations: 49.44 MB / 401.4 MB, free: 8.75 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip): time 0.01264/0.2803, allocations: 11.91 MB / 413.3 MB, free: 12.92 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.009242/0.2896, allocations: 4.347 MB / 417.7 MB, free: 8.555 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002605/0.2923, allocations: 83.69 kB / 417.7 MB, free: 8.473 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005617/0.2979, allocations: 2.885 MB / 420.6 MB, free: 5.578 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005563/0.3035, allocations: 1.983 MB / 422.6 MB, free: 3.59 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002629/0.3062, allocations: 1.037 MB / 423.6 MB, free: 2.551 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.008381/0.3146, allocations: 5.555 MB / 429.2 MB, free: 12.99 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006359/0.321, allocations: 3.985 MB / 433.2 MB, free: 8.938 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003969/0.325, allocations: 1.729 MB / 434.9 MB, free: 7.203 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004349/0.3294, allocations: 2.313 MB / 437.2 MB, free: 4.883 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001503/0.331, allocations: 372 kB / 437.6 MB, free: 4.52 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003442/0.3344, allocations: 1.248 MB / 438.8 MB, free: 3.27 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003323/0.3378, allocations: 2.147 MB / 441 MB, free: 1.117 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.005839/0.3437, allocations: 2.393 MB / 443.4 MB, free: 14.71 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01089/0.3546, allocations: 7.722 MB / 451.1 MB, free: 6.965 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.955e-06/0.3546, allocations: 4 kB / 451.1 MB, free: 6.961 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.883e-06/0.3546, allocations: 0 / 451.1 MB, free: 6.961 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0002666/0.3549, allocations: 0 / 451.1 MB, free: 6.961 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.01333/0.3683, allocations: 5.251 MB / 456.4 MB, free: 1.637 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.485e-05/0.3683, allocations: 12.03 kB / 456.4 MB, free: 1.625 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02621/0.3946, allocations: 3.166 MB / 459.5 MB, free: 14.45 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009224/0.4038, allocations: 3.598 MB / 463.1 MB, free: 10.79 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002099/0.4041, allocations: 238.2 kB / 463.4 MB, free: 10.56 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00127/0.4054, allocations: 331.7 kB / 463.7 MB, free: 10.23 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01798/0.4234, allocations: 10.03 MB / 473.7 MB, free: 15.57 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000167/0.4236, allocations: 47.5 kB / 473.8 MB, free: 15.52 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005809/0.4242, allocations: 151.9 kB / 473.9 MB, free: 15.37 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003383/0.4276, allocations: 1.963 MB / 475.9 MB, free: 13.41 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01654/0.4441, allocations: 8.59 MB / 484.5 MB, free: 4.797 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05066/0.4948, allocations: 38.65 MB / 0.5109 GB, free: 13.02 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008497/0.5034, allocations: 3.946 MB / 0.5147 GB, free: 8.93 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002763/0.5062, allocations: 2.213 MB / 0.5169 GB, free: 6.707 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006506/0.5069, allocations: 0.6438 MB / 0.5175 GB, free: 5.953 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.171e-05/0.5069, allocations: 55.5 kB / 0.5175 GB, free: 5.891 MB / 446.1 MB Notification: Performance of pre-optimization done (n=166): time 5.23e-06/0.5069, allocations: 0 / 0.5175 GB, free: 5.891 MB / 446.1 MB Notification: Performance of matching and sorting (n=201): time 0.2623/0.7693, allocations: 22.59 MB / 0.5396 GB, free: 129.7 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.516e-05/0.7694, allocations: 255 kB / 0.5399 GB, free: 129.4 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005524/0.775, allocations: 4.174 MB / 0.5439 GB, free: 128.4 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004601/0.7755, allocations: 53.67 kB / 0.544 GB, free: 128.4 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001397/0.7769, allocations: 3.118 MB / 0.547 GB, free: 126.5 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006523/0.7775, allocations: 0.7719 MB / 0.5478 GB, free: 126 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001302/0.7788, allocations: 1.25 MB / 0.549 GB, free: 125.4 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 4.162e-05/0.7789, allocations: 305.1 kB / 0.5493 GB, free: 125.1 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002808/0.7817, allocations: 2.491 MB / 0.5517 GB, free: 124.2 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003998/0.7857, allocations: 5.978 MB / 0.5576 GB, free: 118.7 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007566/0.7933, allocations: 9.062 MB / 0.5664 GB, free: 111.5 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.322e-05/0.7934, allocations: 39.45 kB / 0.5664 GB, free: 111.5 MB / 462.1 MB Notification: Performance of matching and sorting (n=797) (initialization): time 0.01657/0.81, allocations: 10.55 MB / 0.5767 GB, free: 101.4 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.525e-05/0.8101, allocations: 56 kB / 0.5768 GB, free: 101.4 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001163/0.8102, allocations: 124 kB / 0.5769 GB, free: 101.3 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0066/0.8168, allocations: 2.6 MB / 0.5795 GB, free: 98.66 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00381/0.8207, allocations: 1.302 MB / 0.5807 GB, free: 97.36 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01982/0.8405, allocations: 18.63 MB / 0.5989 GB, free: 78.34 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004961/0.8455, allocations: 367.2 kB / 0.5993 GB, free: 77.98 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009676/0.8465, allocations: 360 kB / 0.5996 GB, free: 77.63 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.003473/0.85, allocations: 2.167 MB / 0.6017 GB, free: 75.46 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007404/0.8507, allocations: 371.2 kB / 0.6021 GB, free: 75.09 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008378/0.8591, allocations: 5.026 MB / 0.607 GB, free: 70.05 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.328e-05/0.8592, allocations: 21.97 kB / 0.607 GB, free: 70.03 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.442e-05/0.8592, allocations: 8 kB / 0.607 GB, free: 70.02 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.829e-05/0.8592, allocations: 13.03 kB / 0.607 GB, free: 70.01 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01658/0.8758, allocations: 10.79 MB / 0.6176 GB, free: 59.18 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.833e-05/0.8759, allocations: 4.062 kB / 0.6176 GB, free: 59.17 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001321/0.8772, allocations: 287.5 kB / 0.6179 GB, free: 58.89 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004579/0.8818, allocations: 1.846 MB / 0.6197 GB, free: 57.04 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002884/0.8821, allocations: 32 kB / 0.6197 GB, free: 57.01 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01122/0.8933, allocations: 10.39 MB / 0.6298 GB, free: 46.46 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.707e-06/0.8934, allocations: 7.969 kB / 0.6298 GB, free: 46.46 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01124/0.9046, allocations: 8.164 MB / 0.6378 GB, free: 38.27 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001037/0.9057, allocations: 428.2 kB / 0.6382 GB, free: 37.82 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005862/0.9063, allocations: 36.08 kB / 0.6383 GB, free: 37.79 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001664/0.908, allocations: 138.8 kB / 0.6384 GB, free: 37.66 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003891/0.9084, allocations: 124.9 kB / 0.6385 GB, free: 37.53 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001338/0.9085, allocations: 51.98 kB / 0.6386 GB, free: 37.48 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.002992/0.9115, allocations: 2.62 MB / 0.6411 GB, free: 34.85 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.9115, allocations: 8 kB / 0.6411 GB, free: 34.84 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.004946/0.9165, allocations: 1.174 MB / 0.6423 GB, free: 33.67 MB / 462.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.0004462/0.9169, allocations: 176.8 kB / 0.6424 GB, free: 33.5 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.008163/0.9251, allocations: 6.509 MB / 0.6488 GB, free: 26.98 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 8.205e-06/0.9252, allocations: 0 / 0.6488 GB, free: 26.98 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00251/0.9277, allocations: 2.16 MB / 0.6509 GB, free: 24.8 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003228/0.9309, allocations: 0.5692 MB / 0.6515 GB, free: 24.25 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01521/0.9461, allocations: 10.81 MB / 0.662 GB, free: 13.4 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003183/0.9494, allocations: 3.422 MB / 0.6654 GB, free: 9.945 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001034/0.9504, allocations: 283.4 kB / 0.6656 GB, free: 9.668 MB / 462.1 MB Notification: Performance of SimCode: time 1.052e-06/0.9504, allocations: 0 / 0.6656 GB, free: 9.668 MB / 462.1 MB Notification: Performance of Templates: time 0.3363/1.287, allocations: 102.4 MB / 0.7656 GB, free: 156 MB / 0.5137 GB 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