Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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_4.0.0_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_4.0.0_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.001264/0.001264, allocations: 94.52 kB / 16.98 MB, free: 6.402 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001534/0.001534, allocations: 183.8 kB / 17.87 MB, free: 5.953 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.406/1.406, allocations: 223.2 MB / 241.8 MB, free: 384 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2218/0.2218, allocations: 44.23 MB / 337.1 MB, free: 2.906 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002981/0.0002981, allocations: 15.92 kB / 409.5 MB, free: 27.72 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1212/0.1215, allocations: 61.92 MB / 471.5 MB, free: 13.76 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.FrameForcesAndTorques3): time 0.3579/0.4794, allocations: 75.02 MB / 0.5337 GB, free: 9.145 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.04107/0.5205, allocations: 17.09 MB / 0.5504 GB, free: 15.25 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.02329/0.5438, allocations: 374.5 kB / 0.5507 GB, free: 15.2 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01669/0.5605, allocations: 3.816 MB / 0.5544 GB, free: 12.38 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.04038/0.601, allocations: 10.72 MB / 0.5649 GB, free: 3.977 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005275/0.6063, allocations: 0.9128 MB / 0.5658 GB, free: 3.062 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.06835/0.6747, allocations: 48.71 MB / 0.6134 GB, free: 2.301 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01137/0.6861, allocations: 6.974 MB / 0.6202 GB, free: 11.29 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004105/0.6902, allocations: 1.417 MB / 0.6216 GB, free: 9.867 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003988/0.6943, allocations: 1.83 MB / 0.6234 GB, free: 8.031 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001706/0.696, allocations: 200 kB / 0.6236 GB, free: 7.836 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003443/0.6995, allocations: 1.077 MB / 0.6246 GB, free: 6.758 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004032/0.7035, allocations: 2.244 MB / 0.6268 GB, free: 4.508 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00281/0.7064, allocations: 1.17 MB / 0.6279 GB, free: 3.328 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01205/0.7184, allocations: 7.969 MB / 0.6357 GB, free: 11.34 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.54e-06/0.7185, allocations: 4 kB / 0.6357 GB, free: 11.34 MB / 478.1 MB Notification: Performance of FrontEnd: time 4.599e-06/0.7185, allocations: 0 / 0.6357 GB, free: 11.34 MB / 478.1 MB Notification: Performance of Transformations before backend: time 0.000659/0.7192, allocations: 0 / 0.6357 GB, free: 11.34 MB / 478.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2101 * Number of variables: 2101 Notification: Performance of Generate backend data structure: time 0.01716/0.7364, allocations: 6.085 MB / 0.6417 GB, free: 5.172 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.993e-05/0.7365, allocations: 8.031 kB / 0.6417 GB, free: 5.164 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04509/0.7816, allocations: 8.137 MB / 0.6496 GB, free: 13.01 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0107/0.7923, allocations: 4.031 MB / 0.6536 GB, free: 8.918 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003014/0.7927, allocations: 348.8 kB / 0.6539 GB, free: 8.574 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002124/0.7948, allocations: 463.6 kB / 0.6543 GB, free: 8.121 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03352/0.8283, allocations: 14.8 MB / 0.6688 GB, free: 8.477 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000273/0.8286, allocations: 63.42 kB / 0.6688 GB, free: 8.414 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001307/0.83, allocations: 215.8 kB / 0.669 GB, free: 8.203 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005279/0.8353, allocations: 2.782 MB / 0.6718 GB, free: 5.414 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03093/0.8662, allocations: 12.7 MB / 0.6842 GB, free: 8.68 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3866/1.253, allocations: 53.41 MB / 0.7363 GB, free: 161.1 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01765/1.271, allocations: 6.305 MB / 0.7425 GB, free: 159.4 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02056/1.291, allocations: 12.98 MB / 0.7552 GB, free: 153.3 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.21e-05/1.291, allocations: 56.69 kB / 0.7552 GB, free: 153.3 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=228): time 6.643e-06/1.291, allocations: 3.719 kB / 0.7552 GB, free: 153.3 MB / 0.5294 GB Notification: Performance of matching and sorting (n=270): time 0.07674/1.368, allocations: 28.95 MB / 0.7835 GB, free: 129.3 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.323e-05/1.368, allocations: 213.6 kB / 0.7837 GB, free: 129 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01069/1.379, allocations: 5.263 MB / 0.7888 GB, free: 123.8 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.001099/1.38, allocations: 69.7 kB / 0.7889 GB, free: 123.7 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.002911/1.383, allocations: 4.026 MB / 0.7928 GB, free: 119.7 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.001731/1.385, allocations: 1.007 MB / 0.7938 GB, free: 118.7 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001036/1.386, allocations: 142.5 kB / 0.7939 GB, free: 118.5 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0005543/1.386, allocations: 0.6116 MB / 0.7945 GB, free: 117.9 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004919/1.391, allocations: 3.063 MB / 0.7975 GB, free: 114.8 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007107/1.398, allocations: 7.137 MB / 0.8045 GB, free: 105.8 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006861/1.405, allocations: 4.578 MB / 0.809 GB, free: 101.2 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001546/1.405, allocations: 44 kB / 0.809 GB, free: 101.2 MB / 0.5294 GB Notification: Performance of matching and sorting (n=934) (initialization): time 0.02391/1.429, allocations: 11.56 MB / 0.8203 GB, free: 89.57 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002126/1.43, allocations: 68 kB / 0.8204 GB, free: 89.51 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002606/1.43, allocations: 144 kB / 0.8205 GB, free: 89.37 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004741/1.435, allocations: 1.758 MB / 0.8222 GB, free: 87.6 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006695/1.441, allocations: 1.665 MB / 0.8239 GB, free: 85.93 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01563/1.457, allocations: 12.3 MB / 0.8359 GB, free: 73.37 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007194/1.464, allocations: 424 kB / 0.8363 GB, free: 72.96 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002066/1.466, allocations: 440.5 kB / 0.8367 GB, free: 72.53 MB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 654 * Number of states: 0 () * Number of discrete variables: 59 (frameTorque2.torqueArrow.arrowLine.twoHeadedArrow,frameTorque2.torqueArrow.headAtOrigin,frameTorque2.forceArrow.arrowLine.twoHeadedArrow,frameTorque2.forceArrow.headAtOrigin,frameTorque1.torqueArrow.arrowLine.twoHeadedArrow,frameTorque1.torqueArrow.headAtOrigin,frameTorque1.forceArrow.arrowLine.twoHeadedArrow,frameTorque1.forceArrow.headAtOrigin,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 (862): * Single equations (assignments): 857 * 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.007548/1.474, allocations: 2.801 MB / 0.8394 GB, free: 69.72 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00182/1.476, allocations: 458.1 kB / 0.8399 GB, free: 69.27 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01213/1.488, allocations: 6.245 MB / 0.846 GB, free: 63 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.988e-05/1.488, allocations: 28 kB / 0.846 GB, free: 62.97 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.344e-05/1.488, allocations: 12 kB / 0.846 GB, free: 62.96 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.815e-05/1.488, allocations: 19.91 kB / 0.846 GB, free: 62.94 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03146/1.52, allocations: 13.83 MB / 0.8595 GB, free: 49.11 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.61e-05/1.52, allocations: 4 kB / 0.8595 GB, free: 49.11 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002473/1.522, allocations: 451.3 kB / 0.86 GB, free: 48.66 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003891/1.526, allocations: 1.525 MB / 0.8614 GB, free: 47.13 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005823/1.527, allocations: 53.16 kB / 0.8615 GB, free: 47.08 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01329/1.54, allocations: 11.57 MB / 0.8728 GB, free: 35.25 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.617e-06/1.54, allocations: 3.938 kB / 0.8728 GB, free: 35.25 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0156/1.556, allocations: 10.14 MB / 0.8827 GB, free: 25.02 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002307/1.558, allocations: 0.5106 MB / 0.8832 GB, free: 24.49 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00182/1.56, allocations: 44 kB / 0.8832 GB, free: 24.45 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003204/1.563, allocations: 195.7 kB / 0.8834 GB, free: 24.25 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005934/1.564, allocations: 157.8 kB / 0.8836 GB, free: 24.1 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003095/1.564, allocations: 69.39 kB / 0.8836 GB, free: 24.04 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.006338/1.57, allocations: 3.345 MB / 0.8869 GB, free: 20.7 MB / 0.5294 GB Notification: Performance of sort global known variables: time 3.31e-07/1.57, allocations: 0 / 0.8869 GB, free: 20.7 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.008858/1.579, allocations: 1.448 MB / 0.8883 GB, free: 19.26 MB / 0.5294 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 (212): * Single equations (assignments): 207 * 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.001152/1.581, allocations: 203.4 kB / 0.8885 GB, free: 19.06 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.01294/1.593, allocations: 7.64 MB / 0.896 GB, free: 11.42 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 8.436e-06/1.594, allocations: 0 / 0.896 GB, free: 11.42 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.005385/1.599, allocations: 3.233 MB / 0.8991 GB, free: 8.164 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003892/1.603, allocations: 0.6098 MB / 0.8997 GB, free: 7.555 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2825/1.885, allocations: 15.97 MB / 0.9153 GB, free: 175.5 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008814/1.894, allocations: 4.488 MB / 0.9197 GB, free: 174.7 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.007137/1.901, allocations: 2.334 MB / 0.922 GB, free: 174.6 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001159/1.903, allocations: 325 kB / 0.9223 GB, free: 174.6 MB / 0.5294 GB Notification: Performance of SimCode: time 1.252e-06/1.903, allocations: 0 / 0.9223 GB, free: 174.6 MB / 0.5294 GB Notification: Performance of Templates: time 0.09299/1.996, allocations: 55.96 MB / 0.977 GB, free: 132 MB / 0.5294 GB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques3.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques3.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques3.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques3.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques3.sim & ./ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques3.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques3_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Forces/FrameForcesAndTorques3/FrameForcesAndTorques3.csv","../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches