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.002297/0.002297, allocations: 179.2 kB / 16.41 MB, free: 5.707 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.811/1.811, allocations: 205.4 MB / 222.5 MB, free: 9.027 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.0008342/0.0008341, allocations: 92.44 kB / 270.9 MB, free: 8.344 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3789/0.3789, allocations: 43.57 MB / 362.7 MB, free: 51.84 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005206/0.0005208, allocations: 16 kB / 431.4 MB, free: 5.922 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.148/0.1485, allocations: 58.85 MB / 490.2 MB, free: 10.99 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.Force): time 0.3603/0.5089, allocations: 81.76 MB / 0.5586 GB, free: 8.223 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.05319/0.5621, allocations: 16.44 MB / 0.5746 GB, free: 13 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.02522/0.5874, allocations: 387.8 kB / 0.575 GB, free: 12.94 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0184/0.6059, allocations: 4.294 MB / 0.5792 GB, free: 11.41 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.04375/0.6497, allocations: 12.5 MB / 0.5914 GB, free: 2.848 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.006438/0.6561, allocations: 0.9018 MB / 0.5923 GB, free: 1.945 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.04833/0.7045, allocations: 36.11 MB / 0.6276 GB, free: 13.8 MB / 458.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01434/0.7189, allocations: 7.414 MB / 0.6348 GB, free: 6.32 MB / 458.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005509/0.7245, allocations: 2.016 MB / 0.6368 GB, free: 4.297 MB / 458.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006108/0.7306, allocations: 3.154 MB / 0.6399 GB, free: 1.133 MB / 458.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001999/0.7327, allocations: 224 kB / 0.6401 GB, free: 0.9141 MB / 458.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004423/0.7371, allocations: 1.01 MB / 0.6411 GB, free: 15.9 MB / 474.7 MB Notification: Performance of NFScalarize.scalarize: time 0.005002/0.7421, allocations: 2.774 MB / 0.6438 GB, free: 13.12 MB / 474.7 MB Notification: Performance of NFVerifyModel.verify: time 0.003318/0.7455, allocations: 1.298 MB / 0.645 GB, free: 11.81 MB / 474.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01289/0.7584, allocations: 8.581 MB / 0.6534 GB, free: 3.211 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.151e-06/0.7585, allocations: 0 / 0.6534 GB, free: 3.211 MB / 474.7 MB Notification: Performance of FrontEnd: time 5.14e-06/0.7585, allocations: 0 / 0.6534 GB, free: 3.211 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.0004959/0.759, allocations: 3.938 kB / 0.6534 GB, free: 3.207 MB / 474.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.01858/0.7776, allocations: 6.471 MB / 0.6597 GB, free: 12.65 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.747e-05/0.7777, allocations: 8.031 kB / 0.6597 GB, free: 12.64 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01403/0.7917, allocations: 2.869 MB / 0.6625 GB, free: 9.758 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01231/0.8041, allocations: 4.399 MB / 0.6668 GB, free: 5.277 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004806/0.8046, allocations: 373.6 kB / 0.6672 GB, free: 4.91 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002169/0.8068, allocations: 0.4956 MB / 0.6677 GB, free: 4.414 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2883/1.095, allocations: 15.68 MB / 0.683 GB, free: 135.9 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000436/1.096, allocations: 62.8 kB / 0.683 GB, free: 135.9 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002068/1.098, allocations: 237.7 kB / 0.6833 GB, free: 135.8 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005894/1.104, allocations: 3.001 MB / 0.6862 GB, free: 135.3 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02787/1.132, allocations: 13.38 MB / 0.6993 GB, free: 131.2 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07966/1.211, allocations: 61.09 MB / 0.7589 GB, free: 86.59 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01706/1.228, allocations: 7.631 MB / 0.7664 GB, free: 78.8 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004754/1.233, allocations: 4.15 MB / 0.7704 GB, free: 74.64 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01558/1.249, allocations: 9.836 MB / 0.78 GB, free: 64.73 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.474e-05/1.249, allocations: 72.48 kB / 0.7801 GB, free: 64.65 MB / 490.7 MB Notification: Performance of pre-optimization done (n=273): time 6.492e-06/1.249, allocations: 0 / 0.7801 GB, free: 64.65 MB / 490.7 MB Notification: Performance of matching and sorting (n=315): time 0.08515/1.334, allocations: 34.29 MB / 0.8136 GB, free: 30.14 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.412e-05/1.334, allocations: 239.9 kB / 0.8138 GB, free: 29.85 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01129/1.345, allocations: 6.854 MB / 0.8205 GB, free: 23 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000934/1.346, allocations: 73.7 kB / 0.8206 GB, free: 22.93 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002803/1.349, allocations: 4.631 MB / 0.8251 GB, free: 18.3 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.00184/1.351, allocations: 1.196 MB / 0.8263 GB, free: 17.12 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00125/1.352, allocations: 183.9 kB / 0.8265 GB, free: 16.94 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0005635/1.353, allocations: 0.6945 MB / 0.8271 GB, free: 16.23 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005779/1.359, allocations: 3.872 MB / 0.8309 GB, free: 12.36 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008508/1.367, allocations: 9.04 MB / 0.8397 GB, free: 0.7734 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01039/1.378, allocations: 5.776 MB / 0.8454 GB, free: 11 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002091/1.378, allocations: 52 kB / 0.8454 GB, free: 10.95 MB / 0.4948 GB Notification: Performance of matching and sorting (n=1200) (initialization): time 0.03368/1.412, allocations: 14.72 MB / 0.8598 GB, free: 12.21 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002686/1.412, allocations: 92 kB / 0.8599 GB, free: 12.12 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003513/1.412, allocations: 180 kB / 0.8601 GB, free: 11.95 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006231/1.419, allocations: 2.301 MB / 0.8623 GB, free: 9.637 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008571/1.427, allocations: 2.168 MB / 0.8644 GB, free: 7.465 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2533/1.681, allocations: 13.22 MB / 0.8773 GB, free: 147.4 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0083/1.689, allocations: 0.5387 MB / 0.8779 GB, free: 147.4 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002105/1.691, allocations: 0.534 MB / 0.8784 GB, free: 147.4 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 (1120): * Single equations (assignments): 1113 * 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 {(3,100.0%) 21,(2,100.0%) 22} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.006286/1.697, allocations: 3.155 MB / 0.8815 GB, free: 147 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00125/1.699, allocations: 0.5809 MB / 0.882 GB, free: 147 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01265/1.711, allocations: 7.744 MB / 0.8896 GB, free: 144.4 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.669e-05/1.711, allocations: 31.69 kB / 0.8896 GB, free: 144.4 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.757e-05/1.711, allocations: 10.66 kB / 0.8896 GB, free: 144.4 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.676e-05/1.711, allocations: 20.89 kB / 0.8897 GB, free: 144.4 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02879/1.74, allocations: 16.24 MB / 0.9055 GB, free: 138.8 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.476e-05/1.74, allocations: 4.828 kB / 0.9055 GB, free: 138.8 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00295/1.743, allocations: 0.5607 MB / 0.9061 GB, free: 138.8 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005486/1.749, allocations: 2.027 MB / 0.9081 GB, free: 138.4 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00103/1.75, allocations: 59.34 kB / 0.9081 GB, free: 138.4 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01942/1.769, allocations: 12.58 MB / 0.9204 GB, free: 132.3 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.018e-05/1.769, allocations: 9.266 kB / 0.9204 GB, free: 132.3 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01853/1.788, allocations: 12.31 MB / 0.9324 GB, free: 127.7 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003471/1.791, allocations: 1.205 MB / 0.9336 GB, free: 127.2 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002008/1.794, allocations: 58.11 kB / 0.9337 GB, free: 127.1 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004884/1.798, allocations: 229.5 kB / 0.9339 GB, free: 127.1 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0011/1.8, allocations: 191.2 kB / 0.9341 GB, free: 127.1 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006011/1.8, allocations: 87.86 kB / 0.9341 GB, free: 127 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.007666/1.808, allocations: 4.383 MB / 0.9384 GB, free: 125.6 MB / 0.5105 GB Notification: Performance of sort global known variables: time 5.91e-07/1.808, allocations: 0 / 0.9384 GB, free: 125.6 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.008489/1.816, allocations: 1.702 MB / 0.9401 GB, free: 125.4 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 (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 {(5,72.0%) 16,(4,75.0%) 17} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006069/1.817, allocations: 205.9 kB / 0.9403 GB, free: 125.2 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.01372/1.831, allocations: 9.384 MB / 0.9494 GB, free: 117.1 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.394e-05/1.831, allocations: 4 kB / 0.9494 GB, free: 117.1 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.006828/1.838, allocations: 3.85 MB / 0.9532 GB, free: 113.4 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006792/1.845, allocations: 0.7112 MB / 0.9539 GB, free: 112.7 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03144/1.876, allocations: 19.05 MB / 0.9725 GB, free: 93.78 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00504/1.881, allocations: 4.78 MB / 0.9772 GB, free: 88.96 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00205/1.883, allocations: 475.3 kB / 0.9776 GB, free: 88.5 MB / 0.5105 GB Notification: Performance of SimCode: time 1.383e-06/1.883, allocations: 0 / 0.9776 GB, free: 88.5 MB / 0.5105 GB Notification: Performance of Templates: time 0.3864/2.27, allocations: 151.5 MB / 1.126 GB, free: 120.2 MB / 0.5105 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/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_cpp_ModelicaTest.MultiBody.Forces.Force.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches