Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques.conf.json 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/ModelicaServices 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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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) Running command: translateModel(ModelicaTest.MultiBody.Forces.FrameForcesAndTorques,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.FrameForcesAndTorques") translateModel(ModelicaTest.MultiBody.Forces.FrameForcesAndTorques,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.FrameForcesAndTorques") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009069/0.0009069, allocations: 180.5 kB / 14.15 MB, free: 1.176 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.248/1.248, allocations: 221.3 MB / 236 MB, free: 2.957 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008/0.0008002, allocations: 80.12 kB / 287 MB, free: 248 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1785/0.1785, allocations: 44.16 MB / 382.1 MB, free: 14.67 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 2.453e-05/2.456e-05, allocations: 4.219 kB / 451.8 MB, free: 9.438 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1092/0.1092, allocations: 61.91 MB / 0.5017 GB, free: 11.46 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3863/0.4956, allocations: 109.6 MB / 0.6087 GB, free: 11.71 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003046/0.496, allocations: 71.97 kB / 0.6088 GB, free: 11.64 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5683/1.064, allocations: 127.6 MB / 0.7334 GB, free: 110.9 MB / 0.5105 GB Notification: Performance of FrontEnd: time 2.144e-06/1.064, allocations: 0 / 0.7334 GB, free: 110.9 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 0.0003895/1.065, allocations: 124.1 kB / 0.7335 GB, free: 110.9 MB / 0.5105 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2215 * Number of variables: 2215 Notification: Performance of Generate backend data structure: time 0.02132/1.086, allocations: 6.291 MB / 0.7397 GB, free: 108.4 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.449e-05/1.086, allocations: 12.81 kB / 0.7397 GB, free: 108.4 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02654/1.113, allocations: 7.058 MB / 0.7466 GB, free: 108 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01665/1.129, allocations: 6.941 MB / 0.7533 GB, free: 107.2 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003823/1.13, allocations: 483 kB / 0.7538 GB, free: 107.2 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002586/1.132, allocations: 0.6267 MB / 0.7544 GB, free: 107.1 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03101/1.163, allocations: 15.59 MB / 0.7696 GB, free: 103.6 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003544/1.164, allocations: 82.45 kB / 0.7697 GB, free: 103.5 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001907/1.166, allocations: 305.7 kB / 0.77 GB, free: 103.5 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001742/1.167, allocations: 1.423 MB / 0.7714 GB, free: 103.5 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02399/1.191, allocations: 12.75 MB / 0.7838 GB, free: 100.2 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06234/1.254, allocations: 66.92 MB / 0.8492 GB, free: 45.79 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01376/1.268, allocations: 6.34 MB / 0.8554 GB, free: 40.52 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003377/1.271, allocations: 3.361 MB / 0.8587 GB, free: 37.45 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0116/1.283, allocations: 7.981 MB / 0.8665 GB, free: 30.76 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.134e-05/1.283, allocations: 64.12 kB / 0.8665 GB, free: 30.69 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=227): time 5.631e-06/1.283, allocations: 4 kB / 0.8665 GB, free: 30.69 MB / 0.5105 GB Notification: Performance of matching and sorting (n=269): time 0.05594/1.339, allocations: 24.82 MB / 0.8908 GB, free: 6 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.173e-05/1.339, allocations: 231.4 kB / 0.891 GB, free: 5.727 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008105/1.347, allocations: 5.624 MB / 0.8965 GB, free: 100 kB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0006489/1.348, allocations: 65.7 kB / 0.8965 GB, free: 28 kB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.003254/1.351, allocations: 4.427 MB / 0.9009 GB, free: 11.61 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.001471/1.352, allocations: 1.03 MB / 0.9019 GB, free: 10.58 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004026/1.353, allocations: 160 kB / 0.902 GB, free: 10.43 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0004474/1.353, allocations: 0.6446 MB / 0.9027 GB, free: 9.773 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004553/1.358, allocations: 3.073 MB / 0.9057 GB, free: 6.695 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.2945/1.652, allocations: 7.737 MB / 0.9132 GB, free: 109.5 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008152/1.661, allocations: 4.824 MB / 0.9179 GB, free: 109.4 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001977/1.661, allocations: 49.38 kB / 0.918 GB, free: 109.4 MB / 0.5261 GB Notification: Performance of matching and sorting (n=1032) (initialization): time 0.02793/1.689, allocations: 12.09 MB / 0.9298 GB, free: 109 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001882/1.689, allocations: 75.31 kB / 0.9298 GB, free: 109 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002661/1.689, allocations: 167 kB / 0.93 GB, free: 109 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003826/1.693, allocations: 1.677 MB / 0.9316 GB, free: 108.9 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006513/1.7, allocations: 1.851 MB / 0.9335 GB, free: 108.8 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01148/1.711, allocations: 11.37 MB / 0.9446 GB, free: 106 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006689/1.718, allocations: 467 kB / 0.945 GB, free: 106 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001388/1.719, allocations: 479 kB / 0.9455 GB, free: 106 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 755 * Number of states: 0 () * Number of discrete variables: 65 (FixedRotation1.color[3],FixedRotation1.color[2],FixedRotation1.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.torqueArrow.arrowLine.twoHeadedArrow,frameTorque2.torqueArrow.headAtOrigin,frameTorque2.torqueColor[3],frameTorque2.torqueColor[2],frameTorque2.torqueColor[1],frameTorque2.forceArrow.arrowLine.twoHeadedArrow,frameTorque2.forceArrow.headAtOrigin,frameTorque2.forceColor[3],frameTorque2.forceColor[2],frameTorque2.forceColor[1],frameTorque1.torqueArrow.arrowLine.twoHeadedArrow,frameTorque1.torqueArrow.headAtOrigin,frameTorque1.torqueColor[3],frameTorque1.torqueColor[2],frameTorque1.torqueColor[1],frameTorque1.forceArrow.arrowLine.twoHeadedArrow,frameTorque1.forceArrow.headAtOrigin,frameTorque1.forceColor[3],frameTorque1.forceColor[2],frameTorque1.forceColor[1],fixed2.color[3],fixed2.color[2],fixed2.color[1],body2.color[3],body2.color[2],body2.color[1],body2.body.sphereColor[3],body2.body.sphereColor[2],body2.body.sphereColor[1],fixed1.color[3],fixed1.color[2],fixed1.color[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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (960): * Single equations (assignments): 955 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(2,100.0%) 23,(2,100.0%) 23} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001234/1.721, allocations: 0.7255 MB / 0.9462 GB, free: 105.7 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009292/1.721, allocations: 0.541 MB / 0.9467 GB, free: 105.7 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00944/1.731, allocations: 6.021 MB / 0.9526 GB, free: 105.4 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.751e-05/1.731, allocations: 29.5 kB / 0.9526 GB, free: 105.4 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.701e-05/1.731, allocations: 11.28 kB / 0.9526 GB, free: 105.4 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.834e-05/1.731, allocations: 16.67 kB / 0.9526 GB, free: 105.4 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02308/1.754, allocations: 13.6 MB / 0.9659 GB, free: 100.7 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.578e-05/1.754, allocations: 0 / 0.9659 GB, free: 100.7 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002453/1.757, allocations: 0.4928 MB / 0.9664 GB, free: 100.6 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003331/1.76, allocations: 1.414 MB / 0.9678 GB, free: 100.3 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004564/1.76, allocations: 45.72 kB / 0.9678 GB, free: 100.3 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01116/1.772, allocations: 10.6 MB / 0.9782 GB, free: 94.74 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.138e-06/1.772, allocations: 3.594 kB / 0.9782 GB, free: 94.74 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01356/1.785, allocations: 10.32 MB / 0.9883 GB, free: 90.32 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002357/1.788, allocations: 0.6154 MB / 0.9889 GB, free: 89.88 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002185/1.79, allocations: 46.59 kB / 0.9889 GB, free: 89.85 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003941/1.794, allocations: 187.5 kB / 0.9891 GB, free: 89.82 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000728/1.795, allocations: 157.3 kB / 0.9892 GB, free: 89.79 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002254/1.795, allocations: 73.5 kB / 0.9893 GB, free: 89.77 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.008085/1.803, allocations: 4.017 MB / 0.9932 GB, free: 88.39 MB / 0.5261 GB Notification: Performance of sort global known variables: time 6.41e-07/1.803, allocations: 0 / 0.9932 GB, free: 88.39 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.01103/1.814, allocations: 1.507 MB / 0.9947 GB, free: 88.23 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * Number of states: 8 (Revolute1.phi,Revolute1.w,Revolute3.phi,Revolute3.w,Revolute2.phi,Revolute2.w,Revolute4.phi,Revolute4.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (211): * Single equations (assignments): 206 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(4,75.0%) 18,(4,75.0%) 18} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001029/1.815, allocations: 204.9 kB / 0.9949 GB, free: 88.08 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.01157/1.827, allocations: 7.677 MB / 1.002 GB, free: 85.23 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 7.875e-06/1.827, allocations: 3.828 kB / 1.002 GB, free: 85.23 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.004673/1.831, allocations: 3.067 MB / 1.005 GB, free: 83.92 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00404/1.835, allocations: 0.6973 MB / 1.006 GB, free: 83.34 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02215/1.858, allocations: 12.09 MB / 1.018 GB, free: 72.59 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005796/1.863, allocations: 4.742 MB / 1.023 GB, free: 69.09 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.006147/1.87, allocations: 2.641 MB / 1.025 GB, free: 67.39 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001232/1.871, allocations: 368.1 kB / 1.025 GB, free: 67.05 MB / 0.5261 GB Notification: Performance of SimCode: time 6.32e-07/1.871, allocations: 3.5 kB / 1.025 GB, free: 67.05 MB / 0.5261 GB Notification: Performance of Templates: time 0.09289/1.964, allocations: 59.12 MB / 1.083 GB, free: 15.63 MB / 0.5261 GB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques.sim & ./ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Forces/FrameForcesAndTorques/FrameForcesAndTorques.csv","../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches