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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) 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: 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_trunk_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_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001056/0.001056, allocations: 114.3 kB / 18.46 MB, free: 4.598 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001085/0.001085, allocations: 210.7 kB / 19.41 MB, free: 3.648 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.314/1.314, allocations: 227.4 MB / 247.6 MB, free: 10.43 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001161/0.001161, allocations: 55.91 kB / 359.4 MB, free: 12.89 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2064/0.2075, allocations: 50.54 MB / 409.9 MB, free: 1.57 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip): time 0.0118/0.2194, allocations: 11.77 MB / 421.7 MB, free: 5.75 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.006785/0.2262, allocations: 4.343 MB / 426.1 MB, free: 1.391 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007412/0.2269, allocations: 83.69 kB / 426.1 MB, free: 1.309 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004699/0.2316, allocations: 2.862 MB / 429 MB, free: 14.44 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003265/0.2349, allocations: 1.934 MB / 430.9 MB, free: 12.5 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001773/0.2367, allocations: 1.041 MB / 432 MB, free: 11.45 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.005929/0.2427, allocations: 5.604 MB / 437.6 MB, free: 5.844 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003731/0.2464, allocations: 3.973 MB / 441.6 MB, free: 1.805 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001698/0.2481, allocations: 1.698 MB / 443.3 MB, free: 104 kB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002319/0.2504, allocations: 2.294 MB / 445.5 MB, free: 13.8 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005131/0.251, allocations: 364 kB / 445.9 MB, free: 13.44 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001828/0.2528, allocations: 1.233 MB / 447.1 MB, free: 12.21 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001634/0.2545, allocations: 2.096 MB / 449.2 MB, free: 10.11 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001863/0.2563, allocations: 2.35 MB / 451.6 MB, free: 7.746 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006146/0.2625, allocations: 7.547 MB / 459.1 MB, free: 180 kB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.546e-06/0.2625, allocations: 4 kB / 459.1 MB, free: 176 kB / 366.1 MB Notification: Performance of FrontEnd: time 1.172e-06/0.2625, allocations: 0 / 459.1 MB, free: 176 kB / 366.1 MB Notification: Performance of Transformations before backend: time 5.228e-05/0.2626, allocations: 4 kB / 459.1 MB, free: 172 kB / 366.1 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.008399/0.271, allocations: 5.177 MB / 464.3 MB, free: 10.92 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.451e-05/0.271, allocations: 12.03 kB / 464.3 MB, free: 10.91 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0252/0.2962, allocations: 3.158 MB / 467.5 MB, free: 7.738 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006785/0.303, allocations: 3.527 MB / 471 MB, free: 4.152 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001499/0.3032, allocations: 238.1 kB / 471.2 MB, free: 3.918 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005553/0.3038, allocations: 331.7 kB / 471.6 MB, free: 3.594 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01368/0.3174, allocations: 9.839 MB / 481.4 MB, free: 9.105 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001691/0.3176, allocations: 47.59 kB / 481.5 MB, free: 9.059 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006461/0.3183, allocations: 155.9 kB / 481.6 MB, free: 8.906 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005084/0.3234, allocations: 1.9 MB / 483.5 MB, free: 7 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02332/0.3467, allocations: 8.488 MB / 492 MB, free: 14.49 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04521/0.392, allocations: 38.22 MB / 0.5178 GB, free: 7.168 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008325/0.4003, allocations: 3.942 MB / 0.5216 GB, free: 3.074 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00255/0.4029, allocations: 2.182 MB / 0.5238 GB, free: 0.8828 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006405/0.4036, allocations: 0.6478 MB / 0.5244 GB, free: 128 kB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.551e-05/0.4036, allocations: 51.5 kB / 0.5244 GB, free: 68 kB / 446.1 MB Notification: Performance of pre-optimization done (n=166): time 4.308e-06/0.4036, allocations: 4 kB / 0.5245 GB, free: 64 kB / 446.1 MB Notification: Performance of matching and sorting (n=201): time 0.2301/0.6337, allocations: 22.55 MB / 0.5465 GB, free: 121.3 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.457e-05/0.6338, allocations: 250.6 kB / 0.5467 GB, free: 121 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004141/0.638, allocations: 4.157 MB / 0.5508 GB, free: 119.5 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001807/0.6381, allocations: 57.3 kB / 0.5508 GB, free: 119.5 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001158/0.6393, allocations: 3.082 MB / 0.5538 GB, free: 117.1 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004519/0.6398, allocations: 0.7679 MB / 0.5546 GB, free: 116.6 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001191/0.641, allocations: 1.249 MB / 0.5558 GB, free: 116 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 3.872e-05/0.641, allocations: 305.1 kB / 0.5561 GB, free: 115.7 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00264/0.6437, allocations: 2.488 MB / 0.5585 GB, free: 114.8 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003541/0.6472, allocations: 5.975 MB / 0.5644 GB, free: 109.3 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006839/0.6541, allocations: 9.072 MB / 0.5732 GB, free: 100.2 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.181e-05/0.6541, allocations: 36 kB / 0.5733 GB, free: 100.2 MB / 462.1 MB Notification: Performance of matching and sorting (n=797) (initialization): time 0.01479/0.6689, allocations: 10.55 MB / 0.5836 GB, free: 89.66 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.536e-05/0.669, allocations: 59.94 kB / 0.5836 GB, free: 89.6 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.801e-05/0.6691, allocations: 120 kB / 0.5837 GB, free: 89.48 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006426/0.6755, allocations: 2.587 MB / 0.5863 GB, free: 86.89 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003125/0.6786, allocations: 1.31 MB / 0.5875 GB, free: 85.58 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01885/0.6975, allocations: 18.64 MB / 0.6057 GB, free: 66.56 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004205/0.7017, allocations: 360.2 kB / 0.6061 GB, free: 66.21 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000428/0.7022, allocations: 359.8 kB / 0.6064 GB, free: 65.86 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.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.002314/0.7045, allocations: 2.142 MB / 0.6085 GB, free: 63.71 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005117/0.705, allocations: 374 kB / 0.6089 GB, free: 63.35 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008144/0.7132, allocations: 5.022 MB / 0.6138 GB, free: 58.3 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.808e-05/0.7132, allocations: 11.95 kB / 0.6138 GB, free: 58.29 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.921e-06/0.7132, allocations: 4 kB / 0.6138 GB, free: 58.29 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007479/0.714, allocations: 428.2 kB / 0.6142 GB, free: 57.84 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004252/0.7144, allocations: 32 kB / 0.6142 GB, free: 57.81 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001488/0.7159, allocations: 135.8 kB / 0.6144 GB, free: 57.68 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003001/0.7162, allocations: 145.1 kB / 0.6145 GB, free: 57.54 MB / 462.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.008507/0.7247, allocations: 5.416 MB / 0.6198 GB, free: 52.14 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.00632/0.731, allocations: 6.428 MB / 0.6261 GB, free: 45.71 MB / 462.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001621/0.7327, allocations: 1.712 MB / 0.6277 GB, free: 43.99 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.002917/0.7356, allocations: 2.619 MB / 0.6303 GB, free: 41.36 MB / 462.1 MB Notification: Performance of Backend: time 3.41e-07/0.7356, allocations: 0 / 0.6303 GB, free: 41.36 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.008033/0.7437, allocations: 5.199 MB / 0.6354 GB, free: 36.17 MB / 462.1 MB Notification: Performance of SimCode: time 0.01236/0.756, allocations: 9.853 MB / 0.645 GB, free: 26.29 MB / 462.1 MB Notification: Performance of Templates: time 0.08677/0.8428, allocations: 58.67 MB / 0.7023 GB, free: 15.88 MB / 0.4981 GB make -j1 -f Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip.makefile (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 & ./Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip.pipe 2>&1) diffSimulationResults("Modelica_trunk_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_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches