Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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_3.2.3_cpp_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_3.2.3_cpp_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001473/0.001473, allocations: 185.9 kB / 16.41 MB, free: 5.727 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.011/2.011, allocations: 205.4 MB / 222.5 MB, free: 9.141 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001114/0.001114, allocations: 103.8 kB / 270.9 MB, free: 8.395 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.5189/0.5189, allocations: 43.55 MB / 362.7 MB, free: 51.86 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004943/0.0004944, allocations: 8 kB / 431.4 MB, free: 5.977 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1223/0.1228, allocations: 58.85 MB / 490.2 MB, free: 11.04 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5036/0.6265, allocations: 109.1 MB / 0.5853 GB, free: 9.477 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002935/0.6268, allocations: 83.95 kB / 0.5853 GB, free: 9.395 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.9131/1.54, allocations: 138.9 MB / 0.721 GB, free: 84.85 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.725e-06/1.54, allocations: 0 / 0.721 GB, free: 84.85 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0005225/1.541, allocations: 149.9 kB / 0.7212 GB, free: 84.84 MB / 490.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2491 * Number of variables: 2491 Notification: Performance of Generate backend data structure: time 0.03566/1.576, allocations: 7.29 MB / 0.7283 GB, free: 81.92 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.276e-05/1.576, allocations: 12.08 kB / 0.7283 GB, free: 81.92 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05389/1.63, allocations: 7.18 MB / 0.7353 GB, free: 81.42 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02873/1.659, allocations: 7.593 MB / 0.7427 GB, free: 79.88 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008261/1.66, allocations: 0.5209 MB / 0.7432 GB, free: 79.68 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004473/1.664, allocations: 0.6935 MB / 0.7439 GB, free: 79.48 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05663/1.721, allocations: 17.25 MB / 0.7608 GB, free: 71.05 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005366/1.722, allocations: 85.34 kB / 0.7608 GB, free: 71 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003763/1.725, allocations: 335.7 kB / 0.7612 GB, free: 70.82 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003741/1.729, allocations: 1.628 MB / 0.7627 GB, free: 70.51 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04624/1.775, allocations: 14.36 MB / 0.7768 GB, free: 66.08 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1157/1.891, allocations: 72.38 MB / 0.8475 GB, free: 11.45 MB / 0.4949 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03328/1.925, allocations: 7.212 MB / 0.8545 GB, free: 4.098 MB / 0.4949 GB Notification: Performance of preOpt evalFunc (simulation): time 0.4003/2.325, allocations: 9.451 MB / 0.8637 GB, free: 91.29 MB / 0.4949 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.603e-05/2.325, allocations: 74.34 kB / 0.8638 GB, free: 91.25 MB / 0.4949 GB Notification: Performance of pre-optimization done (n=297): time 8.066e-06/2.325, allocations: 0 / 0.8638 GB, free: 91.25 MB / 0.4949 GB Notification: Performance of matching and sorting (n=339): time 0.1425/2.468, allocations: 32.2 MB / 0.8952 GB, free: 85.64 MB / 0.4949 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001254/2.468, allocations: 246.9 kB / 0.8955 GB, free: 85.39 MB / 0.4949 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0181/2.486, allocations: 5.971 MB / 0.9013 GB, free: 84.86 MB / 0.4949 GB Notification: Performance of collectPreVariables (initialization): time 0.001039/2.487, allocations: 78.09 kB / 0.9014 GB, free: 84.79 MB / 0.4949 GB Notification: Performance of collectInitialEqns (initialization): time 0.005005/2.492, allocations: 4.587 MB / 0.9059 GB, free: 81.28 MB / 0.4949 GB Notification: Performance of collectInitialBindings (initialization): time 0.002369/2.494, allocations: 1.258 MB / 0.9071 GB, free: 80.35 MB / 0.4949 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001771/2.496, allocations: 185 kB / 0.9073 GB, free: 80.21 MB / 0.4949 GB Notification: Performance of setup shared object (initialization): time 0.0009309/2.497, allocations: 0.6862 MB / 0.9079 GB, free: 79.73 MB / 0.4949 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01077/2.508, allocations: 3.744 MB / 0.9116 GB, free: 78.46 MB / 0.4949 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01461/2.523, allocations: 8.779 MB / 0.9202 GB, free: 70.46 MB / 0.4949 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01387/2.537, allocations: 5.611 MB / 0.9256 GB, free: 68.51 MB / 0.4949 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002119/2.537, allocations: 50.88 kB / 0.9257 GB, free: 68.51 MB / 0.4949 GB Notification: Performance of matching and sorting (n=1164) (initialization): time 0.03975/2.577, allocations: 13.6 MB / 0.939 GB, free: 63.91 MB / 0.4949 GB Notification: Performance of prepare postOptimizeDAE: time 0.000141/2.577, allocations: 85.31 kB / 0.9391 GB, free: 63.91 MB / 0.4949 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003064/2.577, allocations: 181 kB / 0.9392 GB, free: 63.91 MB / 0.4949 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007266/2.584, allocations: 1.704 MB / 0.9409 GB, free: 63.61 MB / 0.4949 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01411/2.599, allocations: 2.121 MB / 0.943 GB, free: 63.36 MB / 0.4949 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02245/2.621, allocations: 11.72 MB / 0.9544 GB, free: 57.12 MB / 0.4949 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01206/2.633, allocations: 0.5241 MB / 0.9549 GB, free: 56.96 MB / 0.4949 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002389/2.636, allocations: 0.5188 MB / 0.9554 GB, free: 56.89 MB / 0.4949 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 809 * Number of states: 0 () * Number of discrete variables: 57 (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.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],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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1092): * Single equations (assignments): 1087 * 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.01026/2.646, allocations: 3.29 MB / 0.9586 GB, free: 55.36 MB / 0.4949 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001998/2.648, allocations: 0.5875 MB / 0.9592 GB, free: 55.03 MB / 0.4949 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02465/2.673, allocations: 7.523 MB / 0.9666 GB, free: 52.25 MB / 0.4949 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.362e-05/2.673, allocations: 33.53 kB / 0.9666 GB, free: 52.25 MB / 0.4949 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.468e-05/2.673, allocations: 13.77 kB / 0.9666 GB, free: 52.25 MB / 0.4949 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.424e-05/2.673, allocations: 13.59 kB / 0.9666 GB, free: 52.25 MB / 0.4949 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05144/2.724, allocations: 16.1 MB / 0.9823 GB, free: 42 MB / 0.4949 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.393e-05/2.725, allocations: 4 kB / 0.9823 GB, free: 42 MB / 0.4949 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00653/2.731, allocations: 0.6299 MB / 0.983 GB, free: 41.51 MB / 0.4949 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00661/2.738, allocations: 1.421 MB / 0.9843 GB, free: 40.52 MB / 0.4949 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001051/2.739, allocations: 68.8 kB / 0.9844 GB, free: 40.46 MB / 0.4949 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.022/2.761, allocations: 10.92 MB / 0.9951 GB, free: 30.72 MB / 0.4949 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.635e-06/2.761, allocations: 11.94 kB / 0.9951 GB, free: 30.71 MB / 0.4949 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03169/2.793, allocations: 12.72 MB / 1.008 GB, free: 19.43 MB / 0.4949 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004935/2.798, allocations: 1.2 MB / 1.009 GB, free: 18.31 MB / 0.4949 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002472/2.8, allocations: 61.84 kB / 1.009 GB, free: 18.25 MB / 0.4949 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006444/2.807, allocations: 230.6 kB / 1.009 GB, free: 18.11 MB / 0.4949 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001321/2.808, allocations: 206 kB / 1.009 GB, free: 17.98 MB / 0.4949 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004091/2.808, allocations: 89.8 kB / 1.009 GB, free: 17.89 MB / 0.4949 GB Notification: Performance of sorting global known variables: time 0.01081/2.819, allocations: 4.299 MB / 1.013 GB, free: 14.38 MB / 0.4949 GB Notification: Performance of sort global known variables: time 8.31e-07/2.819, allocations: 4 kB / 1.013 GB, free: 14.37 MB / 0.4949 GB Notification: Performance of remove unused functions: time 0.01194/2.831, allocations: 1.7 MB / 1.015 GB, free: 12.68 MB / 0.4949 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 20 * 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (279): * Single equations (assignments): 274 * 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.001379/2.833, allocations: 219.1 kB / 1.015 GB, free: 12.47 MB / 0.4949 GB Notification: Performance of simCode: created initialization part: time 0.0213/2.854, allocations: 9.183 MB / 1.024 GB, free: 4.398 MB / 0.4949 GB Notification: Performance of simCode: created event and clocks part: time 9.879e-06/2.854, allocations: 4.062 kB / 1.024 GB, free: 4.395 MB / 0.4949 GB Notification: Performance of simCode: created simulation system equations: time 0.01005/2.864, allocations: 3.713 MB / 1.028 GB, free: 1.152 MB / 0.4949 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006631/2.871, allocations: 0.7228 MB / 1.029 GB, free: 0.5391 MB / 0.4949 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05776/2.929, allocations: 19.96 MB / 1.048 GB, free: 14.54 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.4007/3.329, allocations: 5.183 MB / 1.053 GB, free: 111.4 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00392/3.333, allocations: 484.4 kB / 1.054 GB, free: 111.4 MB / 0.5261 GB Notification: Performance of SimCode: time 2.434e-06/3.333, allocations: 0 / 1.054 GB, free: 111.4 MB / 0.5261 GB Notification: Performance of Templates: time 0.318/3.651, allocations: 152.6 MB / 1.203 GB, free: 33.53 MB / 0.5261 GB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Forces/FrameForcesAndTorques/FrameForcesAndTorques.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches