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/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 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 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) 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_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001139/0.001138, allocations: 113.4 kB / 17.78 MB, free: 5.289 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.001141/0.001141, allocations: 188.1 kB / 18.71 MB, free: 4.363 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.316/1.316, allocations: 222.9 MB / 242.4 MB, free: 15.12 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1979/0.1979, allocations: 44.18 MB / 336.7 MB, free: 2.676 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00129/0.00129, allocations: 67.91 kB / 470.5 MB, free: 13.17 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3322/0.3335, allocations: 60.82 MB / 0.5189 GB, free: 3.621 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.Force): time 0.01476/0.3483, allocations: 15.75 MB / 0.5343 GB, free: 8.164 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01136/0.3597, allocations: 4.947 MB / 0.5391 GB, free: 4.25 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0029/0.3626, allocations: 106.9 kB / 0.5392 GB, free: 4.23 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00836/0.371, allocations: 5.028 MB / 0.5441 GB, free: 0.8711 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00642/0.3775, allocations: 2.547 MB / 0.5466 GB, free: 15.02 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002491/0.38, allocations: 1.104 MB / 0.5477 GB, free: 14.26 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.009557/0.3896, allocations: 6.881 MB / 0.5544 GB, free: 7.613 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005987/0.3956, allocations: 5.815 MB / 0.5601 GB, free: 1.723 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003652/0.3993, allocations: 2.434 MB / 0.5625 GB, free: 15.28 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004159/0.4035, allocations: 3.271 MB / 0.5657 GB, free: 12 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001093/0.4046, allocations: 0.5156 MB / 0.5662 GB, free: 11.48 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002596/0.4072, allocations: 1.416 MB / 0.5676 GB, free: 10.07 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002589/0.4098, allocations: 3.067 MB / 0.5705 GB, free: 6.992 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003241/0.413, allocations: 3.433 MB / 0.5739 GB, free: 3.539 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01161/0.4247, allocations: 10.65 MB / 0.5843 GB, free: 8.855 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.022e-06/0.4247, allocations: 0 / 0.5843 GB, free: 8.855 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.4247, allocations: 0 / 0.5843 GB, free: 8.855 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0003065/0.425, allocations: 4 kB / 0.5843 GB, free: 8.852 MB / 446.1 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.01583/0.4409, allocations: 7.518 MB / 0.5916 GB, free: 1.246 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.819e-05/0.4409, allocations: 8.031 kB / 0.5917 GB, free: 1.238 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01283/0.4538, allocations: 2.761 MB / 0.5943 GB, free: 14.46 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009408/0.4632, allocations: 4.382 MB / 0.5986 GB, free: 9.996 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000273/0.4635, allocations: 361.7 kB / 0.599 GB, free: 9.641 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001521/0.465, allocations: 483.6 kB / 0.5994 GB, free: 9.168 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0261/0.4911, allocations: 15.05 MB / 0.6141 GB, free: 9.117 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002119/0.4914, allocations: 71.36 kB / 0.6142 GB, free: 9.047 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006614/0.4921, allocations: 231.8 kB / 0.6144 GB, free: 8.82 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004928/0.497, allocations: 2.867 MB / 0.6172 GB, free: 5.945 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02396/0.521, allocations: 12.81 MB / 0.6297 GB, free: 9.109 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07175/0.5928, allocations: 58.84 MB / 0.6872 GB, free: 12.79 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01773/0.6106, allocations: 7.278 MB / 0.6943 GB, free: 5.355 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004725/0.6153, allocations: 3.899 MB / 0.6981 GB, free: 1.445 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01353/0.6289, allocations: 9.012 MB / 0.7069 GB, free: 8.27 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.486e-05/0.629, allocations: 60.56 kB / 0.707 GB, free: 8.199 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=246): time 4.579e-06/0.629, allocations: 4 kB / 0.707 GB, free: 8.195 MB / 0.5606 GB Notification: Performance of matching and sorting (n=288): time 0.3229/0.9519, allocations: 32.85 MB / 0.7391 GB, free: 160.9 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.674e-05/0.952, allocations: 240.4 kB / 0.7393 GB, free: 160.6 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007369/0.9594, allocations: 6.709 MB / 0.7458 GB, free: 157.7 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0006075/0.96, allocations: 73.25 kB / 0.7459 GB, free: 157.7 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.002076/0.9621, allocations: 4.467 MB / 0.7503 GB, free: 153.8 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.001177/0.9633, allocations: 1.096 MB / 0.7513 GB, free: 152.9 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001977/0.9653, allocations: 1.799 MB / 0.7531 GB, free: 151.6 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 4.345e-05/0.9654, allocations: 304.8 kB / 0.7534 GB, free: 151.3 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0037/0.9691, allocations: 3.624 MB / 0.7569 GB, free: 147.7 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004957/0.974, allocations: 8.661 MB / 0.7654 GB, free: 136.6 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01037/0.9844, allocations: 13.22 MB / 0.7783 GB, free: 120.9 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001245/0.9846, allocations: 48 kB / 0.7783 GB, free: 120.9 MB / 0.5606 GB Notification: Performance of matching and sorting (n=1144) (initialization): time 0.02384/1.008, allocations: 14.09 MB / 0.7921 GB, free: 106.8 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001867/1.009, allocations: 80 kB / 0.7922 GB, free: 106.7 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000225/1.009, allocations: 176 kB / 0.7923 GB, free: 106.5 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005388/1.014, allocations: 2.263 MB / 0.7946 GB, free: 104.3 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006064/1.02, allocations: 2.021 MB / 0.7965 GB, free: 102.2 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01403/1.034, allocations: 14.21 MB / 0.8104 GB, free: 87.77 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006347/1.041, allocations: 0.5148 MB / 0.8109 GB, free: 87.25 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001238/1.042, allocations: 0.5111 MB / 0.8114 GB, free: 86.74 MB / 0.5606 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.004672/1.047, allocations: 3.048 MB / 0.8144 GB, free: 83.68 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001334/1.048, allocations: 0.5553 MB / 0.8149 GB, free: 83.12 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0117/1.06, allocations: 7.228 MB / 0.822 GB, free: 75.88 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.721e-05/1.06, allocations: 32 kB / 0.822 GB, free: 75.84 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.12e-05/1.06, allocations: 8 kB / 0.822 GB, free: 75.84 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.739e-05/1.06, allocations: 19.89 kB / 0.822 GB, free: 75.82 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02491/1.085, allocations: 15.08 MB / 0.8368 GB, free: 60.7 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.106e-05/1.085, allocations: 8.094 kB / 0.8368 GB, free: 60.69 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002237/1.087, allocations: 491.2 kB / 0.8372 GB, free: 60.21 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00462/1.092, allocations: 2.022 MB / 0.8392 GB, free: 58.18 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004441/1.092, allocations: 48 kB / 0.8393 GB, free: 58.13 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01371/1.106, allocations: 13.58 MB / 0.8525 GB, free: 44.28 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.388e-06/1.106, allocations: 8 kB / 0.8525 GB, free: 44.27 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01448/1.121, allocations: 11.49 MB / 0.8638 GB, free: 32.62 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001962/1.123, allocations: 0.6351 MB / 0.8644 GB, free: 31.96 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009799/1.124, allocations: 55.94 kB / 0.8644 GB, free: 31.91 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002452/1.126, allocations: 203.7 kB / 0.8646 GB, free: 31.71 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004863/1.126, allocations: 177.6 kB / 0.8648 GB, free: 31.54 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001969/1.127, allocations: 83.42 kB / 0.8649 GB, free: 31.46 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.005444/1.132, allocations: 4.293 MB / 0.8691 GB, free: 27.18 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.9e-07/1.132, allocations: 4 kB / 0.8691 GB, free: 27.17 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.00731/1.139, allocations: 1.627 MB / 0.8707 GB, free: 25.55 MB / 0.5606 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.0005732/1.14, allocations: 189.3 kB / 0.8708 GB, free: 25.36 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.01058/1.151, allocations: 8.794 MB / 0.8794 GB, free: 16.57 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 9.207e-06/1.151, allocations: 3.938 kB / 0.8794 GB, free: 16.57 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.004903/1.156, allocations: 3.481 MB / 0.8828 GB, free: 13.06 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004038/1.16, allocations: 0.7509 MB / 0.8836 GB, free: 12.33 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02045/1.18, allocations: 15.12 MB / 0.8983 GB, free: 13.14 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005055/1.185, allocations: 4.628 MB / 0.9028 GB, free: 8.469 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.00596/1.191, allocations: 2.802 MB / 0.9056 GB, free: 5.656 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001372/1.193, allocations: 379.4 kB / 0.9059 GB, free: 5.285 MB / 0.5762 GB Notification: Performance of SimCode: time 2.324e-06/1.193, allocations: 4 kB / 0.9059 GB, free: 5.281 MB / 0.5762 GB Notification: Performance of Templates: time 0.3654/1.558, allocations: 63.46 MB / 0.9679 GB, free: 189 MB / 0.6075 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/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Forces/Force/Force.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.Force.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches