Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.WorldForceAndTorque.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.WorldForceAndTorque,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|Revolute5.phi|Revolute5.w|Revolute6.phi|Revolute6.w",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.WorldForceAndTorque") translateModel(ModelicaTest.MultiBody.Forces.WorldForceAndTorque,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|Revolute5.phi|Revolute5.w|Revolute6.phi|Revolute6.w",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.WorldForceAndTorque") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001065/0.001065, allocations: 176.5 kB / 17.06 MB, free: 5.098 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.296/1.296, allocations: 223.2 MB / 241 MB, free: 11.87 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009651/0.0009651, allocations: 98.86 kB / 292.2 MB, free: 10.92 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.3477/0.3477, allocations: 44.22 MB / 387.5 MB, free: 38.82 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000328/0.0003281, allocations: 8 kB / 459.9 MB, free: 1.547 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.384/0.3843, allocations: 61.9 MB / 0.5096 GB, free: 37.94 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1402/0.5246, allocations: 108.3 MB / 0.6153 GB, free: 2.816 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002909/0.5249, allocations: 83.95 kB / 0.6154 GB, free: 2.734 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6403/1.165, allocations: 161.7 MB / 0.7733 GB, free: 72.4 MB / 490.7 MB Notification: Performance of FrontEnd: time 3.917e-06/1.165, allocations: 4 kB / 0.7733 GB, free: 72.39 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0007754/1.166, allocations: 163.9 kB / 0.7735 GB, free: 72.23 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: 2857 * Number of variables: 2857 Notification: Performance of Generate backend data structure: time 0.03197/1.198, allocations: 8.672 MB / 0.782 GB, free: 63.47 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.487e-05/1.198, allocations: 8.031 kB / 0.782 GB, free: 63.46 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03558/1.234, allocations: 9.681 MB / 0.7914 GB, free: 53.76 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02588/1.26, allocations: 8.982 MB / 0.8002 GB, free: 44.69 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007243/1.26, allocations: 0.6099 MB / 0.8008 GB, free: 44.08 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004772/1.265, allocations: 0.8277 MB / 0.8016 GB, free: 43.25 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04834/1.314, allocations: 20.03 MB / 0.8212 GB, free: 21.64 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000737/1.314, allocations: 107 kB / 0.8213 GB, free: 21.54 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004383/1.319, allocations: 391.8 kB / 0.8216 GB, free: 21.15 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002561/1.321, allocations: 1.782 MB / 0.8234 GB, free: 19.37 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03893/1.36, allocations: 16.54 MB / 0.8395 GB, free: 2.805 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.6933/2.054, allocations: 83.35 MB / 0.9209 GB, free: 39.75 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01792/2.072, allocations: 8.156 MB / 0.9289 GB, free: 39.06 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002322/2.072, allocations: 71.61 kB / 0.929 GB, free: 39.06 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.921e-05/2.072, allocations: 61.28 kB / 0.929 GB, free: 39.02 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=301): time 6.091e-06/2.072, allocations: 5.781 kB / 0.929 GB, free: 39.02 MB / 0.5105 GB Notification: Performance of matching and sorting (n=364): time 0.09646/2.168, allocations: 39.59 MB / 0.9677 GB, free: 31.81 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.044e-05/2.168, allocations: 270.6 kB / 0.9679 GB, free: 31.53 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01379/2.182, allocations: 6.996 MB / 0.9748 GB, free: 30.85 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.001294/2.184, allocations: 79.95 kB / 0.9748 GB, free: 30.78 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.004273/2.188, allocations: 5.549 MB / 0.9803 GB, free: 26.55 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.001937/2.19, allocations: 1.367 MB / 0.9816 GB, free: 25.55 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008114/2.191, allocations: 193.6 kB / 0.9818 GB, free: 25.4 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.000411/2.191, allocations: 0.7167 MB / 0.9825 GB, free: 24.92 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005456/2.197, allocations: 4.13 MB / 0.9865 GB, free: 23.54 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00776/2.204, allocations: 9.639 MB / 0.9959 GB, free: 14.8 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007937/2.212, allocations: 6.184 MB / 1.002 GB, free: 12.68 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001683/2.212, allocations: 53.72 kB / 1.002 GB, free: 12.68 MB / 0.5105 GB Notification: Performance of matching and sorting (n=1263) (initialization): time 0.02575/2.238, allocations: 15.82 MB / 1.017 GB, free: 5.086 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 9.606e-05/2.238, allocations: 88 kB / 1.018 GB, free: 5 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001873/2.239, allocations: 199.4 kB / 1.018 GB, free: 4.809 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005086/2.244, allocations: 2.445 MB / 1.02 GB, free: 3.027 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00706/2.251, allocations: 2.285 MB / 1.022 GB, free: 1.094 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02241/2.273, allocations: 17.4 MB / 1.039 GB, free: 1.559 MB / 0.5262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009496/2.283, allocations: 0.5756 MB / 1.04 GB, free: 1.078 MB / 0.5262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002573/2.285, allocations: 0.5744 MB / 1.04 GB, free: 0.5273 MB / 0.5262 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 885 * Number of states: 0 () * Number of discrete variables: 87 (forceAndTorque2.torqueArrow.arrowLine.twoHeadedArrow,forceAndTorque2.torqueArrow.headAtOrigin,forceAndTorque2.torqueColor[3],forceAndTorque2.torqueColor[2],forceAndTorque2.torqueColor[1],forceAndTorque2.forceArrow.arrowLine.twoHeadedArrow,forceAndTorque2.forceArrow.headAtOrigin,forceAndTorque2.forceColor[3],forceAndTorque2.forceColor[2],forceAndTorque2.forceColor[1],Revolute6.cylinderColor[3],Revolute6.cylinderColor[2],Revolute6.cylinderColor[1],fixed2.color[3],fixed2.color[2],fixed2.color[1],BodyCylinder2.color[3],BodyCylinder2.color[2],BodyCylinder2.color[1],BodyCylinder2.body.sphereColor[3],BodyCylinder2.body.sphereColor[2],BodyCylinder2.body.sphereColor[1],Revolute5.cylinderColor[3],Revolute5.cylinderColor[2],Revolute5.cylinderColor[1],forceAndTorque1.torqueArrow.arrowLine.twoHeadedArrow,forceAndTorque1.torqueArrow.headAtOrigin,forceAndTorque1.torqueColor[3],forceAndTorque1.torqueColor[2],forceAndTorque1.torqueColor[1],forceAndTorque1.forceArrow.arrowLine.twoHeadedArrow,forceAndTorque1.forceArrow.headAtOrigin,forceAndTorque1.forceColor[3],forceAndTorque1.forceColor[2],forceAndTorque1.forceColor[1],Revolute2.cylinderColor[3],Revolute2.cylinderColor[2],Revolute2.cylinderColor[1],fixed1.color[3],fixed1.color[2],fixed1.color[1],BodyCylinder1.color[3],BodyCylinder1.color[2],BodyCylinder1.color[1],BodyCylinder1.body.sphereColor[3],BodyCylinder1.body.sphereColor[2],BodyCylinder1.body.sphereColor[1],Revolute1.cylinderColor[3],Revolute1.cylinderColor[2],Revolute1.cylinderColor[1],forceAndTorque.torqueArrow.arrowLine.twoHeadedArrow,forceAndTorque.torqueArrow.headAtOrigin,forceAndTorque.torqueColor[3],forceAndTorque.torqueColor[2],forceAndTorque.torqueColor[1],forceAndTorque.forceArrow.arrowLine.twoHeadedArrow,forceAndTorque.forceArrow.headAtOrigin,forceAndTorque.forceColor[3],forceAndTorque.forceColor[2],forceAndTorque.forceColor[1],Revolute4.cylinderColor[3],Revolute4.cylinderColor[2],Revolute4.cylinderColor[1],fixed3.color[3],fixed3.color[2],fixed3.color[1],BodyCylinder3.color[3],BodyCylinder3.color[2],BodyCylinder3.color[1],BodyCylinder3.body.sphereColor[3],BodyCylinder3.body.sphereColor[2],BodyCylinder3.body.sphereColor[1],Revolute3.cylinderColor[3],Revolute3.cylinderColor[2],Revolute3.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 (1167): * Single equations (assignments): 1161 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(2,100.0%) 23,(2,100.0%) 23,(2,100.0%) 23} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.02006/2.305, allocations: 4.524 MB / 1.045 GB, free: 15.16 MB / 0.5418 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002309/2.308, allocations: 0.685 MB / 1.046 GB, free: 14.47 MB / 0.5418 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01786/2.326, allocations: 8.77 MB / 1.054 GB, free: 7.457 MB / 0.5418 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.433e-05/2.326, allocations: 40 kB / 1.054 GB, free: 7.418 MB / 0.5418 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.425e-05/2.326, allocations: 13.97 kB / 1.054 GB, free: 7.406 MB / 0.5418 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.385e-05/2.326, allocations: 15.19 kB / 1.054 GB, free: 7.406 MB / 0.5418 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04878/2.375, allocations: 19.09 MB / 1.073 GB, free: 6.047 MB / 0.5574 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.087e-05/2.375, allocations: 0 / 1.073 GB, free: 6.047 MB / 0.5574 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00362/2.378, allocations: 0.639 MB / 1.073 GB, free: 5.41 MB / 0.5574 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005817/2.384, allocations: 2.123 MB / 1.076 GB, free: 3.277 MB / 0.5574 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008748/2.385, allocations: 63.98 kB / 1.076 GB, free: 3.215 MB / 0.5574 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0221/2.407, allocations: 16.17 MB / 1.091 GB, free: 2.66 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.485e-06/2.407, allocations: 0 / 1.091 GB, free: 2.66 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2884/2.696, allocations: 13.9 MB / 1.105 GB, free: 143.3 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002327/2.698, allocations: 0.7445 MB / 1.106 GB, free: 143.2 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001637/2.7, allocations: 64.16 kB / 1.106 GB, free: 143.2 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003502/2.703, allocations: 281.2 kB / 1.106 GB, free: 143.2 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006985/2.704, allocations: 214.1 kB / 1.106 GB, free: 143.2 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002701/2.704, allocations: 95.48 kB / 1.106 GB, free: 143.2 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.009348/2.713, allocations: 4.986 MB / 1.111 GB, free: 143 MB / 0.573 GB Notification: Performance of sort global known variables: time 6.41e-07/2.714, allocations: 3 kB / 1.111 GB, free: 143 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.01057/2.724, allocations: 1.972 MB / 1.113 GB, free: 143 MB / 0.573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 12 (Revolute5.phi,Revolute5.w,Revolute6.phi,Revolute6.w,Revolute3.phi,Revolute3.w,Revolute4.phi,Revolute4.w,Revolute1.phi,Revolute1.w,Revolute2.phi,Revolute2.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 (289): * Single equations (assignments): 283 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(4,75.0%) 18,(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.001078/2.725, allocations: 219.5 kB / 1.113 GB, free: 142.9 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.01587/2.741, allocations: 10.37 MB / 1.123 GB, free: 142.5 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 7.174e-06/2.741, allocations: 0 / 1.123 GB, free: 142.5 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.007519/2.749, allocations: 4.356 MB / 1.128 GB, free: 142.1 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00494/2.754, allocations: 0.909 MB / 1.129 GB, free: 142.1 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03146/2.785, allocations: 22 MB / 1.15 GB, free: 133.8 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009355/2.794, allocations: 5.921 MB / 1.156 GB, free: 131.9 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.009688/2.804, allocations: 3.263 MB / 1.159 GB, free: 131.7 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002103/2.806, allocations: 464 kB / 1.159 GB, free: 131.7 MB / 0.573 GB Notification: Performance of SimCode: time 9.02e-07/2.806, allocations: 0 / 1.159 GB, free: 131.7 MB / 0.573 GB Notification: Performance of Templates: time 0.1202/2.927, allocations: 79.35 MB / 1.237 GB, free: 81.77 MB / 0.573 GB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.WorldForceAndTorque.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.WorldForceAndTorque.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.WorldForceAndTorque.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.WorldForceAndTorque.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.WorldForceAndTorque.sim & ./ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.WorldForceAndTorque -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.WorldForceAndTorque.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.WorldForceAndTorque_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Forces/WorldForceAndTorque/WorldForceAndTorque.csv","../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.WorldForceAndTorque.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches