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.001546/0.001546, allocations: 187 kB / 16.4 MB, free: 5.621 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.126/2.126, allocations: 205.4 MB / 222.5 MB, free: 13.85 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.001139/0.001138, allocations: 106.8 kB / 270.9 MB, free: 13.38 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.2918/0.2918, allocations: 43.56 MB / 362.7 MB, free: 11.32 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004762/0.0004763, allocations: 19.98 kB / 431.4 MB, free: 20.27 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1232/0.1237, allocations: 58.86 MB / 490.2 MB, free: 9.34 MB / 330.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.Force): time 0.4554/0.5792, allocations: 77.14 MB / 0.5541 GB, free: 4.07 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.05171/0.631, allocations: 17.25 MB / 0.5709 GB, free: 7.875 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.02167/0.6527, allocations: 386.8 kB / 0.5713 GB, free: 7.816 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01552/0.6683, allocations: 3.883 MB / 0.5751 GB, free: 4.93 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.04676/0.7151, allocations: 10.99 MB / 0.5858 GB, free: 10.44 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.006742/0.7219, allocations: 0.89 MB / 0.5867 GB, free: 9.547 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.07638/0.7983, allocations: 27.37 MB / 0.6134 GB, free: 14.15 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01633/0.8147, allocations: 7.351 MB / 0.6206 GB, free: 6.711 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004422/0.8192, allocations: 1.631 MB / 0.6222 GB, free: 5.074 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005061/0.8243, allocations: 2.177 MB / 0.6243 GB, free: 2.891 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001629/0.826, allocations: 224 kB / 0.6245 GB, free: 2.672 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004033/0.8301, allocations: 0.9871 MB / 0.6255 GB, free: 1.684 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.004773/0.8349, allocations: 2.572 MB / 0.628 GB, free: 15.11 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002788/0.8377, allocations: 1.314 MB / 0.6293 GB, free: 13.78 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01487/0.8526, allocations: 8.705 MB / 0.6378 GB, free: 5.051 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.579e-06/0.8527, allocations: 0 / 0.6378 GB, free: 5.051 MB / 442.7 MB Notification: Performance of FrontEnd: time 3.266e-06/0.8527, allocations: 0 / 0.6378 GB, free: 5.051 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0003899/0.8531, allocations: 0 / 0.6378 GB, free: 5.051 MB / 442.7 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.02561/0.8787, allocations: 6.893 MB / 0.6445 GB, free: 14.07 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.967e-05/0.8788, allocations: 8.031 kB / 0.6445 GB, free: 14.07 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.09085/0.9697, allocations: 8.252 MB / 0.6526 GB, free: 5.793 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01644/0.9862, allocations: 4.759 MB / 0.6572 GB, free: 0.9531 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000578/0.9868, allocations: 381.6 kB / 0.6576 GB, free: 0.5781 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002594/0.9894, allocations: 0.4957 MB / 0.6581 GB, free: 84 kB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05012/1.04, allocations: 15.76 MB / 0.6734 GB, free: 15.32 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000377/1.04, allocations: 71.36 kB / 0.6735 GB, free: 15.25 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001818/1.042, allocations: 235.8 kB / 0.6737 GB, free: 15.02 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.01009/1.052, allocations: 3.004 MB / 0.6767 GB, free: 12.01 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04701/1.099, allocations: 13.37 MB / 0.6897 GB, free: 14.6 MB / 0.4949 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4736/1.573, allocations: 60.85 MB / 0.7492 GB, free: 147.2 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03469/1.607, allocations: 7.722 MB / 0.7567 GB, free: 145.3 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02558/1.633, allocations: 9.698 MB / 0.7662 GB, free: 140.8 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.735e-05/1.633, allocations: 65.78 kB / 0.7662 GB, free: 140.7 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=273): time 7.524e-06/1.633, allocations: 0 / 0.7662 GB, free: 140.7 MB / 0.5105 GB Notification: Performance of matching and sorting (n=315): time 0.1485/1.782, allocations: 33.99 MB / 0.7994 GB, free: 115.1 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.566e-05/1.782, allocations: 243.9 kB / 0.7997 GB, free: 114.9 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01416/1.796, allocations: 7.109 MB / 0.8066 GB, free: 107.8 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0009162/1.797, allocations: 73.7 kB / 0.8067 GB, free: 107.7 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.003706/1.801, allocations: 4.435 MB / 0.811 GB, free: 103.3 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.001953/1.803, allocations: 1.191 MB / 0.8122 GB, free: 102.1 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001318/1.804, allocations: 176 kB / 0.8123 GB, free: 101.9 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0006621/1.805, allocations: 0.6898 MB / 0.813 GB, free: 101.2 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.009389/1.814, allocations: 3.656 MB / 0.8166 GB, free: 97.54 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01238/1.827, allocations: 8.778 MB / 0.8251 GB, free: 86.4 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01259/1.839, allocations: 5.541 MB / 0.8306 GB, free: 80.86 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001616/1.839, allocations: 52 kB / 0.8306 GB, free: 80.81 MB / 0.5105 GB Notification: Performance of matching and sorting (n=1162) (initialization): time 0.0359/1.875, allocations: 13.51 MB / 0.8438 GB, free: 67.29 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001209/1.876, allocations: 80 kB / 0.8439 GB, free: 67.21 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002516/1.876, allocations: 180 kB / 0.844 GB, free: 67.04 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007507/1.883, allocations: 1.793 MB / 0.8458 GB, free: 65.23 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01305/1.896, allocations: 2.113 MB / 0.8479 GB, free: 63.12 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0234/1.92, allocations: 12.19 MB / 0.8598 GB, free: 50.66 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01074/1.931, allocations: 0.5196 MB / 0.8603 GB, free: 50.14 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002097/1.933, allocations: 0.528 MB / 0.8608 GB, free: 49.62 MB / 0.5105 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 (1082): * Single equations (assignments): 1075 * Array equations: 5 * 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.007948/1.941, allocations: 3.157 MB / 0.8639 GB, free: 46.45 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001527/1.942, allocations: 0.5862 MB / 0.8644 GB, free: 45.86 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02119/1.964, allocations: 7.009 MB / 0.8713 GB, free: 38.83 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.183e-05/1.964, allocations: 32 kB / 0.8713 GB, free: 38.8 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.306e-05/1.964, allocations: 12 kB / 0.8713 GB, free: 38.79 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.628e-05/1.964, allocations: 19.89 kB / 0.8713 GB, free: 38.77 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04339/2.007, allocations: 15.53 MB / 0.8865 GB, free: 23.19 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.322e-05/2.007, allocations: 4 kB / 0.8865 GB, free: 23.19 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005453/2.013, allocations: 0.5577 MB / 0.8871 GB, free: 22.63 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006888/2.02, allocations: 1.512 MB / 0.8885 GB, free: 21.11 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008111/2.021, allocations: 60 kB / 0.8886 GB, free: 21.05 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02282/2.043, allocations: 11.39 MB / 0.8997 GB, free: 9.398 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.231e-06/2.043, allocations: 7.938 kB / 0.8997 GB, free: 9.391 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02952/2.073, allocations: 12.25 MB / 0.9117 GB, free: 12.91 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004801/2.078, allocations: 1.184 MB / 0.9128 GB, free: 11.7 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002072/2.08, allocations: 58.97 kB / 0.9129 GB, free: 11.64 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005808/2.086, allocations: 215.6 kB / 0.9131 GB, free: 11.43 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001408/2.087, allocations: 197.9 kB / 0.9133 GB, free: 11.24 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004787/2.088, allocations: 87.47 kB / 0.9134 GB, free: 11.16 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.01246/2.1, allocations: 4.596 MB / 0.9179 GB, free: 6.582 MB / 0.5261 GB Notification: Performance of sort global known variables: time 5.91e-07/2.1, allocations: 4 kB / 0.9179 GB, free: 6.578 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.01127/2.112, allocations: 1.661 MB / 0.9195 GB, free: 4.922 MB / 0.5261 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 (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.001464/2.113, allocations: 216.1 kB / 0.9197 GB, free: 4.707 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.3639/2.477, allocations: 8.928 MB / 0.9284 GB, free: 183.8 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 1.027e-05/2.477, allocations: 1.188 kB / 0.9284 GB, free: 183.8 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.01101/2.488, allocations: 3.561 MB / 0.9319 GB, free: 183.4 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006278/2.494, allocations: 0.7079 MB / 0.9326 GB, free: 183.1 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04429/2.539, allocations: 18.81 MB / 0.951 GB, free: 173.9 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009854/2.549, allocations: 4.939 MB / 0.9558 GB, free: 172.2 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003375/2.552, allocations: 479.5 kB / 0.9562 GB, free: 172.2 MB / 0.5261 GB Notification: Performance of SimCode: time 1.363e-06/2.552, allocations: 0 / 0.9562 GB, free: 172.2 MB / 0.5261 GB Notification: Performance of Templates: time 0.2818/2.834, allocations: 145.9 MB / 1.099 GB, free: 34.46 MB / 0.5261 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