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/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/ModelicaServices 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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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) 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/Complex 4.0.0+maint.om/package.mo): time 0.0009628/0.0009628, allocations: 174.4 kB / 8.74 MB, free: 348 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.322/1.322, allocations: 221.5 MB / 230.7 MB, free: 7.531 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001216/0.001216, allocations: 92.86 kB / 281.6 MB, free: 5.277 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1916/0.1916, allocations: 44.14 MB / 376.5 MB, free: 3.043 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 1.738e-05/1.741e-05, allocations: 4.219 kB / 444.6 MB, free: 15.23 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1267/0.1267, allocations: 61.92 MB / 0.4947 GB, free: 1.254 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4143/0.5411, allocations: 106.8 MB / 0.5989 GB, free: 5.734 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002278/0.5413, allocations: 75.97 kB / 0.599 GB, free: 5.66 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5999/1.141, allocations: 117.4 MB / 0.7136 GB, free: 104.5 MB / 0.4948 GB Notification: Performance of FrontEnd: time 2.345e-06/1.141, allocations: 0 / 0.7136 GB, free: 104.5 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 0.0004061/1.142, allocations: 121.3 kB / 0.7137 GB, free: 104.5 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: 2101 * Number of variables: 2101 Notification: Performance of Generate backend data structure: time 0.02558/1.167, allocations: 5.867 MB / 0.7195 GB, free: 102.3 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 5.316e-05/1.167, allocations: 9.719 kB / 0.7195 GB, free: 102.3 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02803/1.195, allocations: 6.973 MB / 0.7263 GB, free: 101.9 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01929/1.215, allocations: 6.65 MB / 0.7328 GB, free: 101.1 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005327/1.215, allocations: 192.8 kB / 0.7329 GB, free: 101.1 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004212/1.22, allocations: 357 kB / 0.7333 GB, free: 101.1 MB / 0.4948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01724/1.237, allocations: 8.537 MB / 0.7416 GB, free: 101.1 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03/1.267, allocations: 12.74 MB / 0.7541 GB, free: 97.08 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003727/1.267, allocations: 71.31 kB / 0.7541 GB, free: 97.07 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002221/1.27, allocations: 37.86 kB / 0.7542 GB, free: 97.07 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001994/1.272, allocations: 1.372 MB / 0.7555 GB, free: 96.83 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06493/1.336, allocations: 59.08 MB / 0.8132 GB, free: 53.81 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005526/1.342, allocations: 5.084 MB / 0.8182 GB, free: 49.07 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003433/1.346, allocations: 3.472 MB / 0.8216 GB, free: 45.9 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005143/1.346, allocations: 0.5525 MB / 0.8221 GB, free: 45.3 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.166e-05/1.346, allocations: 67.83 kB / 0.8222 GB, free: 45.23 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=237): time 5.29e-06/1.346, allocations: 0 / 0.8222 GB, free: 45.23 MB / 0.4948 GB Notification: Performance of matching and sorting (n=281): time 0.04906/1.395, allocations: 25.63 MB / 0.8472 GB, free: 23.15 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.825e-05/1.395, allocations: 213.9 kB / 0.8474 GB, free: 22.9 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005786/1.401, allocations: 3.648 MB / 0.851 GB, free: 19.68 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.000845/1.402, allocations: 25.7 kB / 0.851 GB, free: 19.65 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.002611/1.405, allocations: 4.066 MB / 0.855 GB, free: 15.97 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.001296/1.406, allocations: 1.017 MB / 0.8559 GB, free: 15 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002998/1.406, allocations: 0 / 0.8559 GB, free: 15 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0003172/1.407, allocations: 0.6201 MB / 0.8566 GB, free: 14.38 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00327/1.41, allocations: 2.912 MB / 0.8594 GB, free: 11.46 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004708/1.415, allocations: 7.112 MB / 0.8663 GB, free: 2.262 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005963/1.421, allocations: 4.497 MB / 0.8707 GB, free: 13.77 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.395e-05/1.421, allocations: 40 kB / 0.8708 GB, free: 13.73 MB / 0.5105 GB Notification: Performance of matching and sorting (n=971) (initialization): time 0.0214/1.442, allocations: 10.61 MB / 0.8811 GB, free: 3.105 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001131/1.442, allocations: 68 kB / 0.8812 GB, free: 3.039 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001683/1.442, allocations: 152 kB / 0.8813 GB, free: 2.891 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004177/1.447, allocations: 1.688 MB / 0.883 GB, free: 1.195 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006596/1.453, allocations: 1.716 MB / 0.8847 GB, free: 15.48 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01522/1.468, allocations: 10.88 MB / 0.8953 GB, free: 4.379 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007159/1.476, allocations: 299.4 kB / 0.8956 GB, free: 4.086 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002104/1.478, allocations: 451.7 kB / 0.896 GB, free: 3.648 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 680 * Number of states: 0 () * Number of discrete variables: 59 (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.torqueArrow.arrowLine.twoHeadedArrow,frameTorque2.torqueArrow.headAtOrigin,frameTorque2.torqueColor[3],frameTorque2.torqueColor[2],frameTorque2.torqueColor[1],frameTorque2.forceArrow.arrowLine.twoHeadedArrow,frameTorque2.forceArrow.headAtOrigin,frameTorque2.forceColor[3],frameTorque2.forceColor[2],frameTorque2.forceColor[1],frameTorque1.torqueArrow.arrowLine.twoHeadedArrow,frameTorque1.torqueArrow.headAtOrigin,frameTorque1.torqueColor[3],frameTorque1.torqueColor[2],frameTorque1.torqueColor[1],frameTorque1.forceArrow.arrowLine.twoHeadedArrow,frameTorque1.forceArrow.headAtOrigin,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 (899): * Single equations (assignments): 894 * 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.001526/1.479, allocations: 0.4927 MB / 0.8965 GB, free: 3.152 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001091/1.48, allocations: 414.7 kB / 0.8969 GB, free: 2.742 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.3091/1.79, allocations: 5.894 MB / 0.9026 GB, free: 121.2 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.712e-05/1.79, allocations: 29.59 kB / 0.9027 GB, free: 121.2 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.728e-05/1.79, allocations: 11.81 kB / 0.9027 GB, free: 121.2 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.645e-05/1.79, allocations: 14.05 kB / 0.9027 GB, free: 121.2 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02636/1.816, allocations: 12.64 MB / 0.915 GB, free: 120.5 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.646e-05/1.816, allocations: 2.188 kB / 0.915 GB, free: 120.5 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002461/1.819, allocations: 466.8 kB / 0.9155 GB, free: 120.5 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003664/1.822, allocations: 1.399 MB / 0.9168 GB, free: 120.5 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003259/1.823, allocations: 6.281 kB / 0.9169 GB, free: 120.5 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01098/1.834, allocations: 9.825 MB / 0.9264 GB, free: 117.9 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.197e-06/1.834, allocations: 9.891 kB / 0.9265 GB, free: 117.9 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01309/1.847, allocations: 9.808 MB / 0.936 GB, free: 116.8 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002044/1.849, allocations: 445.1 kB / 0.9365 GB, free: 116.7 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00157/1.851, allocations: 6.875 kB / 0.9365 GB, free: 116.7 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002752/1.853, allocations: 169.9 kB / 0.9366 GB, free: 116.7 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004748/1.854, allocations: 163.6 kB / 0.9368 GB, free: 116.7 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001991/1.854, allocations: 68.88 kB / 0.9368 GB, free: 116.7 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.003695/1.858, allocations: 2.439 MB / 0.9392 GB, free: 115.8 MB / 0.5261 GB Notification: Performance of sort global known variables: time 2.815e-06/1.858, allocations: 0 / 0.9392 GB, free: 115.8 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.007542/1.865, allocations: 1.238 MB / 0.9404 GB, free: 115.8 MB / 0.5261 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 (223): * Single equations (assignments): 218 * 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.0008825/1.866, allocations: 158.4 kB / 0.9406 GB, free: 115.7 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.01107/1.877, allocations: 7.446 MB / 0.9479 GB, free: 113.3 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 8.827e-06/1.877, allocations: 0 / 0.9479 GB, free: 113.3 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.004484/1.882, allocations: 2.994 MB / 0.9508 GB, free: 112.1 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003366/1.885, allocations: 0.4923 MB / 0.9513 GB, free: 112 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02525/1.911, allocations: 11.28 MB / 0.9623 GB, free: 108.1 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006194/1.917, allocations: 4.494 MB / 0.9667 GB, free: 106.5 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.005978/1.923, allocations: 2.422 MB / 0.969 GB, free: 106.5 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001077/1.924, allocations: 310 kB / 0.9693 GB, free: 106.5 MB / 0.5261 GB Notification: Performance of SimCode: time 1.804e-06/1.924, allocations: 0 / 0.9693 GB, free: 106.5 MB / 0.5261 GB Notification: Performance of Templates: time 0.07919/2.003, allocations: 47.88 MB / 1.016 GB, free: 77.25 MB / 0.5261 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