Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Force.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 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 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 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.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_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_ModelicaTest.MultiBody.Forces.Force") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001181/0.001181, allocations: 95.48 kB / 15.98 MB, free: 6.336 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.001119/0.001119, allocations: 201.7 kB / 16.91 MB, free: 6.176 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.662/1.662, allocations: 205.1 MB / 222.8 MB, free: 4.598 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3778/0.3778, allocations: 43.49 MB / 313.6 MB, free: 8.367 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001512/0.001512, allocations: 67.91 kB / 382.2 MB, free: 8.398 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1252/0.1267, allocations: 57.79 MB / 440 MB, free: 14.51 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.Force): time 0.294/0.4208, allocations: 90.05 MB / 0.5176 GB, free: 6.848 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.04983/0.4706, allocations: 17.1 MB / 0.5343 GB, free: 11.41 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.02235/0.493, allocations: 389.9 kB / 0.5347 GB, free: 11.35 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01017/0.5032, allocations: 4.873 MB / 0.5395 GB, free: 9.117 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009832/0.5132, allocations: 2.484 MB / 0.5419 GB, free: 7.965 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003327/0.5165, allocations: 1.044 MB / 0.5429 GB, free: 7.488 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.01114/0.5277, allocations: 7.028 MB / 0.5498 GB, free: 0.668 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.008842/0.5366, allocations: 6.222 MB / 0.5559 GB, free: 10.43 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00573/0.5423, allocations: 2.582 MB / 0.5584 GB, free: 7.836 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006497/0.5489, allocations: 3.828 MB / 0.5621 GB, free: 3.996 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002186/0.5511, allocations: 0.5391 MB / 0.5626 GB, free: 3.457 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004133/0.5553, allocations: 1.436 MB / 0.564 GB, free: 2.02 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004248/0.5595, allocations: 3.23 MB / 0.5672 GB, free: 14.78 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.005702/0.5653, allocations: 3.624 MB / 0.5707 GB, free: 11.14 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01337/0.5787, allocations: 10.87 MB / 0.5813 GB, free: 240 kB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.652e-06/0.5787, allocations: 0 / 0.5813 GB, free: 240 kB / 446.1 MB Notification: Performance of FrontEnd: time 2.435e-06/0.5787, allocations: 0 / 0.5813 GB, free: 240 kB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0004077/0.5791, allocations: 0 / 0.5813 GB, free: 240 kB / 446.1 MB 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.01798/0.5971, allocations: 7.781 MB / 0.5889 GB, free: 8.367 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.498e-05/0.5972, allocations: 15.89 kB / 0.589 GB, free: 8.352 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01292/0.6101, allocations: 2.799 MB / 0.5917 GB, free: 5.539 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0101/0.6203, allocations: 4.484 MB / 0.5961 GB, free: 0.9727 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002871/0.6206, allocations: 378.2 kB / 0.5964 GB, free: 0.6016 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001597/0.6222, allocations: 0.4917 MB / 0.5969 GB, free: 112 kB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02956/0.6518, allocations: 15.69 MB / 0.6122 GB, free: 15.41 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002125/0.652, allocations: 71.31 kB / 0.6123 GB, free: 15.35 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007761/0.6528, allocations: 235.8 kB / 0.6125 GB, free: 15.12 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005003/0.6578, allocations: 3.001 MB / 0.6155 GB, free: 12.11 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.2675/0.9253, allocations: 13.42 MB / 0.6286 GB, free: 136.6 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07389/0.9993, allocations: 61.07 MB / 0.6882 GB, free: 98.25 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02111/1.02, allocations: 7.629 MB / 0.6957 GB, free: 95.85 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005505/1.026, allocations: 4.159 MB / 0.6997 GB, free: 94.18 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01625/1.042, allocations: 9.839 MB / 0.7093 GB, free: 88.51 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.502e-05/1.042, allocations: 70.88 kB / 0.7094 GB, free: 88.45 MB / 494.1 MB Notification: Performance of pre-optimization done (n=273): time 5.049e-06/1.042, allocations: 0 / 0.7094 GB, free: 88.45 MB / 494.1 MB Notification: Performance of matching and sorting (n=315): time 0.08048/1.123, allocations: 34.33 MB / 0.7429 GB, free: 58.43 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.653e-05/1.123, allocations: 235.9 kB / 0.7431 GB, free: 58.15 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01076/1.134, allocations: 6.897 MB / 0.7499 GB, free: 51.26 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0009188/1.135, allocations: 73.7 kB / 0.7499 GB, free: 51.18 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00267/1.137, allocations: 4.632 MB / 0.7545 GB, free: 46.55 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001637/1.139, allocations: 1.188 MB / 0.7556 GB, free: 45.35 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004499/1.144, allocations: 1.883 MB / 0.7575 GB, free: 43.45 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 4.739e-05/1.144, allocations: 301.1 kB / 0.7578 GB, free: 43.15 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005397/1.149, allocations: 3.906 MB / 0.7616 GB, free: 39.24 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006622/1.156, allocations: 9.075 MB / 0.7704 GB, free: 27.62 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01223/1.168, allocations: 13.93 MB / 0.784 GB, free: 11.16 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001348/1.168, allocations: 55.94 kB / 0.7841 GB, free: 11.11 MB / 494.1 MB Notification: Performance of matching and sorting (n=1200) (initialization): time 0.0259/1.194, allocations: 14.8 MB / 0.7985 GB, free: 12.28 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002196/1.194, allocations: 89.84 kB / 0.7986 GB, free: 12.2 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000346/1.195, allocations: 180 kB / 0.7988 GB, free: 12.02 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005875/1.2, allocations: 2.276 MB / 0.801 GB, free: 9.734 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007441/1.208, allocations: 2.16 MB / 0.8031 GB, free: 7.57 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01816/1.226, allocations: 14.24 MB / 0.817 GB, free: 9.043 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008034/1.234, allocations: 0.546 MB / 0.8176 GB, free: 8.496 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002272/1.237, allocations: 0.539 MB / 0.8181 GB, free: 7.957 MB / 0.5137 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 822 * 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1120): * Single equations (assignments): 1113 * Array equations: 5 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(2,22,100.0%), (2,22,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.008333/1.245, allocations: 3.152 MB / 0.8212 GB, free: 4.789 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002007/1.247, allocations: 0.5746 MB / 0.8217 GB, free: 4.207 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.2306/1.477, allocations: 7.761 MB / 0.8293 GB, free: 158.3 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.372e-05/1.478, allocations: 32.38 kB / 0.8293 GB, free: 158.3 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.514e-05/1.478, allocations: 11.22 kB / 0.8294 GB, free: 158.3 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.166e-05/1.478, allocations: 17.25 kB / 0.8294 GB, free: 158.3 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02716/1.505, allocations: 16.26 MB / 0.8453 GB, free: 154.2 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.535e-05/1.505, allocations: 10.12 kB / 0.8453 GB, free: 154.2 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002544/1.508, allocations: 0.5587 MB / 0.8458 GB, free: 154.2 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004652/1.512, allocations: 2.026 MB / 0.8478 GB, free: 153.8 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004915/1.513, allocations: 54.34 kB / 0.8478 GB, free: 153.8 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01775/1.53, allocations: 13.53 MB / 0.8611 GB, free: 147.1 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.217e-06/1.531, allocations: 15.52 kB / 0.8611 GB, free: 147.1 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02319/1.554, allocations: 12.33 MB / 0.8731 GB, free: 142.6 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004786/1.559, allocations: 1.182 MB / 0.8743 GB, free: 142.2 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002269/1.561, allocations: 60.36 kB / 0.8743 GB, free: 142.2 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003509/1.564, allocations: 223.6 kB / 0.8745 GB, free: 142.2 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006902/1.565, allocations: 195.2 kB / 0.8747 GB, free: 142.1 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002428/1.565, allocations: 88.95 kB / 0.8748 GB, free: 142.1 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.006663/1.572, allocations: 4.41 MB / 0.8791 GB, free: 140.7 MB / 0.5137 GB Notification: Performance of sort global known variables: time 3.3e-07/1.572, allocations: 0 / 0.8791 GB, free: 140.7 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.008024/1.58, allocations: 1.707 MB / 0.8808 GB, free: 140.5 MB / 0.5137 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 (260): * Single equations (assignments): 255 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(5,16,72.0%), (4,17,75.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.000638/1.581, allocations: 206.8 kB / 0.881 GB, free: 140.4 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.01538/1.596, allocations: 11.57 MB / 0.8923 GB, free: 134 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 8.385e-06/1.596, allocations: 0 / 0.8923 GB, free: 134 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.006023/1.602, allocations: 3.853 MB / 0.896 GB, free: 130.4 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007955/1.61, allocations: 0.7529 MB / 0.8968 GB, free: 129.7 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03767/1.648, allocations: 19.04 MB / 0.9154 GB, free: 110.7 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008376/1.656, allocations: 4.796 MB / 0.9201 GB, free: 105.9 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.008156/1.664, allocations: 2.945 MB / 0.9229 GB, free: 103 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002192/1.667, allocations: 415.3 kB / 0.9233 GB, free: 102.6 MB / 0.5137 GB Notification: Performance of SimCode: time 1.182e-06/1.667, allocations: 0 / 0.9233 GB, free: 102.6 MB / 0.5137 GB Notification: Performance of Templates: time 0.1129/1.78, allocations: 70.99 MB / 0.9927 GB, free: 31.68 MB / 0.5137 GB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Force.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Force.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Force.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Force.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Force.sim & ./ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Force -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Force.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Force_res.mat","/var/lib/jenkins/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_ModelicaTest.MultiBody.Forces.Force.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches