Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.DifferentiationOfForces.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package ModelicaServices with version trunk (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: translateModel(ModelicaTest.MultiBody.Forces.DifferentiationOfForces,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|rev.phi|rev.w",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.DifferentiationOfForces") translateModel(ModelicaTest.MultiBody.Forces.DifferentiationOfForces,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|rev.phi|rev.w",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.DifferentiationOfForces") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.000986/0.0009861, allocations: 192.1 kB / 17.43 MB, free: 4.281 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.27/1.27, allocations: 229.5 MB / 247.7 MB, free: 6.285 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008068/0.0008067, allocations: 108.2 kB / 299.9 MB, free: 5.309 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.4065/0.4065, allocations: 45 MB / 397 MB, free: 31.45 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002841/0.0002842, allocations: 4 kB / 470.8 MB, free: 7.082 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2943/0.2946, allocations: 63.1 MB / 0.5214 GB, free: 38.37 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.DifferentiationOfForces): time 0.03276/0.3274, allocations: 47.14 MB / 0.5674 GB, free: 5.008 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.02583/0.3533, allocations: 14.08 MB / 0.5811 GB, free: 8.961 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0091/0.3624, allocations: 215.5 kB / 0.5814 GB, free: 8.75 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001487/0.364, allocations: 390.1 kB / 0.5817 GB, free: 8.367 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003923/0.3679, allocations: 1.589 MB / 0.5833 GB, free: 6.773 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001397/0.3693, allocations: 0.6435 MB / 0.5839 GB, free: 6.129 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.006087/0.3754, allocations: 5.885 MB / 0.5897 GB, free: 236 kB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006735/0.3822, allocations: 5.786 MB / 0.5953 GB, free: 10.14 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002157/0.3844, allocations: 1.144 MB / 0.5964 GB, free: 8.988 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002484/0.3869, allocations: 1.775 MB / 0.5982 GB, free: 7.207 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004561/0.3874, allocations: 136 kB / 0.5983 GB, free: 7.074 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002254/0.3896, allocations: 1.045 MB / 0.5993 GB, free: 6.027 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001845/0.3915, allocations: 1.613 MB / 0.6009 GB, free: 4.41 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002024/0.3935, allocations: 1.884 MB / 0.6027 GB, free: 2.508 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.006895/0.4004, allocations: 6.517 MB / 0.6091 GB, free: 11.96 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.721e-06/0.4005, allocations: 0 / 0.6091 GB, free: 11.96 MB / 426.7 MB Notification: Performance of FrontEnd: time 4.688e-06/0.4005, allocations: 4 kB / 0.6091 GB, free: 11.96 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0001197/0.4006, allocations: 0 / 0.6091 GB, free: 11.96 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1454 * Number of variables: 1454 Notification: Performance of Generate backend data structure: time 0.006189/0.4068, allocations: 3.71 MB / 0.6127 GB, free: 8.191 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.953e-05/0.4068, allocations: 8.031 kB / 0.6127 GB, free: 8.184 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01438/0.4212, allocations: 2.601 MB / 0.6153 GB, free: 5.574 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005856/0.4271, allocations: 2.484 MB / 0.6177 GB, free: 3.027 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001617/0.4273, allocations: 222.2 kB / 0.6179 GB, free: 2.809 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006292/0.428, allocations: 303.8 kB / 0.6182 GB, free: 2.512 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01367/0.4416, allocations: 9.297 MB / 0.6273 GB, free: 8.582 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.569e-05/0.4418, allocations: 35.66 kB / 0.6273 GB, free: 8.547 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003805/0.4422, allocations: 147.9 kB / 0.6274 GB, free: 8.402 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002857/0.445, allocations: 1.837 MB / 0.6292 GB, free: 6.559 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01306/0.4581, allocations: 7.674 MB / 0.6367 GB, free: 14.86 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03681/0.4949, allocations: 34.9 MB / 0.6708 GB, free: 10.89 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004482/0.4995, allocations: 2.458 MB / 0.6732 GB, free: 8.289 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001649/0.5011, allocations: 1.297 MB / 0.6745 GB, free: 6.98 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003268/0.5015, allocations: 327.8 kB / 0.6748 GB, free: 6.602 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.081e-05/0.5015, allocations: 47.06 kB / 0.6748 GB, free: 6.547 MB / 490.7 MB Notification: Performance of pre-optimization done (n=122): time 3.506e-06/0.5015, allocations: 4 kB / 0.6748 GB, free: 6.543 MB / 490.7 MB Notification: Performance of matching and sorting (n=140): time 0.2259/0.7274, allocations: 11.86 MB / 0.6864 GB, free: 131.2 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.414e-05/0.7275, allocations: 204.2 kB / 0.6866 GB, free: 130.9 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003924/0.7315, allocations: 3.61 MB / 0.6901 GB, free: 129.6 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001368/0.7316, allocations: 40.83 kB / 0.6902 GB, free: 129.6 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001426/0.7331, allocations: 2.94 MB / 0.693 GB, free: 127.3 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005092/0.7336, allocations: 0.558 MB / 0.6936 GB, free: 126.9 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001716/0.7338, allocations: 104.4 kB / 0.6937 GB, free: 126.9 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.000208/0.734, allocations: 0.538 MB / 0.6942 GB, free: 126.4 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002264/0.7362, allocations: 1.821 MB / 0.696 GB, free: 125.9 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003441/0.7397, allocations: 5.257 MB / 0.7011 GB, free: 120.7 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007501/0.7472, allocations: 7.627 MB / 0.7086 GB, free: 114.2 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000101/0.7473, allocations: 35.25 kB / 0.7086 GB, free: 114.2 MB / 490.7 MB Notification: Performance of matching and sorting (n=710) (initialization): time 0.01192/0.7593, allocations: 7.309 MB / 0.7157 GB, free: 111.5 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.418e-05/0.7594, allocations: 57.84 kB / 0.7158 GB, free: 111.5 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001487/0.7595, allocations: 120.7 kB / 0.7159 GB, free: 111.5 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001678/0.7612, allocations: 0.6821 MB / 0.7166 GB, free: 111.4 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003678/0.7649, allocations: 1.264 MB / 0.7178 GB, free: 111.2 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004155/0.7691, allocations: 4.054 MB / 0.7218 GB, free: 108.9 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003569/0.7727, allocations: 320.4 kB / 0.7221 GB, free: 108.8 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004316/0.7731, allocations: 336.4 kB / 0.7224 GB, free: 108.7 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 553 * Number of states: 0 () * Number of discrete variables: 36 (forceAndTorque.torqueArrow.arrowLine.twoHeadedArrow,forceAndTorque.torqueArrow.headAtOrigin,forceAndTorque.forceArrow.arrowLine.twoHeadedArrow,forceAndTorque.forceArrow.headAtOrigin,cutForce.forceArrow.arrowLine.twoHeadedArrow,cutForce.forceArrow.headAtOrigin,forceAndTorque.torqueColor[3],forceAndTorque.torqueColor[2],forceAndTorque.torqueColor[1],forceAndTorque.forceColor[3],forceAndTorque.forceColor[2],forceAndTorque.forceColor[1],cutForce.forceColor[3],cutForce.forceColor[2],cutForce.forceColor[1],body.color[3],body.color[2],body.color[1],body.body.sphereColor[3],body.body.sphereColor[2],body.body.sphereColor[1],rev.cylinderColor[3],rev.cylinderColor[2],rev.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 (672): * Single equations (assignments): 668 * 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,13,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002685/0.7758, allocations: 2.035 MB / 0.7244 GB, free: 107.8 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004072/0.7762, allocations: 303.1 kB / 0.7247 GB, free: 107.6 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003412/0.7796, allocations: 2.306 MB / 0.7269 GB, free: 106.9 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.957e-05/0.7797, allocations: 16.72 kB / 0.7269 GB, free: 106.9 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.189e-05/0.7797, allocations: 10.17 kB / 0.727 GB, free: 106.9 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.288e-06/0.7797, allocations: 3.797 kB / 0.727 GB, free: 106.9 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008751/0.7885, allocations: 6.34 MB / 0.7332 GB, free: 103.5 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.763e-06/0.7885, allocations: 0 / 0.7332 GB, free: 103.5 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009208/0.7894, allocations: 227.7 kB / 0.7334 GB, free: 103.3 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001151/0.7906, allocations: 0.5025 MB / 0.7339 GB, free: 102.8 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.73e-05/0.7907, allocations: 27.98 kB / 0.7339 GB, free: 102.8 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003236/0.7939, allocations: 3.642 MB / 0.7374 GB, free: 98.98 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.953e-06/0.7939, allocations: 0 / 0.7374 GB, free: 98.98 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005874/0.7998, allocations: 4.451 MB / 0.7418 GB, free: 94.5 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007117/0.8005, allocations: 376.9 kB / 0.7421 GB, free: 94.11 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00031/0.8009, allocations: 25.23 kB / 0.7422 GB, free: 94.09 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001018/0.8019, allocations: 91.91 kB / 0.7423 GB, free: 94 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002435/0.8021, allocations: 100.4 kB / 0.7424 GB, free: 93.9 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.355e-05/0.8022, allocations: 44.47 kB / 0.7424 GB, free: 93.86 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.002354/0.8046, allocations: 2.226 MB / 0.7446 GB, free: 91.64 MB / 490.7 MB Notification: Performance of sort global known variables: time 9e-08/0.8046, allocations: 0 / 0.7446 GB, free: 91.64 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.003614/0.8082, allocations: 0.8919 MB / 0.7454 GB, free: 90.75 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 2 (rev.phi,rev.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 (107): * Single equations (assignments): 103 * 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 {(1,11,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002829/0.8085, allocations: 148.8 kB / 0.7456 GB, free: 90.61 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.005146/0.8137, allocations: 4.35 MB / 0.7498 GB, free: 86.29 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 2.946e-06/0.8137, allocations: 0 / 0.7498 GB, free: 86.29 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001349/0.815, allocations: 1.258 MB / 0.7511 GB, free: 85.02 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001948/0.817, allocations: 380.3 kB / 0.7514 GB, free: 84.64 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01051/0.8275, allocations: 10.32 MB / 0.7615 GB, free: 74.29 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002301/0.8298, allocations: 3.16 MB / 0.7646 GB, free: 71.1 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.003454/0.8333, allocations: 1.722 MB / 0.7663 GB, free: 69.37 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004489/0.8338, allocations: 215.4 kB / 0.7665 GB, free: 69.16 MB / 490.7 MB Notification: Performance of SimCode: time 9.51e-07/0.8338, allocations: 0 / 0.7665 GB, free: 69.16 MB / 490.7 MB Notification: Performance of Templates: time 0.04188/0.8757, allocations: 28.96 MB / 0.7947 GB, free: 40.39 MB / 490.7 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.DifferentiationOfForces.makefile (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.DifferentiationOfForces.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.DifferentiationOfForces.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.DifferentiationOfForces.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.DifferentiationOfForces.sim & ./ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.DifferentiationOfForces -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.DifferentiationOfForces.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.DifferentiationOfForces_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Forces/DifferentiationOfForces/DifferentiationOfForces.csv","../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.DifferentiationOfForces.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches