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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/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 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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009323/0.0009322, allocations: 96.28 kB / 15.69 MB, free: 480 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009472/0.0009472, allocations: 175.7 kB / 16.57 MB, free: 6.852 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.521/1.521, allocations: 205.4 MB / 222.7 MB, free: 5.648 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3528/0.3528, allocations: 43.54 MB / 314.5 MB, free: 8.766 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005062/0.0005063, allocations: 20 kB / 383.9 MB, free: 8.043 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1372/0.1377, allocations: 58.85 MB / 442.8 MB, free: 13.08 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.FrameForcesAndTorques3): time 0.3101/0.4478, allocations: 76.77 MB / 0.5073 GB, free: 456 kB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.04871/0.4966, allocations: 17.41 MB / 0.5243 GB, free: 4.57 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.02355/0.5202, allocations: 377.6 kB / 0.5247 GB, free: 4.516 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01696/0.5371, allocations: 3.862 MB / 0.5285 GB, free: 3.25 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.04323/0.5804, allocations: 10.91 MB / 0.5391 GB, free: 13.25 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006738/0.5872, allocations: 0.9107 MB / 0.54 GB, free: 12.34 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.04072/0.6279, allocations: 27.27 MB / 0.5666 GB, free: 1.059 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01071/0.6387, allocations: 7.209 MB / 0.5737 GB, free: 9.82 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0034/0.6421, allocations: 1.584 MB / 0.5752 GB, free: 8.23 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003611/0.6458, allocations: 2.138 MB / 0.5773 GB, free: 6.086 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001303/0.6471, allocations: 236 kB / 0.5775 GB, free: 5.855 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003188/0.6503, allocations: 1.088 MB / 0.5786 GB, free: 4.766 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003828/0.6542, allocations: 2.502 MB / 0.581 GB, free: 2.258 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002493/0.6567, allocations: 1.31 MB / 0.5823 GB, free: 0.9375 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01206/0.6688, allocations: 8.931 MB / 0.5911 GB, free: 7.984 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.771e-06/0.6688, allocations: 0 / 0.5911 GB, free: 7.984 MB / 462.1 MB Notification: Performance of FrontEnd: time 2.955e-06/0.6689, allocations: 0 / 0.5911 GB, free: 7.984 MB / 462.1 MB Notification: Performance of Transformations before backend: time 0.000582/0.6694, allocations: 0 / 0.5911 GB, free: 7.984 MB / 462.1 MB 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.01845/0.6879, allocations: 6.62 MB / 0.5975 GB, free: 1.285 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.264e-05/0.688, allocations: 12.02 kB / 0.5975 GB, free: 1.273 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04533/0.7333, allocations: 8.245 MB / 0.6056 GB, free: 9.008 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01094/0.7443, allocations: 4.565 MB / 0.61 GB, free: 4.387 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003852/0.7447, allocations: 377.8 kB / 0.6104 GB, free: 4.016 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00211/0.7469, allocations: 0.4996 MB / 0.6109 GB, free: 3.516 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03664/0.7835, allocations: 16.47 MB / 0.627 GB, free: 2.164 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004037/0.784, allocations: 63.38 kB / 0.627 GB, free: 2.102 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00217/0.7861, allocations: 235.8 kB / 0.6272 GB, free: 1.871 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.2171/1.003, allocations: 3.151 MB / 0.6303 GB, free: 139.3 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02851/1.032, allocations: 14.2 MB / 0.6442 GB, free: 137.5 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07783/1.11, allocations: 58.92 MB / 0.7017 GB, free: 98.98 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01624/1.126, allocations: 7.236 MB / 0.7088 GB, free: 94.61 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02217/1.148, allocations: 15.15 MB / 0.7236 GB, free: 79.43 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.79e-05/1.148, allocations: 69.06 kB / 0.7237 GB, free: 79.36 MB / 494.1 MB Notification: Performance of pre-optimization done (n=306): time 4.839e-06/1.148, allocations: 0 / 0.7237 GB, free: 79.36 MB / 494.1 MB Notification: Performance of matching and sorting (n=348): time 0.07882/1.227, allocations: 32.32 MB / 0.7552 GB, free: 46.75 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.645e-05/1.227, allocations: 225 kB / 0.7554 GB, free: 46.49 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006252/1.233, allocations: 5.587 MB / 0.7609 GB, free: 40.92 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0008584/1.234, allocations: 81.22 kB / 0.761 GB, free: 40.84 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001918/1.236, allocations: 4.385 MB / 0.7653 GB, free: 36.45 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001372/1.238, allocations: 1.274 MB / 0.7665 GB, free: 35.19 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004189/1.238, allocations: 160 kB / 0.7667 GB, free: 35.03 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0002897/1.238, allocations: 0.6531 MB / 0.7673 GB, free: 34.37 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004404/1.243, allocations: 3.674 MB / 0.7709 GB, free: 30.69 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006872/1.25, allocations: 8.116 MB / 0.7788 GB, free: 20.37 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006658/1.256, allocations: 5.352 MB / 0.784 GB, free: 15 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.782e-05/1.256, allocations: 48 kB / 0.7841 GB, free: 14.95 MB / 494.1 MB Notification: Performance of matching and sorting (n=1066) (initialization): time 0.02295/1.279, allocations: 13.21 MB / 0.797 GB, free: 1.688 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.363e-05/1.28, allocations: 72 kB / 0.7971 GB, free: 1.617 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001801/1.28, allocations: 156 kB / 0.7972 GB, free: 1.465 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004356/1.284, allocations: 1.778 MB / 0.7989 GB, free: 15.68 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007436/1.292, allocations: 1.934 MB / 0.8008 GB, free: 13.74 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01572/1.307, allocations: 12.34 MB / 0.8129 GB, free: 1.145 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006926/1.314, allocations: 495.4 kB / 0.8134 GB, free: 0.6602 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001772/1.316, allocations: 482.7 kB / 0.8138 GB, free: 196 kB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 708 * 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 (994): * Single equations (assignments): 989 * 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.007048/1.323, allocations: 3.087 MB / 0.8168 GB, free: 13.09 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001263/1.324, allocations: 0.4975 MB / 0.8173 GB, free: 12.58 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0134/1.338, allocations: 7.638 MB / 0.8248 GB, free: 4.883 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.207e-05/1.338, allocations: 43.94 kB / 0.8248 GB, free: 4.84 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.721e-05/1.338, allocations: 8 kB / 0.8248 GB, free: 4.832 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.349e-05/1.338, allocations: 19.94 kB / 0.8248 GB, free: 4.812 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2476/1.586, allocations: 16.42 MB / 0.8409 GB, free: 155.4 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.913e-05/1.586, allocations: 3.031 kB / 0.8409 GB, free: 155.4 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003053/1.589, allocations: 0.6131 MB / 0.8415 GB, free: 155.4 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003597/1.592, allocations: 1.526 MB / 0.843 GB, free: 155.4 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006576/1.593, allocations: 62.78 kB / 0.843 GB, free: 155.3 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01241/1.606, allocations: 11.52 MB / 0.8543 GB, free: 149.4 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.968e-06/1.606, allocations: 6.219 kB / 0.8543 GB, free: 149.4 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01996/1.626, allocations: 12.3 MB / 0.8663 GB, free: 144.8 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003336/1.629, allocations: 1.127 MB / 0.8674 GB, free: 144.4 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001043/1.63, allocations: 58.98 kB / 0.8675 GB, free: 144.4 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002716/1.633, allocations: 248.9 kB / 0.8677 GB, free: 144.3 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005813/1.633, allocations: 198.5 kB / 0.8679 GB, free: 144.3 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002527/1.634, allocations: 97.33 kB / 0.868 GB, free: 144.3 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.005548/1.639, allocations: 3.55 MB / 0.8714 GB, free: 143.1 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.272e-06/1.639, allocations: 0.9062 kB / 0.8714 GB, free: 143.1 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.007355/1.647, allocations: 1.651 MB / 0.8731 GB, free: 142.9 MB / 0.5137 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.0007957/1.647, allocations: 222.5 kB / 0.8733 GB, free: 142.8 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.01375/1.661, allocations: 9.068 MB / 0.8821 GB, free: 139.4 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 7.323e-06/1.661, allocations: 0 / 0.8821 GB, free: 139.4 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.005922/1.667, allocations: 3.868 MB / 0.8859 GB, free: 137.9 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003923/1.671, allocations: 0.626 MB / 0.8865 GB, free: 137.7 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02414/1.695, allocations: 18.18 MB / 0.9043 GB, free: 123.5 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005852/1.701, allocations: 4.948 MB / 0.9091 GB, free: 119.8 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.006608/1.708, allocations: 2.682 MB / 0.9117 GB, free: 117.3 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00169/1.709, allocations: 383.3 kB / 0.9121 GB, free: 116.9 MB / 0.5137 GB Notification: Performance of SimCode: time 1.032e-06/1.709, allocations: 0 / 0.9121 GB, free: 116.9 MB / 0.5137 GB Notification: Performance of Templates: time 0.08694/1.796, allocations: 63.69 MB / 0.9743 GB, free: 53.29 MB / 0.5137 GB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques3.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: 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