Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.ForceAndTorque.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.ForceAndTorque,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.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_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.ForceAndTorque") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00126/0.00126, allocations: 107.1 kB / 17.74 MB, free: 5.332 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.001255/0.001255, allocations: 186.5 kB / 18.68 MB, free: 4.406 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.289/1.289, allocations: 222.9 MB / 242.4 MB, free: 15.08 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0009853/0.0009853, allocations: 47.92 kB / 352 MB, free: 3.203 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2306/0.2316, allocations: 49.43 MB / 401.4 MB, free: 8.742 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.ForceAndTorque): time 0.01208/0.2437, allocations: 11.41 MB / 412.8 MB, free: 13.4 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.007221/0.251, allocations: 4.065 MB / 416.9 MB, free: 9.324 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001221/0.2522, allocations: 71.81 kB / 417 MB, free: 9.254 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005435/0.2577, allocations: 3.193 MB / 420.2 MB, free: 6.051 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00371/0.2614, allocations: 2 MB / 422.2 MB, free: 4.043 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0015/0.2629, allocations: 0.8344 MB / 423 MB, free: 3.207 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.00509/0.268, allocations: 4.454 MB / 427.4 MB, free: 14.75 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003718/0.2717, allocations: 4.056 MB / 431.5 MB, free: 10.62 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001561/0.2733, allocations: 1.655 MB / 433.2 MB, free: 8.965 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002248/0.2756, allocations: 2.161 MB / 435.3 MB, free: 6.797 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004955/0.2761, allocations: 356 kB / 435.7 MB, free: 6.449 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001841/0.2779, allocations: 1.252 MB / 436.9 MB, free: 5.195 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001555/0.2795, allocations: 2.073 MB / 439 MB, free: 3.117 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001799/0.2813, allocations: 2.361 MB / 441.4 MB, free: 0.7422 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006444/0.2877, allocations: 7.657 MB / 449 MB, free: 9.055 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.996e-06/0.2878, allocations: 4 kB / 449 MB, free: 9.051 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.123e-06/0.2878, allocations: 4 kB / 449 MB, free: 9.047 MB / 366.1 MB Notification: Performance of Transformations before backend: time 5.239e-05/0.2878, allocations: 0 / 449 MB, free: 9.047 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: 1599 * Number of variables: 1599 Notification: Performance of Generate backend data structure: time 0.007548/0.2954, allocations: 5.319 MB / 454.3 MB, free: 3.648 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.401e-05/0.2954, allocations: 11.97 kB / 454.4 MB, free: 3.637 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007991/0.3034, allocations: 2.205 MB / 456.6 MB, free: 1.426 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004735/0.3082, allocations: 2.851 MB / 459.4 MB, free: 14.51 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001565/0.3083, allocations: 254.3 kB / 459.7 MB, free: 14.26 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005483/0.3089, allocations: 327.8 kB / 460 MB, free: 13.94 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01501/0.3239, allocations: 10.82 MB / 470.8 MB, free: 2.434 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.343e-05/0.324, allocations: 39.64 kB / 470.8 MB, free: 2.395 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003649/0.3244, allocations: 167.8 kB / 471 MB, free: 2.23 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003262/0.3277, allocations: 2.154 MB / 473.1 MB, free: 76 kB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01592/0.3436, allocations: 9.227 MB / 482.4 MB, free: 6.824 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0453/0.3889, allocations: 41.77 MB / 0.5119 GB, free: 11.94 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01084/0.3998, allocations: 4.491 MB / 0.5162 GB, free: 7.301 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002844/0.4026, allocations: 2.493 MB / 0.5187 GB, free: 4.801 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01012/0.4128, allocations: 7.386 MB / 0.5259 GB, free: 13.21 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.491e-05/0.4128, allocations: 59.5 kB / 0.5259 GB, free: 13.14 MB / 462.1 MB Notification: Performance of pre-optimization done (n=177): time 3.847e-06/0.4129, allocations: 3.938 kB / 0.526 GB, free: 13.14 MB / 462.1 MB Notification: Performance of matching and sorting (n=198): time 0.2097/0.6226, allocations: 19 MB / 0.5445 GB, free: 128.5 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.995e-05/0.6227, allocations: 173.5 kB / 0.5447 GB, free: 128.3 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004698/0.6274, allocations: 4.634 MB / 0.5492 GB, free: 126.8 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001685/0.6276, allocations: 53.36 kB / 0.5492 GB, free: 126.7 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001221/0.6288, allocations: 3.342 MB / 0.5525 GB, free: 124.5 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004232/0.6292, allocations: 0.7948 MB / 0.5533 GB, free: 123.9 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001193/0.6304, allocations: 1.302 MB / 0.5546 GB, free: 123.3 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 3.144e-05/0.6305, allocations: 312.2 kB / 0.5549 GB, free: 123 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002609/0.6331, allocations: 2.395 MB / 0.5572 GB, free: 122.2 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003541/0.6366, allocations: 6.144 MB / 0.5632 GB, free: 116.4 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006512/0.6431, allocations: 9.233 MB / 0.5722 GB, free: 106.4 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.817e-05/0.6432, allocations: 39.94 kB / 0.5722 GB, free: 106.4 MB / 462.1 MB Notification: Performance of matching and sorting (n=830) (initialization): time 0.01131/0.6545, allocations: 9.388 MB / 0.5814 GB, free: 97.18 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.508e-05/0.6546, allocations: 62.97 kB / 0.5815 GB, free: 97.12 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.53e-05/0.6546, allocations: 132 kB / 0.5816 GB, free: 97 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002487/0.6571, allocations: 1.199 MB / 0.5828 GB, free: 95.79 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003566/0.6607, allocations: 1.443 MB / 0.5842 GB, free: 94.35 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006846/0.6676, allocations: 7.293 MB / 0.5913 GB, free: 86.91 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003487/0.6711, allocations: 347.6 kB / 0.5916 GB, free: 86.57 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003623/0.6715, allocations: 388 kB / 0.592 GB, free: 86.2 MB / 462.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 600 * Number of states: 0 () * Number of discrete variables: 49 (forceAndTorque.torqueArrow.arrowLine.twoHeadedArrow,forceAndTorque.torqueArrow.headAtOrigin,forceAndTorque.forceArrow.arrowLine.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.forceArrow.color[3],forceAndTorque.forceArrow.color[2],forceAndTorque.forceArrow.color[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 (772): * Single equations (assignments): 766 * 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.002215/0.6737, allocations: 2.236 MB / 0.5942 GB, free: 83.95 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004059/0.6741, allocations: 413.2 kB / 0.5946 GB, free: 83.54 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005598/0.6797, allocations: 4.058 MB / 0.5985 GB, free: 79.47 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.489e-05/0.6797, allocations: 15.91 kB / 0.5986 GB, free: 79.46 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.688e-06/0.6797, allocations: 0 / 0.5986 GB, free: 79.46 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004511/0.6802, allocations: 479.2 kB / 0.599 GB, free: 78.97 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004092/0.6806, allocations: 32 kB / 0.599 GB, free: 78.94 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001349/0.682, allocations: 119.8 kB / 0.5992 GB, free: 78.82 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002665/0.6822, allocations: 117.1 kB / 0.5993 GB, free: 78.7 MB / 462.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.006336/0.6886, allocations: 4.572 MB / 0.6037 GB, free: 74.16 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.005483/0.6941, allocations: 6.031 MB / 0.6096 GB, free: 68.11 MB / 462.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001427/0.6955, allocations: 1.576 MB / 0.6112 GB, free: 66.54 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.002815/0.6983, allocations: 2.92 MB / 0.614 GB, free: 63.62 MB / 462.1 MB Notification: Performance of Backend: time 4.21e-07/0.6983, allocations: 4 kB / 0.614 GB, free: 63.61 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.005957/0.7043, allocations: 4.598 MB / 0.6185 GB, free: 59.04 MB / 462.1 MB Notification: Performance of SimCode: time 0.01023/0.7145, allocations: 10.01 MB / 0.6283 GB, free: 49 MB / 462.1 MB Notification: Performance of Templates: time 0.06798/0.7825, allocations: 51.65 MB / 0.6787 GB, free: 13.59 MB / 478.1 MB make -j1 -f Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.ForceAndTorque.makefile (rm -f Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.ForceAndTorque.pipe ; mkfifo Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.ForceAndTorque.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.ForceAndTorque.pipe >> ../files/Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.ForceAndTorque.sim & ./Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.ForceAndTorque -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.ForceAndTorque.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_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_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.ForceAndTorque.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches