Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.Force.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.Force,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.Force") translateModel(ModelicaTest.MultiBody.Forces.Force,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.Force") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009975/0.0009975, allocations: 179 kB / 18.09 MB, free: 3.754 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.27/1.27, allocations: 223.3 MB / 242.1 MB, free: 11.71 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.0007395/0.0007396, allocations: 99.5 kB / 293.3 MB, free: 10.79 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.295/0.295, allocations: 44.15 MB / 388.5 MB, free: 38.69 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003395/0.0003395, allocations: 12 kB / 461.1 MB, free: 1.34 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2765/0.2768, allocations: 61.88 MB / 0.5107 GB, free: 38.34 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1315/0.4084, allocations: 109.2 MB / 0.6174 GB, free: 1.848 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002277/0.4086, allocations: 83.94 kB / 0.6174 GB, free: 1.77 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5246/0.9332, allocations: 124.4 MB / 0.7389 GB, free: 91.42 MB / 490.7 MB Notification: Performance of FrontEnd: time 3.196e-06/0.9333, allocations: 0 / 0.7389 GB, free: 91.42 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0004963/0.9338, allocations: 127.1 kB / 0.7391 GB, free: 91.42 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: 2219 * Number of variables: 2219 Notification: Performance of Generate backend data structure: time 0.02114/0.955, allocations: 6.541 MB / 0.7454 GB, free: 88.08 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.249e-05/0.955, allocations: 8.562 kB / 0.7454 GB, free: 88.08 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02158/0.9766, allocations: 5.423 MB / 0.7507 GB, free: 87.23 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01469/0.9914, allocations: 5.858 MB / 0.7565 GB, free: 84.02 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004656/0.9919, allocations: 477.8 kB / 0.7569 GB, free: 83.8 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002825/0.9947, allocations: 0.6171 MB / 0.7575 GB, free: 83.58 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03449/1.029, allocations: 15.58 MB / 0.7727 GB, free: 72.64 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005268/1.03, allocations: 91.36 kB / 0.7728 GB, free: 72.55 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002498/1.032, allocations: 311.8 kB / 0.7731 GB, free: 72.24 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001907/1.034, allocations: 1.47 MB / 0.7746 GB, free: 70.77 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02455/1.059, allocations: 12.56 MB / 0.7868 GB, free: 58.18 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0743/1.133, allocations: 70.54 MB / 0.8557 GB, free: 1.602 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01784/1.151, allocations: 7.002 MB / 0.8625 GB, free: 10.44 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004939/1.156, allocations: 3.588 MB / 0.866 GB, free: 6.836 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.2692/1.425, allocations: 8.742 MB / 0.8746 GB, free: 113.9 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.454e-05/1.425, allocations: 63.19 kB / 0.8746 GB, free: 113.8 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=246): time 6.642e-06/1.425, allocations: 2.625 kB / 0.8746 GB, free: 113.8 MB / 0.5105 GB Notification: Performance of matching and sorting (n=288): time 0.06632/1.492, allocations: 29.9 MB / 0.9038 GB, free: 108.9 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.908e-05/1.492, allocations: 236.8 kB / 0.9041 GB, free: 108.7 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01222/1.504, allocations: 6.647 MB / 0.9106 GB, free: 108.1 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0008194/1.505, allocations: 70.7 kB / 0.9106 GB, free: 108.1 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.003266/1.508, allocations: 4.539 MB / 0.9151 GB, free: 104.7 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.001368/1.51, allocations: 1.098 MB / 0.9161 GB, free: 103.9 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006897/1.51, allocations: 167.3 kB / 0.9163 GB, free: 103.8 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0005184/1.511, allocations: 0.6611 MB / 0.9169 GB, free: 103.3 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004803/1.516, allocations: 3.284 MB / 0.9201 GB, free: 102.2 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006493/1.522, allocations: 8.32 MB / 0.9283 GB, free: 94.41 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01185/1.534, allocations: 12.62 MB / 0.9406 GB, free: 84.78 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001787/1.534, allocations: 53.53 kB / 0.9407 GB, free: 84.78 MB / 0.5105 GB Notification: Performance of matching and sorting (n=1101) (initialization): time 0.02143/1.556, allocations: 12.8 MB / 0.9532 GB, free: 80.03 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002456/1.556, allocations: 85.28 kB / 0.9532 GB, free: 80.03 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003303/1.556, allocations: 177.4 kB / 0.9534 GB, free: 80.03 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003974/1.56, allocations: 1.659 MB / 0.955 GB, free: 79.73 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00685/1.567, allocations: 2 MB / 0.957 GB, free: 79.5 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.013/1.58, allocations: 11.24 MB / 0.968 GB, free: 73.46 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007962/1.588, allocations: 0.4907 MB / 0.9684 GB, free: 73.3 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00185/1.59, allocations: 0.5049 MB / 0.9689 GB, free: 72.86 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 807 * Number of states: 0 () * Number of discrete variables: 67 (fixed4.color[3],fixed4.color[2],fixed4.color[1],fixed2.color[3],fixed2.color[2],fixed2.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],force2.connectionLineColor[3],force2.connectionLineColor[2],force2.connectionLineColor[1],force2.forceArrow.arrowLine.twoHeadedArrow,force2.forceArrow.headAtOrigin,force2.forceColor[3],force2.forceColor[2],force2.forceColor[1],force1.connectionLineColor[3],force1.connectionLineColor[2],force1.connectionLineColor[1],force1.forceArrow.arrowLine.twoHeadedArrow,force1.forceArrow.headAtOrigin,force1.forceColor[3],force1.forceColor[2],force1.forceColor[1],fixedRotation.color[3],fixedRotation.color[2],fixedRotation.color[1],fixed3.color[3],fixed3.color[2],fixed3.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 (1031): * Single equations (assignments): 1026 * 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%) 22,(2,100.0%) 22} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.007723/1.598, allocations: 3.052 MB / 0.9719 GB, free: 70.18 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001562/1.599, allocations: 0.563 MB / 0.9725 GB, free: 69.61 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01111/1.611, allocations: 6.258 MB / 0.9786 GB, free: 64.56 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.566e-05/1.611, allocations: 30.03 kB / 0.9786 GB, free: 64.54 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.486e-05/1.611, allocations: 19.31 kB / 0.9786 GB, free: 64.52 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.279e-05/1.611, allocations: 12.56 kB / 0.9786 GB, free: 64.52 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02826/1.639, allocations: 14.22 MB / 0.9925 GB, free: 53.06 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.081e-05/1.639, allocations: 8 kB / 0.9925 GB, free: 53.05 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002512/1.642, allocations: 0.5373 MB / 0.993 GB, free: 52.64 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003188/1.645, allocations: 1.401 MB / 0.9944 GB, free: 51.67 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004815/1.645, allocations: 52.19 kB / 0.9945 GB, free: 51.62 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01106/1.656, allocations: 10.43 MB / 1.005 GB, free: 42.3 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.08e-06/1.656, allocations: 4 kB / 1.005 GB, free: 42.3 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01368/1.67, allocations: 10.22 MB / 1.015 GB, free: 33.16 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001797/1.672, allocations: 0.638 MB / 1.015 GB, free: 32.5 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001517/1.674, allocations: 59.48 kB / 1.015 GB, free: 32.45 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003199/1.677, allocations: 187.7 kB / 1.015 GB, free: 32.26 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005588/1.677, allocations: 186.8 kB / 1.016 GB, free: 32.08 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000257/1.678, allocations: 72 kB / 1.016 GB, free: 32.01 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.007871/1.685, allocations: 4.256 MB / 1.02 GB, free: 27.77 MB / 0.5105 GB Notification: Performance of sort global known variables: time 2.2e-07/1.686, allocations: 0 / 1.02 GB, free: 27.77 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.01322/1.699, allocations: 1.549 MB / 1.021 GB, free: 26.22 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 (232): * Single equations (assignments): 227 * 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%) 17,(4,75.0%) 17} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001135/1.7, allocations: 198.4 kB / 1.022 GB, free: 26.03 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.01763/1.718, allocations: 8.14 MB / 1.03 GB, free: 17.89 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.187e-05/1.718, allocations: 4.062 kB / 1.03 GB, free: 17.88 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.007721/1.725, allocations: 3.19 MB / 1.033 GB, free: 14.67 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01352/1.739, allocations: 0.7341 MB / 1.033 GB, free: 13.96 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03463/1.774, allocations: 17.17 MB / 1.05 GB, free: 12.75 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00993/1.784, allocations: 4.637 MB / 1.055 GB, free: 8.113 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.01255/1.796, allocations: 2.806 MB / 1.057 GB, free: 5.32 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002256/1.798, allocations: 391.4 kB / 1.058 GB, free: 4.941 MB / 0.5261 GB Notification: Performance of SimCode: time 1.342e-06/1.798, allocations: 0 / 1.058 GB, free: 4.941 MB / 0.5261 GB Notification: Performance of Templates: time 0.3874/2.186, allocations: 60.87 MB / 1.117 GB, free: 126.4 MB / 0.5417 GB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.Force.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.Force.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.Force.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.Force.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.Force.sim & ./ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.Force -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.Force.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.Force_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Forces/Force/Force.csv","../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.Force.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches