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.001367/0.001367, allocations: 186.9 kB / 17.97 MB, free: 3.797 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.386/1.386, allocations: 222.9 MB / 241.6 MB, free: 10.98 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.001047/0.001047, allocations: 102.6 kB / 291.9 MB, free: 10.93 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.357/0.357, allocations: 44.13 MB / 386.1 MB, free: 38 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001072/0.001072, allocations: 51.92 kB / 457.7 MB, free: 2.293 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3212/0.3223, allocations: 60.8 MB / 0.5064 GB, free: 38.23 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.Force): time 0.07186/0.3942, allocations: 89.18 MB / 0.5935 GB, free: 4.977 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.04206/0.4363, allocations: 17.11 MB / 0.6102 GB, free: 5.52 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.02389/0.4602, allocations: 387.1 kB / 0.6106 GB, free: 5.141 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00988/0.4701, allocations: 5.034 MB / 0.6155 GB, free: 96 kB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.007149/0.4774, allocations: 2.398 MB / 0.6178 GB, free: 13.69 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002863/0.4803, allocations: 1.034 MB / 0.6188 GB, free: 12.65 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.01223/0.4925, allocations: 10.13 MB / 0.6287 GB, free: 2.508 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007988/0.5005, allocations: 5.743 MB / 0.6343 GB, free: 12.68 MB / 458.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003852/0.5044, allocations: 2.18 MB / 0.6365 GB, free: 10.49 MB / 458.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005212/0.5096, allocations: 3.509 MB / 0.6399 GB, free: 6.973 MB / 458.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001571/0.5112, allocations: 383.9 kB / 0.6402 GB, free: 6.598 MB / 458.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003403/0.5147, allocations: 1.334 MB / 0.6416 GB, free: 5.262 MB / 458.7 MB Notification: Performance of NFScalarize.scalarize: time 0.003753/0.5184, allocations: 2.953 MB / 0.6444 GB, free: 2.301 MB / 458.7 MB Notification: Performance of NFVerifyModel.verify: time 0.005256/0.5237, allocations: 3.304 MB / 0.6477 GB, free: 14.97 MB / 474.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01148/0.5352, allocations: 10.21 MB / 0.6576 GB, free: 4.734 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.271e-06/0.5353, allocations: 0 / 0.6576 GB, free: 4.734 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.313e-06/0.5353, allocations: 0 / 0.6576 GB, free: 4.734 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.0003654/0.5356, allocations: 0 / 0.6576 GB, free: 4.734 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: 2219 * Number of variables: 2219 Notification: Performance of Generate backend data structure: time 0.0179/0.5536, allocations: 7.511 MB / 0.665 GB, free: 13.14 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.473e-05/0.5536, allocations: 12.02 kB / 0.665 GB, free: 13.12 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01316/0.5668, allocations: 2.753 MB / 0.6677 GB, free: 10.36 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01065/0.5775, allocations: 4.296 MB / 0.6719 GB, free: 5.98 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003358/0.5778, allocations: 369.7 kB / 0.6722 GB, free: 5.617 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001737/0.5796, allocations: 487.5 kB / 0.6727 GB, free: 5.141 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2387/0.8183, allocations: 15.06 MB / 0.6874 GB, free: 127.3 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005142/0.8189, allocations: 66.06 kB / 0.6874 GB, free: 127.3 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001887/0.8208, allocations: 232.3 kB / 0.6877 GB, free: 127.1 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004831/0.8257, allocations: 2.868 MB / 0.6905 GB, free: 126.7 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02382/0.8495, allocations: 12.81 MB / 0.703 GB, free: 122.8 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07438/0.9239, allocations: 59.1 MB / 0.7607 GB, free: 77.5 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0159/0.9399, allocations: 7.281 MB / 0.7678 GB, free: 70.07 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003746/0.9437, allocations: 3.893 MB / 0.7716 GB, free: 66.16 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01292/0.9566, allocations: 8.998 MB / 0.7804 GB, free: 57.02 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.963e-05/0.9567, allocations: 64.56 kB / 0.7804 GB, free: 56.95 MB / 490.7 MB Notification: Performance of pre-optimization done (n=246): time 4.588e-06/0.9567, allocations: 0 / 0.7804 GB, free: 56.95 MB / 490.7 MB Notification: Performance of matching and sorting (n=288): time 0.07734/1.034, allocations: 32.86 MB / 0.8125 GB, free: 23.84 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.154e-05/1.034, allocations: 239.6 kB / 0.8128 GB, free: 23.55 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0103/1.044, allocations: 6.714 MB / 0.8193 GB, free: 16.84 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0006816/1.045, allocations: 69.69 kB / 0.8194 GB, free: 16.77 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002362/1.048, allocations: 4.466 MB / 0.8238 GB, free: 12.25 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001264/1.049, allocations: 1.103 MB / 0.8248 GB, free: 11.13 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003542/1.052, allocations: 1.8 MB / 0.8266 GB, free: 9.312 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 3.734e-05/1.052, allocations: 301.1 kB / 0.8269 GB, free: 9.016 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004538/1.057, allocations: 3.624 MB / 0.8304 GB, free: 5.383 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007667/1.065, allocations: 8.659 MB / 0.8389 GB, free: 10.24 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01593/1.081, allocations: 13.21 MB / 0.8518 GB, free: 10.56 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002041/1.081, allocations: 48 kB / 0.8518 GB, free: 10.51 MB / 0.5105 GB Notification: Performance of matching and sorting (n=1144) (initialization): time 0.02993/1.111, allocations: 14.09 MB / 0.8656 GB, free: 12.4 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002569/1.111, allocations: 85.03 kB / 0.8657 GB, free: 12.32 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003481/1.112, allocations: 176 kB / 0.8658 GB, free: 12.14 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006441/1.118, allocations: 2.261 MB / 0.868 GB, free: 9.875 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007024/1.125, allocations: 2.027 MB / 0.87 GB, free: 7.844 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2625/1.388, allocations: 13.28 MB / 0.883 GB, free: 154.7 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006917/1.394, allocations: 0.5115 MB / 0.8835 GB, free: 154.6 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001744/1.396, allocations: 0.5138 MB / 0.884 GB, free: 154.5 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 802 * Number of states: 0 () * Number of discrete variables: 67 (force2.forceArrow.arrowLine.twoHeadedArrow,force2.forceArrow.headAtOrigin,force1.forceArrow.arrowLine.twoHeadedArrow,force1.forceArrow.headAtOrigin,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 (1064): * Single equations (assignments): 1057 * 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.006447/1.403, allocations: 3.045 MB / 0.887 GB, free: 153.3 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001425/1.404, allocations: 0.5549 MB / 0.8875 GB, free: 153.3 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01358/1.418, allocations: 7.223 MB / 0.8946 GB, free: 150.9 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.341e-05/1.418, allocations: 33 kB / 0.8946 GB, free: 150.9 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.031e-05/1.418, allocations: 8.719 kB / 0.8946 GB, free: 150.9 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.429e-05/1.418, allocations: 17.58 kB / 0.8946 GB, free: 150.9 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03144/1.449, allocations: 15.25 MB / 0.9095 GB, free: 145.7 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.676e-05/1.45, allocations: 4.656 kB / 0.9095 GB, free: 145.7 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002857/1.452, allocations: 0.49 MB / 0.91 GB, free: 145.7 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005827/1.458, allocations: 2.011 MB / 0.912 GB, free: 145.4 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006943/1.459, allocations: 61.69 kB / 0.912 GB, free: 145.3 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01902/1.478, allocations: 12.58 MB / 0.9243 GB, free: 139.1 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.211e-05/1.478, allocations: 8.156 kB / 0.9243 GB, free: 139.1 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.123/1.601, allocations: 75.66 MB / 0.9982 GB, free: 75.97 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00172/1.603, allocations: 0.638 MB / 0.9988 GB, free: 75.31 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001642/1.605, allocations: 51.98 kB / 0.9989 GB, free: 75.26 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00338/1.608, allocations: 203.7 kB / 0.9991 GB, free: 75.06 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009091/1.609, allocations: 173.6 kB / 0.9992 GB, free: 74.89 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000414/1.609, allocations: 79.77 kB / 0.9993 GB, free: 74.82 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.006395/1.616, allocations: 4.3 MB / 1.004 GB, free: 70.53 MB / 0.5261 GB Notification: Performance of sort global known variables: time 3.5e-07/1.616, allocations: 0 / 1.004 GB, free: 70.53 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.008797/1.625, allocations: 2.225 MB / 1.006 GB, free: 68.3 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 (232): * Single equations (assignments): 227 * 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 {(4,17,75.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.0006588/1.625, allocations: 201.5 kB / 1.006 GB, free: 68.11 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.01104/1.636, allocations: 8.761 MB / 1.014 GB, free: 59.4 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 1.195e-05/1.636, allocations: 2.406 kB / 1.014 GB, free: 59.4 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.00544/1.642, allocations: 3.547 MB / 1.018 GB, free: 55.84 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005142/1.647, allocations: 0.7078 MB / 1.019 GB, free: 55.14 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02679/1.674, allocations: 20.66 MB / 1.039 GB, free: 34.37 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006297/1.68, allocations: 4.731 MB / 1.043 GB, free: 29.6 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.007059/1.687, allocations: 2.855 MB / 1.046 GB, free: 26.73 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001732/1.689, allocations: 399.4 kB / 1.047 GB, free: 26.34 MB / 0.5261 GB Notification: Performance of SimCode: time 6.71e-07/1.689, allocations: 2.953 kB / 1.047 GB, free: 26.34 MB / 0.5261 GB Notification: Performance of Templates: time 0.3941/2.083, allocations: 85.07 MB / 1.13 GB, free: 146.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/jenkins/ws/OpenModelicaLibraryTestingWork@2/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