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.001099/0.001099, allocations: 177.6 kB / 8.002 MB, free: 1.07 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.771/1.771, 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.0009278/0.0009277, allocations: 91.39 kB / 261.7 MB, free: 1.684 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.2151/0.2151, allocations: 43.49 MB / 353.2 MB, free: 288 kB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 1.861e-05/1.835e-05, allocations: 4 kB / 418.3 MB, free: 28.57 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1085/0.1085, allocations: 58.86 MB / 477.1 MB, free: 1.656 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4289/0.5375, allocations: 106.3 MB / 0.5697 GB, free: 5.441 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002056/0.5378, allocations: 81.92 kB / 0.5698 GB, free: 5.402 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4275/0.9653, allocations: 128.6 MB / 0.6954 GB, free: 12.6 MB / 0.4948 GB Notification: Performance of FrontEnd: time 4.789e-06/0.9654, allocations: 4 kB / 0.6954 GB, free: 12.59 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 0.0004659/0.9658, allocations: 131.9 kB / 0.6955 GB, free: 12.46 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.03185/0.9977, allocations: 6.368 MB / 0.7017 GB, free: 6.023 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 7.375e-05/0.9978, allocations: 12.03 kB / 0.7018 GB, free: 6.012 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.3399/1.338, allocations: 7.092 MB / 0.7087 GB, free: 100.1 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02054/1.358, allocations: 7.251 MB / 0.7158 GB, free: 99.69 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004719/1.359, allocations: 223.8 kB / 0.716 GB, free: 99.69 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00375/1.363, allocations: 392.5 kB / 0.7163 GB, free: 99.69 MB / 0.4948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01914/1.382, allocations: 9.641 MB / 0.7258 GB, free: 99.65 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03024/1.412, allocations: 14.16 MB / 0.7396 GB, free: 96.47 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003405/1.412, allocations: 81.8 kB / 0.7397 GB, free: 96.46 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002201/1.415, allocations: 39.72 kB / 0.7397 GB, free: 96.46 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001912/1.417, allocations: 1.581 MB / 0.7412 GB, free: 96.45 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07451/1.491, allocations: 64 MB / 0.8037 GB, free: 57.36 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006899/1.498, allocations: 5.928 MB / 0.8095 GB, free: 54.62 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004612/1.503, allocations: 4.069 MB / 0.8135 GB, free: 52.91 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006179/1.503, allocations: 0.5539 MB / 0.814 GB, free: 52.42 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.639e-05/1.503, allocations: 79.95 kB / 0.8141 GB, free: 52.35 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=315): time 7.554e-06/1.503, allocations: 0 / 0.8141 GB, free: 52.35 MB / 0.4948 GB Notification: Performance of matching and sorting (n=359): time 0.05163/1.555, allocations: 28.68 MB / 0.8421 GB, free: 35.57 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.131e-05/1.555, allocations: 221.7 kB / 0.8423 GB, free: 35.31 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005551/1.561, allocations: 3.908 MB / 0.8462 GB, free: 31.88 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0009742/1.562, allocations: 32.17 kB / 0.8462 GB, free: 31.84 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.002214/1.564, allocations: 4.474 MB / 0.8506 GB, free: 27.79 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.001687/1.566, allocations: 1.284 MB / 0.8518 GB, free: 26.63 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004219/1.566, allocations: 0 / 0.8518 GB, free: 26.63 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0003958/1.567, allocations: 0.6625 MB / 0.8525 GB, free: 26.06 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004196/1.571, allocations: 3.512 MB / 0.8559 GB, free: 22.92 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005995/1.577, allocations: 8.165 MB / 0.8639 GB, free: 13.08 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006055/1.583, allocations: 5.28 MB / 0.869 GB, free: 8.633 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.544e-05/1.583, allocations: 48 kB / 0.8691 GB, free: 8.586 MB / 0.4948 GB Notification: Performance of matching and sorting (n=1121) (initialization): time 0.04207/1.625, allocations: 12.24 MB / 0.881 GB, free: 14.14 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.000229/1.625, allocations: 78.97 kB / 0.8811 GB, free: 14.06 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003409/1.626, allocations: 164 kB / 0.8812 GB, free: 13.9 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007773/1.633, allocations: 1.717 MB / 0.8829 GB, free: 12.61 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01366/1.647, allocations: 2.021 MB / 0.8849 GB, free: 10.89 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0257/1.673, allocations: 10.89 MB / 0.8955 GB, free: 1.188 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01302/1.686, allocations: 353.3 kB / 0.8959 GB, free: 0.9297 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002849/1.689, allocations: 0.4985 MB / 0.8964 GB, free: 464 kB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 752 * 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1049): * Single equations (assignments): 1044 * 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.3262/2.015, allocations: 0.524 MB / 0.8969 GB, free: 102.3 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001209/2.016, allocations: 471.4 kB / 0.8973 GB, free: 102.3 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01412/2.03, allocations: 7.186 MB / 0.9043 GB, free: 102.1 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.592e-05/2.031, allocations: 37.97 kB / 0.9044 GB, free: 102.1 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.819e-05/2.031, allocations: 9.047 kB / 0.9044 GB, free: 102.1 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.901e-05/2.031, allocations: 19.92 kB / 0.9044 GB, free: 102.1 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02506/2.056, allocations: 15.02 MB / 0.9191 GB, free: 101.4 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.303e-05/2.056, allocations: 3.781 kB / 0.9191 GB, free: 101.4 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002805/2.059, allocations: 0.6174 MB / 0.9197 GB, free: 101.4 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002995/2.062, allocations: 1.401 MB / 0.921 GB, free: 101.3 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002609/2.062, allocations: 14.62 kB / 0.9211 GB, free: 101.3 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009905/2.072, allocations: 9.89 MB / 0.9307 GB, free: 98.79 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.715e-06/2.072, allocations: 13.06 kB / 0.9307 GB, free: 98.79 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0154/2.087, allocations: 11.86 MB / 0.9423 GB, free: 97.97 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002513/2.09, allocations: 1.046 MB / 0.9433 GB, free: 97.87 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007651/2.091, allocations: 9.281 kB / 0.9433 GB, free: 97.87 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002398/2.093, allocations: 206 kB / 0.9435 GB, free: 97.87 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000424/2.093, allocations: 204 kB / 0.9437 GB, free: 97.86 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002302/2.094, allocations: 93.81 kB / 0.9438 GB, free: 97.86 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.003536/2.097, allocations: 2.62 MB / 0.9464 GB, free: 97.67 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.71e-07/2.097, allocations: 0 / 0.9464 GB, free: 97.67 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.007116/2.104, allocations: 1.408 MB / 0.9478 GB, free: 97.67 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (305): * Single equations (assignments): 300 * 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.0006295/2.105, allocations: 171.4 kB / 0.9479 GB, free: 97.58 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.01471/2.12, allocations: 8.87 MB / 0.9566 GB, free: 94.7 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 8.216e-06/2.12, allocations: 0 / 0.9566 GB, free: 94.7 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.00582/2.126, allocations: 3.69 MB / 0.9602 GB, free: 93.24 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003895/2.13, allocations: 481.4 kB / 0.9606 GB, free: 93.04 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02498/2.155, allocations: 12.87 MB / 0.9732 GB, free: 88.54 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005276/2.16, allocations: 4.944 MB / 0.9781 GB, free: 86.89 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.006338/2.166, allocations: 2.736 MB / 0.9807 GB, free: 86.84 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001349/2.168, allocations: 364.8 kB / 0.9811 GB, free: 86.82 MB / 0.5105 GB Notification: Performance of SimCode: time 6.91e-07/2.168, allocations: 0 / 0.9811 GB, free: 86.82 MB / 0.5105 GB Notification: Performance of Templates: time 0.08172/2.249, allocations: 54.62 MB / 1.034 GB, free: 50.07 MB / 0.5105 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