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.001036/0.001036, allocations: 173.7 kB / 16.72 MB, free: 5.086 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.308/1.308, allocations: 205.4 MB / 222.9 MB, free: 8.941 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.0007514/0.0007515, allocations: 89.03 kB / 271.2 MB, free: 8.242 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.2941/0.2941, allocations: 43.56 MB / 363.1 MB, free: 52.11 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003501/0.0003501, allocations: 20 kB / 432 MB, free: 5.824 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09973/0.1001, allocations: 58.84 MB / 490.8 MB, free: 10.9 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.FrameForcesAndTorques): time 0.239/0.3391, allocations: 88.59 MB / 0.5658 GB, free: 3.324 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.0421/0.3813, allocations: 17.85 MB / 0.5833 GB, free: 7.121 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.02063/0.4019, allocations: 413.5 kB / 0.5837 GB, free: 7.062 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01587/0.4178, allocations: 4.665 MB / 0.5882 GB, free: 5.41 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.03782/0.4557, allocations: 13.59 MB / 0.6015 GB, free: 8.973 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.006247/0.462, allocations: 0.9799 MB / 0.6024 GB, free: 7.992 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.04325/0.5053, allocations: 36.44 MB / 0.638 GB, free: 3.508 MB / 458.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01094/0.5162, allocations: 7.913 MB / 0.6457 GB, free: 11.52 MB / 474.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003841/0.5201, allocations: 2.063 MB / 0.6478 GB, free: 9.445 MB / 474.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004894/0.525, allocations: 3.255 MB / 0.6509 GB, free: 6.18 MB / 474.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001427/0.5265, allocations: 244 kB / 0.6512 GB, free: 5.941 MB / 474.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003704/0.5302, allocations: 1.33 MB / 0.6525 GB, free: 4.609 MB / 474.7 MB Notification: Performance of NFScalarize.scalarize: time 0.003772/0.534, allocations: 2.867 MB / 0.6553 GB, free: 1.734 MB / 474.7 MB Notification: Performance of NFVerifyModel.verify: time 0.005183/0.5392, allocations: 3.163 MB / 0.6584 GB, free: 14.54 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.009844/0.5491, allocations: 9.196 MB / 0.6673 GB, free: 5.328 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.22e-06/0.5491, allocations: 0 / 0.6673 GB, free: 5.328 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.944e-06/0.5491, allocations: 0 / 0.6673 GB, free: 5.328 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0003682/0.5495, allocations: 0 / 0.6673 GB, free: 5.328 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: 2491 * Number of variables: 2491 Notification: Performance of Generate backend data structure: time 0.3358/0.8852, allocations: 6.585 MB / 0.6738 GB, free: 142.4 MB / 490.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.409e-05/0.8853, allocations: 10.42 kB / 0.6738 GB, free: 142.4 MB / 490.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01297/0.8983, allocations: 2.926 MB / 0.6766 GB, free: 141.9 MB / 490.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009226/0.9075, allocations: 4.567 MB / 0.6811 GB, free: 140.8 MB / 490.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002666/0.9078, allocations: 396.3 kB / 0.6815 GB, free: 140.8 MB / 490.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001271/0.9091, allocations: 0.5134 MB / 0.682 GB, free: 140.8 MB / 490.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02465/0.9338, allocations: 16.91 MB / 0.6985 GB, free: 133.7 MB / 490.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001689/0.934, allocations: 63.45 kB / 0.6986 GB, free: 133.7 MB / 490.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006153/0.9346, allocations: 247.7 kB / 0.6988 GB, free: 133.6 MB / 490.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004402/0.939, allocations: 3.25 MB / 0.702 GB, free: 133 MB / 490.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0275/0.9665, allocations: 14.46 MB / 0.7161 GB, free: 128.6 MB / 490.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06561/1.032, allocations: 62.8 MB / 0.7774 GB, free: 67.64 MB / 490.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01416/1.046, allocations: 6.902 MB / 0.7842 GB, free: 60.59 MB / 490.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004374/1.051, allocations: 4.238 MB / 0.7883 GB, free: 56.35 MB / 490.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01332/1.064, allocations: 9.666 MB / 0.7977 GB, free: 46.66 MB / 490.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.341e-05/1.064, allocations: 76.8 kB / 0.7978 GB, free: 46.57 MB / 490.8 MB Notification: Performance of pre-optimization done (n=297): time 6.262e-06/1.064, allocations: 0 / 0.7978 GB, free: 46.57 MB / 490.8 MB Notification: Performance of matching and sorting (n=339): time 0.0713/1.136, allocations: 34.74 MB / 0.8317 GB, free: 11.59 MB / 490.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.239e-05/1.136, allocations: 244.2 kB / 0.832 GB, free: 11.31 MB / 490.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007427/1.143, allocations: 6.712 MB / 0.8385 GB, free: 4.602 MB / 490.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0009043/1.144, allocations: 73.7 kB / 0.8386 GB, free: 4.523 MB / 490.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.002345/1.146, allocations: 4.753 MB / 0.8432 GB, free: 15.77 MB / 0.4949 GB Notification: Performance of collectInitialBindings (initialization): time 0.001631/1.148, allocations: 1.266 MB / 0.8445 GB, free: 14.51 MB / 0.4949 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005197/1.149, allocations: 185.3 kB / 0.8446 GB, free: 14.33 MB / 0.4949 GB Notification: Performance of setup shared object (initialization): time 0.0004725/1.149, allocations: 0.6908 MB / 0.8453 GB, free: 13.63 MB / 0.4949 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005836/1.155, allocations: 4.035 MB / 0.8493 GB, free: 9.59 MB / 0.4949 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008923/1.164, allocations: 9.108 MB / 0.8582 GB, free: 14 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.2001/1.364, allocations: 14.11 MB / 0.8719 GB, free: 148.4 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001371/1.364, allocations: 50.91 kB / 0.872 GB, free: 148.4 MB / 0.5105 GB Notification: Performance of matching and sorting (n=1207) (initialization): time 0.02539/1.389, allocations: 15.04 MB / 0.8867 GB, free: 145.5 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 8.806e-05/1.39, allocations: 79.84 kB / 0.8867 GB, free: 145.5 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001592/1.39, allocations: 178.6 kB / 0.8869 GB, free: 145.5 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004719/1.394, allocations: 2.283 MB / 0.8891 GB, free: 145.1 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00651/1.401, allocations: 2.151 MB / 0.8912 GB, free: 144.9 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01378/1.415, allocations: 13.52 MB / 0.9044 GB, free: 138.2 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006325/1.421, allocations: 0.5395 MB / 0.905 GB, free: 138 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001086/1.422, allocations: 0.5253 MB / 0.9055 GB, free: 138 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 804 * 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 (1125): * Single equations (assignments): 1118 * Array equations: 5 * 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.005081/1.427, allocations: 3.297 MB / 0.9087 GB, free: 136.5 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001051/1.428, allocations: 0.5775 MB / 0.9093 GB, free: 136.5 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01379/1.442, allocations: 8.435 MB / 0.9175 GB, free: 133.6 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.891e-05/1.442, allocations: 35.41 kB / 0.9175 GB, free: 133.6 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.642e-05/1.442, allocations: 9.531 kB / 0.9175 GB, free: 133.6 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.31e-05/1.442, allocations: 16.52 kB / 0.9176 GB, free: 133.6 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02561/1.468, allocations: 17.09 MB / 0.9342 GB, free: 127.6 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.976e-05/1.468, allocations: 9.438 kB / 0.9343 GB, free: 127.6 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002674/1.471, allocations: 0.5865 MB / 0.9348 GB, free: 127.5 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004463/1.475, allocations: 2.033 MB / 0.9368 GB, free: 127.2 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004662/1.476, allocations: 67.36 kB / 0.9369 GB, free: 127.1 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01353/1.489, allocations: 12.72 MB / 0.9493 GB, free: 115.7 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.909e-06/1.489, allocations: 7.938 kB / 0.9493 GB, free: 115.7 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01585/1.505, allocations: 13.08 MB / 0.9621 GB, free: 102.6 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002563/1.508, allocations: 1.247 MB / 0.9633 GB, free: 101.4 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008237/1.509, allocations: 59.12 kB / 0.9634 GB, free: 101.3 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002351/1.511, allocations: 245.8 kB / 0.9636 GB, free: 101.1 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004975/1.511, allocations: 205.9 kB / 0.9638 GB, free: 100.9 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002235/1.512, allocations: 89.16 kB / 0.9639 GB, free: 100.8 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.004831/1.516, allocations: 4.302 MB / 0.9681 GB, free: 96.5 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.31e-07/1.517, allocations: 0 / 0.9681 GB, free: 96.5 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.005771/1.522, allocations: 1.777 MB / 0.9698 GB, free: 94.72 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.0004617/1.523, allocations: 207.9 kB / 0.97 GB, free: 94.51 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.01123/1.534, allocations: 9.751 MB / 0.9795 GB, free: 84.77 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 6.552e-06/1.534, allocations: 4 kB / 0.9795 GB, free: 84.77 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.005249/1.539, allocations: 3.984 MB / 0.9834 GB, free: 80.75 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007188/1.546, allocations: 0.7192 MB / 0.9841 GB, free: 80.04 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02117/1.568, allocations: 20.04 MB / 1.004 GB, free: 59.93 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004121/1.572, allocations: 5.012 MB / 1.009 GB, free: 54.89 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001924/1.574, allocations: 483.3 kB / 1.009 GB, free: 54.41 MB / 0.5105 GB Notification: Performance of SimCode: time 5.81e-07/1.574, allocations: 4 kB / 1.009 GB, free: 54.41 MB / 0.5105 GB Notification: Performance of Templates: time 0.3733/1.947, allocations: 159.1 MB / 1.164 GB, free: 72.4 MB / 0.5105 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/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_cpp_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches