Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.ForceAndTorque.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.ForceAndTorque,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.ForceAndTorque") translateModel(Modelica.Mechanics.MultiBody.Examples.Elementary.ForceAndTorque,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.ForceAndTorque") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001064/0.001064, allocations: 111 kB / 18.46 MB, free: 4.594 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00118/0.00118, allocations: 207.9 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.303/1.303, allocations: 227.4 MB / 247.6 MB, free: 10.51 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001168/0.001168, allocations: 63.89 kB / 359.4 MB, free: 12.91 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2045/0.2057, allocations: 50.55 MB / 410 MB, free: 1.582 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.ForceAndTorque): time 0.01101/0.2167, allocations: 11.17 MB / 421.1 MB, free: 6.367 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.006174/0.2229, allocations: 4.045 MB / 425.2 MB, free: 2.312 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005944/0.2235, allocations: 67.81 kB / 425.2 MB, free: 2.246 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005029/0.2286, allocations: 3.173 MB / 428.4 MB, free: 15.06 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003115/0.2317, allocations: 1.887 MB / 430.3 MB, free: 13.17 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001419/0.2331, allocations: 0.8149 MB / 431.1 MB, free: 12.35 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.004787/0.2379, allocations: 4.405 MB / 435.5 MB, free: 7.938 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003852/0.2418, allocations: 4.015 MB / 439.5 MB, free: 3.855 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001634/0.2434, allocations: 1.612 MB / 441.1 MB, free: 2.238 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002126/0.2456, allocations: 2.107 MB / 443.2 MB, free: 128 kB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005001/0.2461, allocations: 356 kB / 443.6 MB, free: 15.77 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001842/0.2479, allocations: 1.237 MB / 444.8 MB, free: 14.54 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001522/0.2495, allocations: 1.999 MB / 446.8 MB, free: 12.54 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00182/0.2513, allocations: 2.28 MB / 449.1 MB, free: 10.24 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006061/0.2574, allocations: 7.362 MB / 456.5 MB, free: 2.855 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.056e-06/0.2574, allocations: 0 / 456.5 MB, free: 2.855 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.553e-06/0.2574, allocations: 0 / 456.5 MB, free: 2.855 MB / 366.1 MB Notification: Performance of Transformations before backend: time 6.731e-05/0.2575, allocations: 0 / 456.5 MB, free: 2.855 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: 1541 * Number of variables: 1541 Notification: Performance of Generate backend data structure: time 0.00784/0.2653, allocations: 5.053 MB / 461.5 MB, free: 13.73 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.724e-05/0.2654, allocations: 16.02 kB / 461.5 MB, free: 13.71 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007801/0.2732, allocations: 2.128 MB / 463.7 MB, free: 11.58 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004818/0.278, allocations: 2.772 MB / 466.4 MB, free: 8.746 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001484/0.2782, allocations: 246.1 kB / 466.7 MB, free: 8.504 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004917/0.2787, allocations: 315.9 kB / 467 MB, free: 8.195 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01368/0.2924, allocations: 10.45 MB / 477.4 MB, free: 13.05 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.528e-05/0.2925, allocations: 35.69 kB / 477.5 MB, free: 13.01 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003699/0.2928, allocations: 159.8 kB / 477.6 MB, free: 12.86 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00305/0.2959, allocations: 2.029 MB / 479.7 MB, free: 10.82 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01431/0.3102, allocations: 8.909 MB / 488.6 MB, free: 1.895 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04207/0.3523, allocations: 40.8 MB / 0.517 GB, free: 7.996 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01113/0.3634, allocations: 4.487 MB / 0.5213 GB, free: 3.363 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002877/0.3663, allocations: 2.497 MB / 0.5238 GB, free: 0.8555 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01054/0.3769, allocations: 7.341 MB / 0.531 GB, free: 9.305 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.784e-05/0.377, allocations: 59.48 kB / 0.531 GB, free: 9.238 MB / 462.1 MB Notification: Performance of pre-optimization done (n=177): time 3.867e-06/0.377, allocations: 0 / 0.531 GB, free: 9.238 MB / 462.1 MB Notification: Performance of matching and sorting (n=198): time 0.2179/0.5949, allocations: 18.65 MB / 0.5492 GB, free: 121.2 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.325e-05/0.5949, allocations: 175.3 kB / 0.5494 GB, free: 121 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004237/0.5992, allocations: 4.56 MB / 0.5538 GB, free: 119.4 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001331/0.5993, allocations: 49.67 kB / 0.5539 GB, free: 119.3 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001177/0.6005, allocations: 3.129 MB / 0.557 GB, free: 116.9 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004339/0.6009, allocations: 0.753 MB / 0.5577 GB, free: 116.4 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001192/0.6021, allocations: 1.279 MB / 0.5589 GB, free: 115.8 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 3.476e-05/0.6022, allocations: 305.8 kB / 0.5592 GB, free: 115.5 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002504/0.6047, allocations: 2.383 MB / 0.5616 GB, free: 114.7 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003429/0.6081, allocations: 6.077 MB / 0.5675 GB, free: 107.7 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006535/0.6147, allocations: 9.149 MB / 0.5764 GB, free: 97.13 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.77e-05/0.6147, allocations: 36 kB / 0.5765 GB, free: 97.09 MB / 462.1 MB Notification: Performance of matching and sorting (n=821) (initialization): time 0.01132/0.6261, allocations: 9.282 MB / 0.5855 GB, free: 87.8 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.596e-05/0.6261, allocations: 60 kB / 0.5856 GB, free: 87.75 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.064e-05/0.6262, allocations: 132 kB / 0.5857 GB, free: 87.62 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002505/0.6287, allocations: 1.195 MB / 0.5869 GB, free: 86.42 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003668/0.6324, allocations: 1.431 MB / 0.5883 GB, free: 84.98 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007069/0.6395, allocations: 7.293 MB / 0.5954 GB, free: 77.55 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003605/0.6431, allocations: 347.5 kB / 0.5957 GB, free: 77.21 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003619/0.6435, allocations: 383.6 kB / 0.5961 GB, free: 76.84 MB / 462.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 591 * Number of states: 0 () * Number of discrete variables: 46 (forceAndTorque.torqueArrow.twoHeadedArrow,forceAndTorque.torqueArrow.headAtOrigin,forceAndTorque.forceArrow.twoHeadedArrow,forceAndTorque.forceArrow.headAtOrigin,fixed2.color[3],fixed2.color[2],fixed2.color[1],revolute1.cylinderColor[3],revolute1.cylinderColor[2],revolute1.cylinderColor[1],revolute2.cylinderColor[3],revolute2.cylinderColor[2],revolute2.cylinderColor[1],forceAndTorque.connectionLineColor[3],forceAndTorque.connectionLineColor[2],forceAndTorque.connectionLineColor[1],forceAndTorque.torqueColor[3],forceAndTorque.torqueColor[2],forceAndTorque.torqueColor[1],forceAndTorque.forceColor[3],forceAndTorque.forceColor[2],forceAndTorque.forceColor[1],fixedRotation.color[3],fixedRotation.color[2],fixedRotation.color[1],fixed1.color[3],fixed1.color[2],fixed1.color[1],body.color[3],body.color[2],body.color[1],body.body.sphereColor[3],body.body.sphereColor[2],body.body.sphereColor[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],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (763): * Single equations (assignments): 757 * Array equations: 5 * 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,23,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002154/0.6456, allocations: 2.17 MB / 0.5982 GB, free: 74.66 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004499/0.6461, allocations: 394.9 kB / 0.5986 GB, free: 74.27 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005739/0.6518, allocations: 4.046 MB / 0.6025 GB, free: 70.21 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.597e-05/0.6519, allocations: 11.97 kB / 0.6025 GB, free: 70.2 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.629e-06/0.6519, allocations: 0 / 0.6025 GB, free: 70.2 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005803/0.6525, allocations: 455.8 kB / 0.603 GB, free: 69.73 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003853/0.6529, allocations: 31.94 kB / 0.603 GB, free: 69.7 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001397/0.6543, allocations: 127.5 kB / 0.6031 GB, free: 69.57 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000248/0.6545, allocations: 117.1 kB / 0.6032 GB, free: 69.46 MB / 462.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.006448/0.661, allocations: 4.563 MB / 0.6077 GB, free: 64.92 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.005564/0.6666, allocations: 6 MB / 0.6136 GB, free: 58.9 MB / 462.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001443/0.668, allocations: 1.582 MB / 0.6151 GB, free: 57.32 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.002883/0.6709, allocations: 2.884 MB / 0.6179 GB, free: 54.43 MB / 462.1 MB Notification: Performance of Backend: time 4.4e-07/0.6709, allocations: 0 / 0.6179 GB, free: 54.43 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.00656/0.6775, allocations: 4.563 MB / 0.6224 GB, free: 49.91 MB / 462.1 MB Notification: Performance of SimCode: time 0.01049/0.688, allocations: 9.6 MB / 0.6318 GB, free: 40.28 MB / 462.1 MB Notification: Performance of Templates: time 0.07186/0.7599, allocations: 50.97 MB / 0.6815 GB, free: 5.52 MB / 478.1 MB make -j1 -f Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.ForceAndTorque.makefile (rm -f Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.ForceAndTorque.pipe ; mkfifo Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.ForceAndTorque.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.ForceAndTorque.pipe >> ../files/Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.ForceAndTorque.sim & ./Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.ForceAndTorque -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.ForceAndTorque.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.ForceAndTorque_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/MultiBody/Examples/Elementary/ForceAndTorque/ForceAndTorque.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.ForceAndTorque.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches