Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.Force.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 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 ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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_3.2.3_cpp_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_3.2.3_cpp_ModelicaTest.MultiBody.Forces.Force") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002137/0.002136, allocations: 181.3 kB / 13.66 MB, free: 1.664 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.415/2.415, allocations: 205.2 MB / 219.4 MB, free: 14.2 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001045/0.001044, allocations: 86.64 kB / 267.5 MB, free: 14.04 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2786/0.2786, allocations: 43.5 MB / 359.1 MB, free: 12.23 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 3.335e-05/3.349e-05, allocations: 4 kB / 425.3 MB, free: 23.37 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1169/0.117, allocations: 58.85 MB / 484.1 MB, free: 12.46 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5128/0.6299, allocations: 107.6 MB / 0.5778 GB, free: 12.38 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002876/0.6302, allocations: 82.27 kB / 0.5779 GB, free: 12.34 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5393/1.17, allocations: 129.5 MB / 0.7044 GB, free: 2.391 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.853e-06/1.17, allocations: 0 / 0.7044 GB, free: 2.391 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 0.000498/1.17, allocations: 136 kB / 0.7045 GB, free: 2.258 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: 2323 * Number of variables: 2323 Notification: Performance of Generate backend data structure: time 0.7125/1.883, allocations: 6.557 MB / 0.7109 GB, free: 95.99 MB / 0.4949 GB Notification: Performance of prepare preOptimizeDAE: time 5.842e-05/1.883, allocations: 9.625 kB / 0.7109 GB, free: 95.99 MB / 0.4949 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.06223/1.945, allocations: 7.119 MB / 0.7179 GB, free: 95.54 MB / 0.4949 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02994/1.975, allocations: 7.381 MB / 0.7251 GB, free: 95.12 MB / 0.4949 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008514/1.976, allocations: 497.1 kB / 0.7255 GB, free: 95.11 MB / 0.4949 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00398/1.98, allocations: 0.6521 MB / 0.7262 GB, free: 95.1 MB / 0.4949 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05091/2.031, allocations: 16.19 MB / 0.742 GB, free: 91.19 MB / 0.4949 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005762/2.031, allocations: 90.72 kB / 0.7421 GB, free: 91.18 MB / 0.4949 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003579/2.035, allocations: 315.2 kB / 0.7424 GB, free: 91.18 MB / 0.4949 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003582/2.039, allocations: 1.558 MB / 0.7439 GB, free: 91.17 MB / 0.4949 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04166/2.08, allocations: 13.14 MB / 0.7567 GB, free: 91.09 MB / 0.4949 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1122/2.193, allocations: 72.62 MB / 0.8276 GB, free: 40 MB / 0.4949 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03204/2.225, allocations: 7.431 MB / 0.8349 GB, free: 37.75 MB / 0.4949 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.007485/2.232, allocations: 3.818 MB / 0.8386 GB, free: 34.26 MB / 0.4949 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02495/2.257, allocations: 9.659 MB / 0.8481 GB, free: 26.18 MB / 0.4949 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.845e-05/2.257, allocations: 60.28 kB / 0.8481 GB, free: 26.11 MB / 0.4949 GB Notification: Performance of pre-optimization done (n=273): time 7.123e-06/2.257, allocations: 0 / 0.8481 GB, free: 26.11 MB / 0.4949 GB Notification: Performance of matching and sorting (n=315): time 0.1253/2.383, allocations: 27.65 MB / 0.8751 GB, free: 3.348 MB / 0.4949 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001122/2.383, allocations: 243.2 kB / 0.8754 GB, free: 3.062 MB / 0.4949 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01879/2.402, allocations: 6.254 MB / 0.8815 GB, free: 14.24 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0009327/2.403, allocations: 73.55 kB / 0.8815 GB, free: 14.16 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.005412/2.408, allocations: 4.46 MB / 0.8859 GB, free: 10 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.002378/2.411, allocations: 1.188 MB / 0.887 GB, free: 8.82 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001615/2.412, allocations: 176 kB / 0.8872 GB, free: 8.648 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.001049/2.413, allocations: 0.6868 MB / 0.8879 GB, free: 7.949 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01488/2.428, allocations: 3.481 MB / 0.8913 GB, free: 4.461 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01548/2.444, allocations: 8.63 MB / 0.8997 GB, free: 9.352 MB / 0.5262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01421/2.458, allocations: 5.429 MB / 0.905 GB, free: 3.918 MB / 0.5262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001818/2.458, allocations: 52 kB / 0.9051 GB, free: 3.867 MB / 0.5262 GB Notification: Performance of matching and sorting (n=1157) (initialization): time 0.4328/2.891, allocations: 13.13 MB / 0.9179 GB, free: 113.2 MB / 0.5262 GB Notification: Performance of prepare postOptimizeDAE: time 0.000191/2.891, allocations: 82.97 kB / 0.918 GB, free: 113.2 MB / 0.5262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004765/2.892, allocations: 182.8 kB / 0.9181 GB, free: 113.2 MB / 0.5262 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008436/2.9, allocations: 1.68 MB / 0.9198 GB, free: 113.2 MB / 0.5262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01508/2.915, allocations: 2.117 MB / 0.9218 GB, free: 113.2 MB / 0.5262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02106/2.937, allocations: 11.21 MB / 0.9328 GB, free: 110.5 MB / 0.5262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01138/2.948, allocations: 0.5352 MB / 0.9333 GB, free: 110.5 MB / 0.5262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002285/2.95, allocations: 0.5212 MB / 0.9338 GB, free: 110.5 MB / 0.5262 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 827 * Number of states: 0 () * Number of discrete variables: 63 (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.forceColor[3],force2.forceColor[2],force2.forceColor[1],force1.connectionLineColor[3],force1.connectionLineColor[2],force1.connectionLineColor[1],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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1087): * Single equations (assignments): 1082 * 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.003868/2.954, allocations: 0.7894 MB / 0.9346 GB, free: 110.4 MB / 0.5262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001781/2.956, allocations: 0.5826 MB / 0.9352 GB, free: 110.4 MB / 0.5262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02102/2.977, allocations: 6.733 MB / 0.9417 GB, free: 110.2 MB / 0.5262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.759e-05/2.977, allocations: 34.69 kB / 0.9418 GB, free: 110.2 MB / 0.5262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.6e-05/2.977, allocations: 9.844 kB / 0.9418 GB, free: 110.2 MB / 0.5262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.006e-05/2.977, allocations: 14 kB / 0.9418 GB, free: 110.2 MB / 0.5262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04614/3.024, allocations: 15.15 MB / 0.9566 GB, free: 109.3 MB / 0.5262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.085e-05/3.024, allocations: 6.281 kB / 0.9566 GB, free: 109.3 MB / 0.5262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005948/3.03, allocations: 0.5805 MB / 0.9572 GB, free: 109.3 MB / 0.5262 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006378/3.036, allocations: 1.404 MB / 0.9585 GB, free: 109.3 MB / 0.5262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008971/3.037, allocations: 57.77 kB / 0.9586 GB, free: 109.3 MB / 0.5262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02079/3.058, allocations: 10.42 MB / 0.9688 GB, free: 104.4 MB / 0.5262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.436e-06/3.058, allocations: 6.781 kB / 0.9688 GB, free: 104.4 MB / 0.5262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02794/3.086, allocations: 11.82 MB / 0.9803 GB, free: 99.25 MB / 0.5262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004641/3.09, allocations: 1.154 MB / 0.9814 GB, free: 98.61 MB / 0.5262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002366/3.093, allocations: 54.12 kB / 0.9815 GB, free: 98.57 MB / 0.5262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006084/3.099, allocations: 222.5 kB / 0.9817 GB, free: 98.54 MB / 0.5262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0013/3.1, allocations: 194.9 kB / 0.9819 GB, free: 98.5 MB / 0.5262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006391/3.101, allocations: 82.25 kB / 0.982 GB, free: 98.48 MB / 0.5262 GB Notification: Performance of sorting global known variables: time 0.01146/3.113, allocations: 4.303 MB / 0.9862 GB, free: 97.01 MB / 0.5262 GB Notification: Performance of sort global known variables: time 1.122e-06/3.113, allocations: 0 / 0.9862 GB, free: 97.01 MB / 0.5262 GB Notification: Performance of remove unused functions: time 0.01113/3.124, allocations: 1.638 MB / 0.9878 GB, free: 96.83 MB / 0.5262 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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (260): * Single equations (assignments): 255 * 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.001309/3.125, allocations: 210.1 kB / 0.988 GB, free: 96.67 MB / 0.5262 GB Notification: Performance of simCode: created initialization part: time 0.02003/3.145, allocations: 8.639 MB / 0.9964 GB, free: 93.47 MB / 0.5262 GB Notification: Performance of simCode: created event and clocks part: time 1.019e-05/3.145, allocations: 0 / 0.9964 GB, free: 93.47 MB / 0.5262 GB Notification: Performance of simCode: created simulation system equations: time 0.009755/3.155, allocations: 3.417 MB / 0.9998 GB, free: 92.1 MB / 0.5262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006328/3.161, allocations: 0.6949 MB / 1 GB, free: 91.79 MB / 0.5262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0378/3.199, allocations: 13.79 MB / 1.014 GB, free: 80.85 MB / 0.5262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01136/3.211, allocations: 4.94 MB / 1.019 GB, free: 77.23 MB / 0.5262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003549/3.214, allocations: 471.7 kB / 1.019 GB, free: 76.8 MB / 0.5262 GB Notification: Performance of SimCode: time 2.104e-06/3.214, allocations: 0 / 1.019 GB, free: 76.8 MB / 0.5262 GB Notification: Performance of Templates: time 0.6432/3.858, allocations: 145.2 MB / 1.161 GB, free: 115.7 MB / 0.5418 GB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.Force.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.Force.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.Force.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.Force.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.Force.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.Force --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.Force.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.Force_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Forces/Force/Force.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.Force.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches