Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques3.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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) 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(ModelicaTest.MultiBody.Forces.FrameForcesAndTorques3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Revolute1.phi|Revolute1.w|Revolute2.phi|Revolute2.w|Revolute3.phi|Revolute3.w|Revolute4.phi|Revolute4.w",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques3") translateModel(ModelicaTest.MultiBody.Forces.FrameForcesAndTorques3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Revolute1.phi|Revolute1.w|Revolute2.phi|Revolute2.w|Revolute3.phi|Revolute3.w|Revolute4.phi|Revolute4.w",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001083/0.001083, allocations: 113.7 kB / 18.45 MB, free: 4.617 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.001155/0.001155, allocations: 190 kB / 19.39 MB, free: 3.688 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.332/1.332, allocations: 222.9 MB / 243.1 MB, free: 15.05 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2073/0.2073, allocations: 44.19 MB / 337.4 MB, free: 2.684 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001365/0.001365, allocations: 63.91 kB / 471.2 MB, free: 13.18 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3487/0.35, allocations: 60.81 MB / 0.5196 GB, free: 3.625 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.FrameForcesAndTorques3): time 0.01492/0.365, allocations: 14.06 MB / 0.5333 GB, free: 9.488 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0112/0.3762, allocations: 4.785 MB / 0.538 GB, free: 5.711 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003033/0.3793, allocations: 94.38 kB / 0.5381 GB, free: 5.695 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.008992/0.3883, allocations: 4.499 MB / 0.5425 GB, free: 2.691 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006757/0.3951, allocations: 2.381 MB / 0.5448 GB, free: 0.9648 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002771/0.3979, allocations: 1.145 MB / 0.5459 GB, free: 188 kB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.009613/0.4075, allocations: 6.444 MB / 0.5522 GB, free: 10.6 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007566/0.4151, allocations: 5.62 MB / 0.5577 GB, free: 4.914 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003732/0.4189, allocations: 2.294 MB / 0.5599 GB, free: 2.613 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004813/0.4237, allocations: 3.03 MB / 0.5629 GB, free: 15.57 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001521/0.4252, allocations: 0.5 MB / 0.5634 GB, free: 15.07 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003646/0.4289, allocations: 1.537 MB / 0.5649 GB, free: 13.54 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003271/0.4322, allocations: 2.833 MB / 0.5676 GB, free: 10.7 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.005095/0.4373, allocations: 3.208 MB / 0.5708 GB, free: 7.469 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01353/0.4508, allocations: 10.22 MB / 0.5808 GB, free: 13.21 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.767e-06/0.4509, allocations: 4 kB / 0.5808 GB, free: 13.2 MB / 446.1 MB Notification: Performance of FrontEnd: time 3.095e-06/0.4509, allocations: 4 kB / 0.5808 GB, free: 13.2 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0004151/0.4513, allocations: 4 kB / 0.5808 GB, free: 13.2 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2101 * Number of variables: 2101 Notification: Performance of Generate backend data structure: time 0.01601/0.4673, allocations: 7.081 MB / 0.5877 GB, free: 6.023 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.066e-05/0.4674, allocations: 8.031 kB / 0.5877 GB, free: 6.016 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01163/0.479, allocations: 2.719 MB / 0.5904 GB, free: 3.289 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008988/0.488, allocations: 4.043 MB / 0.5943 GB, free: 15.18 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003052/0.4884, allocations: 341.3 kB / 0.5946 GB, free: 14.85 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00155/0.4899, allocations: 471.8 kB / 0.5951 GB, free: 14.39 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02842/0.5184, allocations: 14.75 MB / 0.6095 GB, free: 14.8 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002514/0.5187, allocations: 71.47 kB / 0.6095 GB, free: 14.73 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001367/0.52, allocations: 215.8 kB / 0.6097 GB, free: 14.52 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004995/0.525, allocations: 2.778 MB / 0.6125 GB, free: 11.73 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02631/0.5514, allocations: 12.76 MB / 0.6249 GB, free: 14.94 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07301/0.6244, allocations: 53.43 MB / 0.6771 GB, free: 8.094 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0162/0.6407, allocations: 6.236 MB / 0.6832 GB, free: 1.703 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004979/0.6457, allocations: 3.862 MB / 0.687 GB, free: 13.84 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02007/0.6658, allocations: 13.3 MB / 0.7 GB, free: 380 kB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.917e-05/0.6659, allocations: 52.56 kB / 0.7 GB, free: 320 kB / 0.545 GB Notification: Performance of pre-optimization done (n=228): time 5.14e-06/0.6659, allocations: 0 / 0.7 GB, free: 320 kB / 0.545 GB Notification: Performance of matching and sorting (n=270): time 0.3501/1.016, allocations: 29.97 MB / 0.7293 GB, free: 164.6 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.73e-05/1.016, allocations: 210.4 kB / 0.7295 GB, free: 164.4 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007063/1.023, allocations: 5.053 MB / 0.7344 GB, free: 162.7 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0009173/1.024, allocations: 67.55 kB / 0.7345 GB, free: 162.6 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.003165/1.027, allocations: 4.129 MB / 0.7385 GB, free: 159.9 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.001191/1.029, allocations: 1.063 MB / 0.7395 GB, free: 159.1 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001894/1.03, allocations: 1.549 MB / 0.7411 GB, free: 158.4 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 4.054e-05/1.03, allocations: 301.1 kB / 0.7413 GB, free: 158.1 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003831/1.034, allocations: 3.305 MB / 0.7446 GB, free: 157 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005977/1.04, allocations: 7.436 MB / 0.7518 GB, free: 150.4 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0109/1.051, allocations: 11.51 MB / 0.7631 GB, free: 139.7 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000125/1.051, allocations: 44 kB / 0.7631 GB, free: 139.7 MB / 0.5606 GB Notification: Performance of matching and sorting (n=972) (initialization): time 0.02062/1.072, allocations: 12.62 MB / 0.7754 GB, free: 127 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001792/1.072, allocations: 64 kB / 0.7755 GB, free: 127 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002518/1.072, allocations: 144 kB / 0.7756 GB, free: 126.8 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005115/1.078, allocations: 2.245 MB / 0.7778 GB, free: 124.6 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005847/1.083, allocations: 1.715 MB / 0.7795 GB, free: 122.9 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0147/1.098, allocations: 14.4 MB / 0.7936 GB, free: 108.2 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006077/1.104, allocations: 451.4 kB / 0.794 GB, free: 107.8 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001116/1.105, allocations: 447.2 kB / 0.7944 GB, free: 107.3 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 654 * Number of states: 0 () * Number of discrete variables: 59 (frameTorque2.torqueArrow.arrowLine.twoHeadedArrow,frameTorque2.torqueArrow.headAtOrigin,frameTorque2.forceArrow.arrowLine.twoHeadedArrow,frameTorque2.forceArrow.headAtOrigin,frameTorque1.torqueArrow.arrowLine.twoHeadedArrow,frameTorque1.torqueArrow.headAtOrigin,frameTorque1.forceArrow.arrowLine.twoHeadedArrow,frameTorque1.forceArrow.headAtOrigin,fixedTranslation.color[3],fixedTranslation.color[2],fixedTranslation.color[1],Revolute4.cylinderColor[3],Revolute4.cylinderColor[2],Revolute4.cylinderColor[1],Revolute3.cylinderColor[3],Revolute3.cylinderColor[2],Revolute3.cylinderColor[1],Revolute2.cylinderColor[3],Revolute2.cylinderColor[2],Revolute2.cylinderColor[1],frameTorque2.torqueColor[3],frameTorque2.torqueColor[2],frameTorque2.torqueColor[1],frameTorque2.forceColor[3],frameTorque2.forceColor[2],frameTorque2.forceColor[1],frameTorque1.torqueColor[3],frameTorque1.torqueColor[2],frameTorque1.torqueColor[1],frameTorque1.forceColor[3],frameTorque1.forceColor[2],frameTorque1.forceColor[1],body2.color[3],body2.color[2],body2.color[1],body2.body.sphereColor[3],body2.body.sphereColor[2],body2.body.sphereColor[1],body1.color[3],body1.color[2],body1.color[1],body1.body.sphereColor[3],body1.body.sphereColor[2],body1.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 (900): * Single equations (assignments): 895 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(2,23,100.0%), (2,23,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.004535/1.11, allocations: 2.789 MB / 0.7972 GB, free: 104.5 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001179/1.111, allocations: 480.9 kB / 0.7976 GB, free: 104 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01075/1.122, allocations: 7.008 MB / 0.8045 GB, free: 97.01 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.272e-05/1.122, allocations: 15.89 kB / 0.8045 GB, free: 96.99 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.462e-06/1.122, allocations: 0 / 0.8045 GB, free: 96.99 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001232/1.123, allocations: 0.529 MB / 0.805 GB, free: 96.44 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0011/1.124, allocations: 46.27 kB / 0.805 GB, free: 96.4 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002746/1.127, allocations: 207.7 kB / 0.8052 GB, free: 96.2 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005362/1.128, allocations: 185.7 kB / 0.8054 GB, free: 96.02 MB / 0.5606 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01147/1.139, allocations: 7.391 MB / 0.8126 GB, free: 88.66 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.01012/1.149, allocations: 9.168 MB / 0.8216 GB, free: 79.44 MB / 0.5606 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.002542/1.152, allocations: 2.527 MB / 0.824 GB, free: 76.92 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.005483/1.157, allocations: 3.159 MB / 0.8271 GB, free: 73.77 MB / 0.5606 GB Notification: Performance of Backend: time 6.61e-07/1.157, allocations: 0 / 0.8271 GB, free: 73.77 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.01239/1.17, allocations: 6.138 MB / 0.8331 GB, free: 67.65 MB / 0.5606 GB Notification: Performance of SimCode: time 0.02192/1.192, allocations: 13.11 MB / 0.8459 GB, free: 54.5 MB / 0.5606 GB Notification: Performance of Templates: time 0.125/1.317, allocations: 71.8 MB / 0.916 GB, free: 15.04 MB / 0.5919 GB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques3.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques3.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques3.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques3.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques3.sim & ./ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques3.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques3_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Forces/FrameForcesAndTorques3/FrameForcesAndTorques3.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches