Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_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_cpp_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_cpp_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: 178.4 kB / 8.362 MB, free: 0.7148 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.196/2.196, allocations: 205.3 MB / 214.1 MB, free: 14.15 MB / 187.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001127/0.001127, allocations: 90.47 kB / 262.1 MB, free: 13.88 MB / 219.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2951/0.2951, allocations: 43.49 MB / 353.6 MB, free: 2.281 MB / 299.1 MB Notification: Performance of FrontEnd - loaded program: time 2.238e-05/2.249e-05, allocations: 4 kB / 418.2 MB, free: 41.04 MB / 299.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4253/0.4253, allocations: 58.85 MB / 477.1 MB, free: 5.262 MB / 315.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2017/0.6271, allocations: 108.4 MB / 0.5717 GB, free: 6.906 MB / 411.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002918/0.6274, allocations: 75.97 kB / 0.5718 GB, free: 6.832 MB / 411.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.8981/1.526, allocations: 135.9 MB / 0.7045 GB, free: 97.95 MB / 475.1 MB Notification: Performance of FrontEnd: time 2.335e-06/1.526, allocations: 0 / 0.7045 GB, free: 97.95 MB / 475.1 MB Notification: Performance of Transformations before backend: time 0.0004358/1.526, allocations: 132 kB / 0.7046 GB, free: 97.95 MB / 475.1 MB 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.02857/1.555, allocations: 6.805 MB / 0.7113 GB, free: 93.47 MB / 475.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.046e-05/1.555, allocations: 9.688 kB / 0.7113 GB, free: 93.47 MB / 475.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05267/1.607, allocations: 7.178 MB / 0.7183 GB, free: 89.4 MB / 475.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02765/1.635, allocations: 7.558 MB / 0.7257 GB, free: 81.82 MB / 475.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004464/1.636, allocations: 224 kB / 0.7259 GB, free: 81.61 MB / 475.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003708/1.639, allocations: 407.9 kB / 0.7263 GB, free: 81.21 MB / 475.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.02413/1.664, allocations: 9.82 MB / 0.7359 GB, free: 71.39 MB / 475.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03796/1.702, allocations: 14.84 MB / 0.7503 GB, free: 55.18 MB / 475.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000424/1.702, allocations: 91.12 kB / 0.7504 GB, free: 55.09 MB / 475.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00283/1.705, allocations: 40 kB / 0.7505 GB, free: 55.05 MB / 475.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003448/1.708, allocations: 1.626 MB / 0.7521 GB, free: 53.43 MB / 475.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1109/1.819, allocations: 69.57 MB / 0.82 GB, free: 14.27 MB / 0.4952 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01201/1.831, allocations: 5.578 MB / 0.8254 GB, free: 8.543 MB / 0.4952 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.008264/1.84, allocations: 3.755 MB / 0.8291 GB, free: 4.781 MB / 0.4952 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003737/1.84, allocations: 59.02 kB / 0.8292 GB, free: 4.738 MB / 0.4952 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.118e-05/1.84, allocations: 65.12 kB / 0.8292 GB, free: 4.664 MB / 0.4952 GB Notification: Performance of pre-optimization done (n=296): time 7.564e-06/1.84, allocations: 8 kB / 0.8292 GB, free: 4.656 MB / 0.4952 GB Notification: Performance of matching and sorting (n=339): time 0.4735/2.314, allocations: 28.75 MB / 0.8573 GB, free: 115.9 MB / 0.4952 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001097/2.314, allocations: 248.9 kB / 0.8576 GB, free: 115.6 MB / 0.4952 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01214/2.326, allocations: 4.551 MB / 0.862 GB, free: 115.2 MB / 0.4952 GB Notification: Performance of collectPreVariables (initialization): time 0.00103/2.327, allocations: 27.34 kB / 0.862 GB, free: 115.2 MB / 0.4952 GB Notification: Performance of collectInitialEqns (initialization): time 0.00454/2.332, allocations: 4.822 MB / 0.8667 GB, free: 112.3 MB / 0.4952 GB Notification: Performance of collectInitialBindings (initialization): time 0.002585/2.334, allocations: 1.226 MB / 0.8679 GB, free: 111.6 MB / 0.4952 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001543/2.336, allocations: 2.953 kB / 0.8679 GB, free: 111.6 MB / 0.4952 GB Notification: Performance of setup shared object (initialization): time 0.0008352/2.337, allocations: 0.7037 MB / 0.8686 GB, free: 111.2 MB / 0.4952 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008925/2.346, allocations: 3.57 MB / 0.8721 GB, free: 111.2 MB / 0.4952 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01267/2.358, allocations: 8.825 MB / 0.8807 GB, free: 103.5 MB / 0.4952 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01227/2.371, allocations: 5.529 MB / 0.8861 GB, free: 101.7 MB / 0.4952 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000217/2.371, allocations: 52.28 kB / 0.8862 GB, free: 101.7 MB / 0.4952 GB Notification: Performance of matching and sorting (n=1213) (initialization): time 0.03707/2.408, allocations: 12.6 MB / 0.8985 GB, free: 97.95 MB / 0.4952 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001417/2.408, allocations: 84.31 kB / 0.8986 GB, free: 97.95 MB / 0.4952 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002984/2.409, allocations: 185.3 kB / 0.8987 GB, free: 97.95 MB / 0.4952 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007598/2.416, allocations: 1.721 MB / 0.9004 GB, free: 97.64 MB / 0.4952 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01494/2.431, allocations: 2.21 MB / 0.9026 GB, free: 97.39 MB / 0.4952 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02126/2.453, allocations: 10.77 MB / 0.9131 GB, free: 91.66 MB / 0.4952 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01135/2.464, allocations: 367 kB / 0.9134 GB, free: 91.64 MB / 0.4952 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002537/2.467, allocations: 0.5423 MB / 0.914 GB, free: 91.52 MB / 0.4952 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.002957/2.47, allocations: 0.5851 MB / 0.9145 GB, free: 90.93 MB / 0.4952 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001544/2.471, allocations: 0.5013 MB / 0.915 GB, free: 90.42 MB / 0.4952 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01935/2.49, allocations: 6.943 MB / 0.9218 GB, free: 84.84 MB / 0.4952 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.204e-05/2.491, allocations: 36 kB / 0.9218 GB, free: 84.8 MB / 0.4952 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.892e-05/2.491, allocations: 8 kB / 0.9219 GB, free: 84.79 MB / 0.4952 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.192e-05/2.491, allocations: 21.72 kB / 0.9219 GB, free: 84.79 MB / 0.4952 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04344/2.534, allocations: 14.86 MB / 0.9364 GB, free: 72.81 MB / 0.4952 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.067e-05/2.534, allocations: 7.891 kB / 0.9364 GB, free: 72.81 MB / 0.4952 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00644/2.541, allocations: 0.611 MB / 0.937 GB, free: 72.33 MB / 0.4952 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006298/2.547, allocations: 1.414 MB / 0.9384 GB, free: 71.33 MB / 0.4952 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009426/2.548, allocations: 15.8 kB / 0.9384 GB, free: 71.32 MB / 0.4952 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01887/2.567, allocations: 9.894 MB / 0.948 GB, free: 62.46 MB / 0.4952 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.957e-06/2.567, allocations: 7.094 kB / 0.9481 GB, free: 62.46 MB / 0.4952 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02692/2.594, allocations: 12.1 MB / 0.9599 GB, free: 51.74 MB / 0.4952 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004534/2.599, allocations: 1.075 MB / 0.9609 GB, free: 50.73 MB / 0.4952 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001689/2.6, allocations: 10.12 kB / 0.9609 GB, free: 50.73 MB / 0.4952 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005496/2.606, allocations: 185.6 kB / 0.9611 GB, free: 50.63 MB / 0.4952 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001018/2.607, allocations: 205.9 kB / 0.9613 GB, free: 50.5 MB / 0.4952 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003913/2.607, allocations: 93.53 kB / 0.9614 GB, free: 50.41 MB / 0.4952 GB Notification: Performance of sorting global known variables: time 0.007103/2.614, allocations: 3.061 MB / 0.9644 GB, free: 47.77 MB / 0.4952 GB Notification: Performance of sort global known variables: time 1.172e-06/2.614, allocations: 0 / 0.9644 GB, free: 47.77 MB / 0.4952 GB Notification: Performance of remove unused functions: time 0.01219/2.627, allocations: 1.47 MB / 0.9658 GB, free: 46.3 MB / 0.4952 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.001254/2.628, allocations: 161.3 kB / 0.966 GB, free: 46.15 MB / 0.4952 GB Notification: Performance of simCode: created initialization part: time 0.02036/2.648, allocations: 8.98 MB / 0.9747 GB, free: 38.08 MB / 0.4952 GB Notification: Performance of simCode: created event and clocks part: time 1.014e-05/2.648, allocations: 4.062 kB / 0.9747 GB, free: 38.07 MB / 0.4952 GB Notification: Performance of simCode: created simulation system equations: time 0.01008/2.658, allocations: 3.555 MB / 0.9782 GB, free: 34.78 MB / 0.4952 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005344/2.664, allocations: 0.5249 MB / 0.9787 GB, free: 34.27 MB / 0.4952 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03731/2.701, allocations: 14.27 MB / 0.9927 GB, free: 19.93 MB / 0.4952 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0117/2.713, allocations: 5.194 MB / 0.9977 GB, free: 14.74 MB / 0.4952 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00331/2.716, allocations: 451.3 kB / 0.9982 GB, free: 14.3 MB / 0.4952 GB Notification: Performance of SimCode: time 1.813e-06/2.716, allocations: 0 / 0.9982 GB, free: 14.3 MB / 0.4952 GB Notification: Performance of Templates: time 0.6621/3.378, allocations: 147.1 MB / 1.142 GB, free: 54.23 MB / 0.5108 GB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques_res.mat","/var/lib/jenkins1/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_cpp_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches