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.001508/0.001508, allocations: 182.8 kB / 15.76 MB, free: 6.367 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.73/1.73, allocations: 205.4 MB / 221.9 MB, free: 13.84 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.001059/0.001059, allocations: 82.86 kB / 270.2 MB, free: 13.37 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2246/0.2246, allocations: 43.55 MB / 362 MB, free: 11.3 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003036/0.0003036, allocations: 8 kB / 431.4 MB, free: 19.61 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1309/0.1312, allocations: 58.85 MB / 490.2 MB, free: 8.684 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.391/0.5223, allocations: 109.1 MB / 0.5853 GB, free: 7.027 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002093/0.5226, allocations: 80.19 kB / 0.5854 GB, free: 6.988 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6002/1.123, allocations: 138.9 MB / 0.721 GB, free: 96.2 MB / 0.4948 GB Notification: Performance of FrontEnd: time 2.224e-06/1.123, allocations: 1.438 kB / 0.7211 GB, free: 96.2 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 0.0007028/1.124, allocations: 135 kB / 0.7212 GB, free: 96.2 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.02654/1.15, allocations: 7.313 MB / 0.7283 GB, free: 93.37 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 5.05e-05/1.15, allocations: 12.83 kB / 0.7283 GB, free: 93.37 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02902/1.179, allocations: 7.178 MB / 0.7353 GB, free: 92.89 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02306/1.202, allocations: 7.58 MB / 0.7427 GB, free: 92.05 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005825/1.203, allocations: 0.5243 MB / 0.7433 GB, free: 92.03 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003566/1.206, allocations: 0.6897 MB / 0.7439 GB, free: 92.02 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0382/1.245, allocations: 17.25 MB / 0.7608 GB, free: 88.3 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004345/1.245, allocations: 87.14 kB / 0.7609 GB, free: 88.29 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002498/1.248, allocations: 334.5 kB / 0.7612 GB, free: 88.29 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001953/1.25, allocations: 1.62 MB / 0.7628 GB, free: 88.28 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02509/1.275, allocations: 14.37 MB / 0.7768 GB, free: 88.02 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07304/1.348, allocations: 72.38 MB / 0.8475 GB, free: 33.61 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01604/1.364, allocations: 7.198 MB / 0.8545 GB, free: 27.68 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01788/1.382, allocations: 9.478 MB / 0.8638 GB, free: 19.82 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.383e-05/1.382, allocations: 64.81 kB / 0.8638 GB, free: 19.75 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=297): time 5.48e-06/1.382, allocations: 0 / 0.8638 GB, free: 19.75 MB / 0.4948 GB Notification: Performance of matching and sorting (n=339): time 0.07605/1.458, allocations: 32.19 MB / 0.8953 GB, free: 6.316 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001636/1.458, allocations: 244.2 kB / 0.8955 GB, free: 6.027 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01225/1.471, allocations: 5.971 MB / 0.9013 GB, free: 68 kB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.2786/1.749, allocations: 76.78 kB / 0.9014 GB, free: 106.2 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.005381/1.755, allocations: 4.82 MB / 0.9061 GB, free: 105.1 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.002165/1.757, allocations: 1.263 MB / 0.9073 GB, free: 104.5 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009458/1.758, allocations: 178.3 kB / 0.9075 GB, free: 104.5 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0005532/1.758, allocations: 0.6826 MB / 0.9082 GB, free: 104.2 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00705/1.765, allocations: 3.735 MB / 0.9118 GB, free: 104.2 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01152/1.777, allocations: 8.787 MB / 0.9204 GB, free: 97.72 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01002/1.787, allocations: 5.611 MB / 0.9259 GB, free: 97.69 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002712/1.787, allocations: 53.38 kB / 0.9259 GB, free: 97.69 MB / 0.5105 GB Notification: Performance of matching and sorting (n=1164) (initialization): time 0.02895/1.816, allocations: 13.86 MB / 0.9395 GB, free: 96.88 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001646/1.816, allocations: 85.72 kB / 0.9395 GB, free: 96.88 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002589/1.817, allocations: 177.8 kB / 0.9397 GB, free: 96.88 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004196/1.821, allocations: 1.707 MB / 0.9414 GB, free: 96.85 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008395/1.829, allocations: 2.124 MB / 0.9435 GB, free: 96.67 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01262/1.842, allocations: 11.71 MB / 0.9549 GB, free: 93.21 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008565/1.851, allocations: 0.5201 MB / 0.9554 GB, free: 93.06 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001909/1.853, allocations: 0.5225 MB / 0.9559 GB, free: 92.99 MB / 0.5105 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.006965/1.86, allocations: 3.293 MB / 0.9591 GB, free: 91.57 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001337/1.861, allocations: 0.5865 MB / 0.9597 GB, free: 91.25 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01197/1.873, allocations: 7.529 MB / 0.9671 GB, free: 88.48 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.69e-05/1.873, allocations: 32.78 kB / 0.9671 GB, free: 88.48 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.958e-05/1.873, allocations: 11.06 kB / 0.9671 GB, free: 88.48 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.999e-05/1.873, allocations: 14.67 kB / 0.9671 GB, free: 88.48 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02956/1.903, allocations: 16.1 MB / 0.9828 GB, free: 82.68 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.173e-05/1.903, allocations: 7.031 kB / 0.9828 GB, free: 82.68 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002985/1.906, allocations: 0.6282 MB / 0.9834 GB, free: 82.63 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003299/1.909, allocations: 1.424 MB / 0.9848 GB, free: 82.36 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004074/1.909, allocations: 66.39 kB / 0.9849 GB, free: 82.31 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01225/1.922, allocations: 10.93 MB / 0.9956 GB, free: 76.51 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.037e-05/1.922, allocations: 15.02 kB / 0.9956 GB, free: 76.5 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01788/1.94, allocations: 12.71 MB / 1.008 GB, free: 69.33 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004163/1.944, allocations: 1.206 MB / 1.009 GB, free: 68.22 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001549/1.945, allocations: 63.16 kB / 1.009 GB, free: 68.17 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003374/1.949, allocations: 231.9 kB / 1.009 GB, free: 68.02 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006557/1.949, allocations: 201.2 kB / 1.01 GB, free: 67.9 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002545/1.95, allocations: 96.55 kB / 1.01 GB, free: 67.81 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.006731/1.956, allocations: 4.296 MB / 1.014 GB, free: 64.29 MB / 0.5105 GB Notification: Performance of sort global known variables: time 3.01e-07/1.956, allocations: 0 / 1.014 GB, free: 64.29 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.008721/1.965, allocations: 1.708 MB / 1.016 GB, free: 62.59 MB / 0.5105 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.0006352/1.966, allocations: 211.1 kB / 1.016 GB, free: 62.39 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.01339/1.979, allocations: 9.185 MB / 1.025 GB, free: 54.38 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.321e-05/1.979, allocations: 0 / 1.025 GB, free: 54.38 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.006222/1.986, allocations: 3.718 MB / 1.028 GB, free: 51.14 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006157/1.992, allocations: 0.7187 MB / 1.029 GB, free: 50.54 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.031/2.023, allocations: 19.01 MB / 1.048 GB, free: 33.25 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006698/2.03, allocations: 5.18 MB / 1.053 GB, free: 29.45 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.009683/2.039, allocations: 2.983 MB / 1.056 GB, free: 27.52 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00179/2.041, allocations: 416.6 kB / 1.056 GB, free: 27.13 MB / 0.5105 GB Notification: Performance of SimCode: time 1.382e-06/2.041, allocations: 0 / 1.056 GB, free: 27.13 MB / 0.5105 GB Notification: Performance of Templates: time 0.5798/2.621, allocations: 64.92 MB / 1.119 GB, free: 92.22 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