Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques3.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.FrameForcesAndTorques3,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.FrameForcesAndTorques3") translateModel(ModelicaTest.MultiBody.Forces.FrameForcesAndTorques3,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.FrameForcesAndTorques3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001698/0.001698, allocations: 184.2 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.758/1.758, 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.0009978/0.0009978, allocations: 94.81 kB / 270.2 MB, free: 13.36 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.2181/0.2181, allocations: 43.56 MB / 362.1 MB, free: 11.31 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004434/0.0004434, allocations: 11.98 kB / 431.4 MB, free: 19.59 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1358/0.1363, allocations: 58.85 MB / 490.2 MB, free: 8.68 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4148/0.5511, allocations: 107.1 MB / 0.5833 GB, free: 9.039 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002089/0.5514, allocations: 78.97 kB / 0.5834 GB, free: 9 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5509/1.102, allocations: 131.5 MB / 0.7118 GB, free: 97.26 MB / 0.4948 GB Notification: Performance of FrontEnd: time 2.555e-06/1.102, allocations: 0 / 0.7118 GB, free: 97.26 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 0.0003724/1.103, allocations: 127.9 kB / 0.7119 GB, free: 97.26 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: 2377 * Number of variables: 2377 Notification: Performance of Generate backend data structure: time 0.02492/1.128, allocations: 6.819 MB / 0.7186 GB, free: 95.8 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 5.71e-05/1.128, allocations: 9.562 kB / 0.7186 GB, free: 95.8 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03136/1.159, allocations: 7.095 MB / 0.7255 GB, free: 95.36 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02119/1.18, allocations: 7.29 MB / 0.7327 GB, free: 94.57 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006877/1.181, allocations: 0.498 MB / 0.7332 GB, free: 94.55 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00382/1.185, allocations: 0.6582 MB / 0.7338 GB, free: 94.55 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0402/1.225, allocations: 16.58 MB / 0.75 GB, free: 91.33 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003776/1.226, allocations: 78.88 kB / 0.7501 GB, free: 91.32 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0023/1.228, allocations: 314.8 kB / 0.7504 GB, free: 91.32 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00204/1.23, allocations: 1.581 MB / 0.7519 GB, free: 91.31 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0318/1.262, allocations: 14.11 MB / 0.7657 GB, free: 91.25 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08213/1.344, allocations: 66.31 MB / 0.8304 GB, free: 46.49 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0159/1.36, allocations: 7.067 MB / 0.8373 GB, free: 42.19 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02124/1.381, allocations: 15.05 MB / 0.852 GB, free: 29.34 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.85e-05/1.381, allocations: 64.56 kB / 0.8521 GB, free: 29.27 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=306): time 5.942e-06/1.381, allocations: 0 / 0.8521 GB, free: 29.27 MB / 0.4948 GB Notification: Performance of matching and sorting (n=348): time 0.08123/1.462, allocations: 30.76 MB / 0.8821 GB, free: 2.578 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.232e-05/1.463, allocations: 222.2 kB / 0.8824 GB, free: 2.316 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01104/1.474, allocations: 4.73 MB / 0.887 GB, free: 13.61 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.001275/1.475, allocations: 81.17 kB / 0.887 GB, free: 13.52 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.004901/1.48, allocations: 4.411 MB / 0.8914 GB, free: 9.105 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.002445/1.482, allocations: 1.278 MB / 0.8926 GB, free: 7.84 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001604/1.484, allocations: 160 kB / 0.8928 GB, free: 7.684 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.00102/1.485, allocations: 0.6493 MB / 0.8934 GB, free: 7.027 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007707/1.493, allocations: 3.631 MB / 0.8969 GB, free: 3.387 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.2999/1.793, allocations: 8.084 MB / 0.9048 GB, free: 100.3 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01069/1.803, allocations: 5.31 MB / 0.91 GB, free: 100.2 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002531/1.804, allocations: 44.56 kB / 0.9101 GB, free: 100.2 MB / 0.5105 GB Notification: Performance of matching and sorting (n=1071) (initialization): time 0.02996/1.834, allocations: 13.08 MB / 0.9228 GB, free: 99.79 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.000153/1.834, allocations: 70.09 kB / 0.9229 GB, free: 99.79 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002218/1.834, allocations: 156.4 kB / 0.923 GB, free: 99.79 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003995/1.838, allocations: 1.676 MB / 0.9247 GB, free: 99.77 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00743/1.846, allocations: 1.925 MB / 0.9266 GB, free: 99.61 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01261/1.858, allocations: 11.67 MB / 0.938 GB, free: 96.84 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007527/1.866, allocations: 0.4919 MB / 0.9384 GB, free: 96.84 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001879/1.868, allocations: 485.4 kB / 0.9389 GB, free: 96.84 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 713 * Number of states: 0 () * Number of discrete variables: 51 (fixedTranslation.color[3],fixedTranslation.color[2],fixedTranslation.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],body2.color[3],body2.color[2],body2.color[1],body2.body.sphereColor[3],body2.body.sphereColor[2],body2.body.sphereColor[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 (999): * Single equations (assignments): 994 * 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.006667/1.874, allocations: 3.084 MB / 0.9419 GB, free: 96.56 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001186/1.876, allocations: 0.5081 MB / 0.9424 GB, free: 96.55 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01206/1.888, allocations: 7.458 MB / 0.9497 GB, free: 96.3 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.799e-05/1.888, allocations: 36.38 kB / 0.9497 GB, free: 96.3 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.877e-05/1.888, allocations: 7.594 kB / 0.9497 GB, free: 96.3 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.578e-05/1.888, allocations: 17.48 kB / 0.9498 GB, free: 96.3 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02926/1.917, allocations: 16.1 MB / 0.9655 GB, free: 91.05 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.523e-05/1.917, allocations: 7.547 kB / 0.9655 GB, free: 91.04 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00352/1.921, allocations: 0.6048 MB / 0.9661 GB, free: 91 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00366/1.924, allocations: 1.421 MB / 0.9675 GB, free: 90.71 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005419/1.925, allocations: 59.94 kB / 0.9675 GB, free: 90.67 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01186/1.937, allocations: 10.86 MB / 0.9781 GB, free: 84.94 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.555e-06/1.937, allocations: 0 / 0.9781 GB, free: 84.94 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0167/1.953, allocations: 12.03 MB / 0.9899 GB, free: 80.2 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003738/1.957, allocations: 1.104 MB / 0.991 GB, free: 79.59 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001252/1.959, allocations: 57.5 kB / 0.991 GB, free: 79.55 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003529/1.962, allocations: 254.4 kB / 0.9912 GB, free: 79.51 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006773/1.963, allocations: 193.5 kB / 0.9914 GB, free: 79.48 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002885/1.963, allocations: 91.91 kB / 0.9915 GB, free: 79.46 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.006306/1.969, allocations: 3.333 MB / 0.9948 GB, free: 78.36 MB / 0.5105 GB Notification: Performance of sort global known variables: time 4.61e-07/1.969, allocations: 0 / 0.9948 GB, free: 78.36 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.00969/1.979, allocations: 1.612 MB / 0.9963 GB, free: 78.18 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 (294): * Single equations (assignments): 289 * 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.0007991/1.98, allocations: 228 kB / 0.9966 GB, free: 78.02 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.01304/1.993, allocations: 8.977 MB / 1.005 GB, free: 71.42 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 6.522e-06/1.993, allocations: 0 / 1.005 GB, free: 71.42 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0059/1.999, allocations: 3.788 MB / 1.009 GB, free: 68.1 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004085/2.003, allocations: 0.6234 MB / 1.01 GB, free: 67.59 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03278/2.036, allocations: 18.13 MB / 1.027 GB, free: 51.12 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008224/2.044, allocations: 4.931 MB / 1.032 GB, free: 47.48 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.006762/2.051, allocations: 2.682 MB / 1.035 GB, free: 45.73 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001455/2.052, allocations: 379.9 kB / 1.035 GB, free: 45.38 MB / 0.5105 GB Notification: Performance of SimCode: time 1.142e-06/2.052, allocations: 0 / 1.035 GB, free: 45.38 MB / 0.5105 GB Notification: Performance of Templates: time 0.3385/2.391, allocations: 61.7 MB / 1.095 GB, free: 109.2 MB / 0.5261 GB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques3.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques3.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques3.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques3.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques3.sim & ./ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques3.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques3_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Forces/FrameForcesAndTorques3/FrameForcesAndTorques3.csv","../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches