Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_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_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_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.001413/0.001413, allocations: 177.2 kB / 8.008 MB, free: 1.066 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.795/1.795, allocations: 205.3 MB / 213.7 MB, free: 1.742 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001113/0.001114, allocations: 90.61 kB / 261.8 MB, free: 1.68 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.2061/0.2061, allocations: 43.5 MB / 353.2 MB, free: 280 kB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 1.579e-05/1.583e-05, allocations: 4 kB / 418.3 MB, free: 28.54 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.117/0.1171, allocations: 58.86 MB / 477.1 MB, free: 1.633 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.393/0.5101, allocations: 108.3 MB / 0.5717 GB, free: 3.414 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002638/0.5104, allocations: 80.23 kB / 0.5718 GB, free: 3.375 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3401/0.8505, allocations: 135.9 MB / 0.7045 GB, free: 3.148 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.552e-06/0.8506, allocations: 0 / 0.7045 GB, free: 3.148 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 0.0003553/0.851, allocations: 132 kB / 0.7046 GB, free: 3.02 MB / 0.4948 GB 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.2853/1.136, allocations: 6.79 MB / 0.7113 GB, free: 94.61 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.614e-05/1.136, allocations: 9.469 kB / 0.7113 GB, free: 94.61 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03184/1.168, allocations: 7.185 MB / 0.7183 GB, free: 94.13 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02152/1.19, allocations: 7.542 MB / 0.7257 GB, free: 93.71 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004855/1.19, allocations: 231.2 kB / 0.7259 GB, free: 93.71 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003653/1.194, allocations: 410.1 kB / 0.7263 GB, free: 93.71 MB / 0.4948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01759/1.212, allocations: 9.817 MB / 0.7359 GB, free: 93.68 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03356/1.245, allocations: 14.83 MB / 0.7503 GB, free: 89.98 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003771/1.246, allocations: 88.94 kB / 0.7504 GB, free: 89.97 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002043/1.248, allocations: 44.72 kB / 0.7505 GB, free: 89.97 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002049/1.25, allocations: 1.627 MB / 0.7521 GB, free: 89.96 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07124/1.321, allocations: 69.59 MB / 0.82 GB, free: 44.59 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006168/1.327, allocations: 5.575 MB / 0.8255 GB, free: 42.02 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003858/1.331, allocations: 3.751 MB / 0.8291 GB, free: 40.47 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001768/1.331, allocations: 58.64 kB / 0.8292 GB, free: 40.46 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.249e-05/1.331, allocations: 75.03 kB / 0.8293 GB, free: 40.4 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=296): time 6.392e-06/1.331, allocations: 0 / 0.8293 GB, free: 40.4 MB / 0.4948 GB Notification: Performance of matching and sorting (n=339): time 0.05211/1.383, allocations: 28.76 MB / 0.8573 GB, free: 19.19 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.874e-05/1.384, allocations: 244.2 kB / 0.8576 GB, free: 18.9 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01024/1.394, allocations: 4.558 MB / 0.862 GB, free: 14.93 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.001303/1.395, allocations: 29.7 kB / 0.8621 GB, free: 14.89 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.003896/1.399, allocations: 4.938 MB / 0.8669 GB, free: 10.42 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.002103/1.401, allocations: 1.232 MB / 0.8681 GB, free: 9.309 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009481/1.402, allocations: 0 / 0.8681 GB, free: 9.309 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0004756/1.403, allocations: 0.701 MB / 0.8688 GB, free: 8.711 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004502/1.407, allocations: 3.57 MB / 0.8723 GB, free: 5.523 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01002/1.417, allocations: 8.816 MB / 0.8809 GB, free: 10.77 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009032/1.426, allocations: 5.535 MB / 0.8863 GB, free: 6.047 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001159/1.426, allocations: 52 kB / 0.8863 GB, free: 5.996 MB / 0.5105 GB Notification: Performance of matching and sorting (n=1213) (initialization): time 0.02688/1.453, allocations: 12.76 MB / 0.8988 GB, free: 11.09 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002763/1.454, allocations: 84 kB / 0.8989 GB, free: 11.01 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003858/1.454, allocations: 188 kB / 0.899 GB, free: 10.83 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004097/1.458, allocations: 1.713 MB / 0.9007 GB, free: 9.539 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008516/1.467, allocations: 2.211 MB / 0.9029 GB, free: 7.652 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.5603/2.027, allocations: 10.77 MB / 0.9134 GB, free: 109.2 MB / 0.5262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008762/2.036, allocations: 362.9 kB / 0.9137 GB, free: 109.2 MB / 0.5262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002612/2.039, allocations: 0.5486 MB / 0.9143 GB, free: 109.2 MB / 0.5262 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 851 * 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1141): * Single equations (assignments): 1136 * 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%) 21,(4,75.0%) 21} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002281/2.041, allocations: 0.5783 MB / 0.9148 GB, free: 109.1 MB / 0.5262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001339/2.042, allocations: 0.5053 MB / 0.9153 GB, free: 109.1 MB / 0.5262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01371/2.056, allocations: 6.938 MB / 0.9221 GB, free: 108.9 MB / 0.5262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.319e-05/2.056, allocations: 36.06 kB / 0.9221 GB, free: 108.9 MB / 0.5262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.355e-05/2.056, allocations: 15.27 kB / 0.9221 GB, free: 108.9 MB / 0.5262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.863e-05/2.056, allocations: 20.42 kB / 0.9222 GB, free: 108.9 MB / 0.5262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02528/2.081, allocations: 14.84 MB / 0.9367 GB, free: 108.2 MB / 0.5262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.704e-05/2.081, allocations: 7.547 kB / 0.9367 GB, free: 108.2 MB / 0.5262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002956/2.084, allocations: 0.6154 MB / 0.9373 GB, free: 108.2 MB / 0.5262 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003114/2.088, allocations: 1.404 MB / 0.9386 GB, free: 108.1 MB / 0.5262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002685/2.088, allocations: 18.39 kB / 0.9387 GB, free: 108.1 MB / 0.5262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01016/2.098, allocations: 9.902 MB / 0.9483 GB, free: 105.6 MB / 0.5262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.552e-06/2.098, allocations: 10.69 kB / 0.9483 GB, free: 105.6 MB / 0.5262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01499/2.113, allocations: 12.1 MB / 0.9601 GB, free: 104.2 MB / 0.5262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003153/2.116, allocations: 1.075 MB / 0.9612 GB, free: 104.1 MB / 0.5262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001378/2.118, allocations: 7.812 kB / 0.9612 GB, free: 104.1 MB / 0.5262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002851/2.121, allocations: 185.4 kB / 0.9614 GB, free: 104.1 MB / 0.5262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004551/2.121, allocations: 207.1 kB / 0.9616 GB, free: 104.1 MB / 0.5262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002396/2.121, allocations: 92.06 kB / 0.9617 GB, free: 104.1 MB / 0.5262 GB Notification: Performance of sorting global known variables: time 0.004993/2.126, allocations: 3.062 MB / 0.9647 GB, free: 103.9 MB / 0.5262 GB Notification: Performance of sort global known variables: time 2.71e-07/2.126, allocations: 0 / 0.9647 GB, free: 103.9 MB / 0.5262 GB Notification: Performance of remove unused functions: time 0.008509/2.135, allocations: 1.464 MB / 0.9661 GB, free: 103.9 MB / 0.5262 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * Number of states: 8 (Revolute2.phi,Revolute2.w,Revolute4.phi,Revolute4.w,Revolute1.phi,Revolute1.w,Revolute3.phi,Revolute3.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (285): * Single equations (assignments): 280 * 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.0006168/2.135, allocations: 162.6 kB / 0.9662 GB, free: 103.8 MB / 0.5262 GB Notification: Performance of simCode: created initialization part: time 0.01243/2.148, allocations: 9.001 MB / 0.975 GB, free: 101.1 MB / 0.5262 GB Notification: Performance of simCode: created event and clocks part: time 7.794e-06/2.148, allocations: 0 / 0.975 GB, free: 101.1 MB / 0.5262 GB Notification: Performance of simCode: created simulation system equations: time 0.004572/2.152, allocations: 3.559 MB / 0.9785 GB, free: 99.75 MB / 0.5262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002897/2.155, allocations: 0.5301 MB / 0.979 GB, free: 99.52 MB / 0.5262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02317/2.179, allocations: 13.5 MB / 0.9922 GB, free: 94.76 MB / 0.5262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005531/2.184, allocations: 5.185 MB / 0.9973 GB, free: 93.07 MB / 0.5262 GB Notification: Performance of simCode: alias equations: time 0.0073/2.192, allocations: 3.009 MB / 1 GB, free: 93.02 MB / 0.5262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001461/2.193, allocations: 374.6 kB / 1.001 GB, free: 93 MB / 0.5262 GB Notification: Performance of SimCode: time 7.82e-07/2.193, allocations: 5.844 kB / 1.001 GB, free: 93 MB / 0.5262 GB Notification: Performance of Templates: time 0.08659/2.28, allocations: 54.21 MB / 1.054 GB, free: 56.42 MB / 0.5262 GB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques.sim & ./ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques_res.mat","/var/lib/jenkins/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_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches