Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques2.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.FrameForcesAndTorques2,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.FrameForcesAndTorques2") translateModel(ModelicaTest.MultiBody.Forces.FrameForcesAndTorques2,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.FrameForcesAndTorques2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001953/0.001953, allocations: 171.5 kB / 16.76 MB, free: 5.043 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.512/1.512, allocations: 205.4 MB / 222.9 MB, free: 9.016 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.0007888/0.0007888, allocations: 77.56 kB / 271.3 MB, free: 8.254 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.3288/0.3288, allocations: 43.56 MB / 363.1 MB, free: 52.17 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003498/0.0003499, allocations: 16 kB / 432.6 MB, free: 5.184 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1197/0.1201, allocations: 58.84 MB / 491.5 MB, free: 10.26 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3417/0.4618, allocations: 107.7 MB / 0.5851 GB, free: 10.25 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002125/0.4621, allocations: 77.81 kB / 0.5852 GB, free: 10.18 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5203/0.9824, allocations: 131.6 MB / 0.7137 GB, free: 84.56 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.274e-06/0.9824, allocations: 2.516 kB / 0.7137 GB, free: 84.56 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0004842/0.9829, allocations: 134 kB / 0.7138 GB, free: 84.56 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: 2413 * Number of variables: 2413 Notification: Performance of Generate backend data structure: time 0.02232/1.005, allocations: 6.617 MB / 0.7203 GB, free: 81.77 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.619e-05/1.005, allocations: 9.344 kB / 0.7203 GB, free: 81.77 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02298/1.028, allocations: 5.491 MB / 0.7257 GB, free: 81.29 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01514/1.043, allocations: 6.135 MB / 0.7317 GB, free: 80.35 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005027/1.044, allocations: 0.5029 MB / 0.7321 GB, free: 80.33 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003382/1.047, allocations: 0.6721 MB / 0.7328 GB, free: 80.32 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03833/1.086, allocations: 16.63 MB / 0.749 GB, free: 73.21 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005548/1.086, allocations: 91.28 kB / 0.7491 GB, free: 73.16 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003072/1.089, allocations: 332.8 kB / 0.7495 GB, free: 72.97 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002181/1.092, allocations: 1.562 MB / 0.751 GB, free: 72.68 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02741/1.119, allocations: 13.82 MB / 0.7645 GB, free: 68.41 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07952/1.199, allocations: 70.2 MB / 0.833 GB, free: 10.2 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0176/1.216, allocations: 7.791 MB / 0.8406 GB, free: 2.273 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005289/1.222, allocations: 3.929 MB / 0.8445 GB, free: 14.33 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002874/1.222, allocations: 57.14 kB / 0.8445 GB, free: 14.29 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.794e-05/1.222, allocations: 60.56 kB / 0.8446 GB, free: 14.22 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=290): time 6.802e-06/1.222, allocations: 3.938 kB / 0.8446 GB, free: 14.22 MB / 0.4948 GB Notification: Performance of matching and sorting (n=332): time 0.3247/1.547, allocations: 31.96 MB / 0.8758 GB, free: 91.8 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.726e-05/1.547, allocations: 219.1 kB / 0.876 GB, free: 91.58 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008669/1.556, allocations: 6.325 MB / 0.8822 GB, free: 91.08 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0007534/1.556, allocations: 75.39 kB / 0.8823 GB, free: 91.05 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.002639/1.559, allocations: 4.605 MB / 0.8867 GB, free: 88.77 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.00134/1.56, allocations: 1.232 MB / 0.888 GB, free: 88.05 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004638/1.561, allocations: 173.7 kB / 0.8881 GB, free: 88.05 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0003364/1.561, allocations: 0.6659 MB / 0.8888 GB, free: 87.72 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004867/1.566, allocations: 3.8 MB / 0.8925 GB, free: 87.7 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007215/1.573, allocations: 8.657 MB / 0.9009 GB, free: 81.38 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01569/1.589, allocations: 13.48 MB / 0.9141 GB, free: 71.83 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002926/1.589, allocations: 48.47 kB / 0.9141 GB, free: 71.83 MB / 0.4948 GB Notification: Performance of matching and sorting (n=1122) (initialization): time 0.02586/1.615, allocations: 13.77 MB / 0.9276 GB, free: 66.71 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001537/1.615, allocations: 82.09 kB / 0.9277 GB, free: 66.71 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002508/1.616, allocations: 171.7 kB / 0.9278 GB, free: 66.71 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003674/1.619, allocations: 1.662 MB / 0.9295 GB, free: 66.41 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007133/1.626, allocations: 2.094 MB / 0.9315 GB, free: 66.18 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01163/1.638, allocations: 11.38 MB / 0.9426 GB, free: 60.09 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008552/1.647, allocations: 0.5258 MB / 0.9431 GB, free: 59.94 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002051/1.649, allocations: 0.5009 MB / 0.9436 GB, free: 59.87 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 773 * Number of states: 0 () * Number of discrete variables: 54 (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 (1050): * Single equations (assignments): 1045 * 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.007404/1.656, allocations: 3.165 MB / 0.9467 GB, free: 58.39 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001308/1.657, allocations: 0.5566 MB / 0.9472 GB, free: 58.08 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01206/1.67, allocations: 7.514 MB / 0.9546 GB, free: 55.29 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.917e-05/1.67, allocations: 39.16 kB / 0.9546 GB, free: 55.28 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.329e-05/1.67, allocations: 7.719 kB / 0.9546 GB, free: 55.28 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.323e-05/1.67, allocations: 21.23 kB / 0.9547 GB, free: 55.28 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02672/1.696, allocations: 16.36 MB / 0.9706 GB, free: 49.29 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.769e-05/1.696, allocations: 6.938 kB / 0.9706 GB, free: 49.29 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003179/1.7, allocations: 0.643 MB / 0.9713 GB, free: 49.24 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003244/1.703, allocations: 1.43 MB / 0.9727 GB, free: 48.95 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005803/1.704, allocations: 65.8 kB / 0.9727 GB, free: 48.91 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01899/1.723, allocations: 10.62 MB / 0.9831 GB, free: 41.01 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.113e-06/1.723, allocations: 4 kB / 0.9831 GB, free: 41 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03022/1.753, allocations: 12.3 MB / 0.9951 GB, free: 30.3 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005035/1.758, allocations: 1.208 MB / 0.9963 GB, free: 29.19 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00189/1.76, allocations: 59.61 kB / 0.9964 GB, free: 29.13 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005889/1.766, allocations: 267.8 kB / 0.9966 GB, free: 28.97 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009517/1.767, allocations: 201.9 kB / 0.9968 GB, free: 28.84 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004981/1.767, allocations: 87.8 kB / 0.9969 GB, free: 28.75 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.01104/1.778, allocations: 4.017 MB / 1.001 GB, free: 25.45 MB / 0.4948 GB Notification: Performance of sort global known variables: time 6.92e-07/1.778, allocations: 4.656 kB / 1.001 GB, free: 25.45 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.01038/1.789, allocations: 1.673 MB / 1.002 GB, free: 23.79 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * Number of states: 8 (Revolute1.phi,Revolute1.w,Revolute2.phi,Revolute2.w,Revolute3.phi,Revolute3.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 (278): * Single equations (assignments): 273 * 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.001018/1.79, allocations: 207.2 kB / 1.003 GB, free: 23.59 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.01349/1.803, allocations: 9.339 MB / 1.012 GB, free: 15.37 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 9.067e-06/1.803, allocations: 4 kB / 1.012 GB, free: 15.37 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.005997/1.809, allocations: 3.866 MB / 1.016 GB, free: 12 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009146/1.818, allocations: 0.7113 MB / 1.016 GB, free: 11.39 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0388/1.857, allocations: 19.12 MB / 1.035 GB, free: 10.92 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008074/1.865, allocations: 4.858 MB / 1.04 GB, free: 6.062 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.008376/1.874, allocations: 2.934 MB / 1.043 GB, free: 3.137 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001934/1.876, allocations: 395.3 kB / 1.043 GB, free: 2.75 MB / 0.5105 GB Notification: Performance of SimCode: time 1.693e-06/1.876, allocations: 0 / 1.043 GB, free: 2.75 MB / 0.5105 GB Notification: Performance of Templates: time 0.3755/2.251, allocations: 63.6 MB / 1.105 GB, free: 107.8 MB / 0.5261 GB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques2.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques2.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques2.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques2.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques2.sim & ./ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques2.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Forces/FrameForcesAndTorques2/FrameForcesAndTorques2.csv","../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches