Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameForces.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.FrameForces,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Revolute1.phi|Revolute1.w|Revolute2.phi|Revolute2.w",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameForces") translateModel(ModelicaTest.MultiBody.Forces.FrameForces,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Revolute1.phi|Revolute1.w|Revolute2.phi|Revolute2.w",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameForces") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001061/0.001062, allocations: 187 kB / 16.63 MB, free: 5.137 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.296/1.296, allocations: 205.1 MB / 222.5 MB, free: 8.473 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.001026/0.001026, allocations: 107.9 kB / 269.9 MB, free: 8.43 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.368/0.368, allocations: 43.49 MB / 360.7 MB, free: 51.23 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0009846/0.0009847, allocations: 59.91 kB / 429.2 MB, free: 6.383 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1256/0.1266, allocations: 57.76 MB / 487 MB, free: 12.56 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.FrameForces): time 0.3329/0.4595, allocations: 73.19 MB / 0.5471 GB, free: 17.79 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.0337/0.4933, allocations: 14.51 MB / 0.5612 GB, free: 8.137 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01548/0.5088, allocations: 316.7 kB / 0.5615 GB, free: 8.09 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.006276/0.5151, allocations: 3.746 MB / 0.5652 GB, free: 6.355 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.006309/0.5215, allocations: 2.228 MB / 0.5674 GB, free: 5.352 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002141/0.5237, allocations: 0.9256 MB / 0.5683 GB, free: 4.961 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.01388/0.5376, allocations: 8.6 MB / 0.5767 GB, free: 2.48 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007778/0.5454, allocations: 4.626 MB / 0.5812 GB, free: 0.793 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00338/0.5488, allocations: 1.857 MB / 0.583 GB, free: 52 kB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004281/0.5531, allocations: 3.019 MB / 0.586 GB, free: 14.32 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0007557/0.5538, allocations: 309.2 kB / 0.5862 GB, free: 14.32 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002697/0.5566, allocations: 1.427 MB / 0.5876 GB, free: 13.71 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002335/0.5589, allocations: 2.534 MB / 0.5901 GB, free: 11.91 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002921/0.5618, allocations: 2.819 MB / 0.5929 GB, free: 9.07 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.009107/0.571, allocations: 8.96 MB / 0.6016 GB, free: 84 kB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.209e-06/0.571, allocations: 0 / 0.6016 GB, free: 84 kB / 410.7 MB Notification: Performance of FrontEnd: time 2.946e-06/0.571, allocations: 0 / 0.6016 GB, free: 84 kB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0002165/0.5712, allocations: 3.938 kB / 0.6016 GB, free: 80 kB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1888 * Number of variables: 1888 Notification: Performance of Generate backend data structure: time 0.0133/0.5845, allocations: 6.385 MB / 0.6079 GB, free: 9.617 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.429e-05/0.5846, allocations: 12.03 kB / 0.6079 GB, free: 9.605 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01132/0.5959, allocations: 2.637 MB / 0.6104 GB, free: 6.957 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01053/0.6065, allocations: 3.953 MB / 0.6143 GB, free: 2.949 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002703/0.6068, allocations: 300.2 kB / 0.6146 GB, free: 2.656 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001293/0.6081, allocations: 407.5 kB / 0.615 GB, free: 2.258 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02226/0.6304, allocations: 12.62 MB / 0.6273 GB, free: 4.781 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001338/0.6306, allocations: 55.52 kB / 0.6274 GB, free: 4.727 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004353/0.631, allocations: 191.8 kB / 0.6275 GB, free: 4.539 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003766/0.6348, allocations: 2.401 MB / 0.6299 GB, free: 2.137 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02013/0.6549, allocations: 10.54 MB / 0.6402 GB, free: 7.574 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06124/0.7162, allocations: 48.82 MB / 0.6878 GB, free: 5.449 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01159/0.7279, allocations: 4.794 MB / 0.6925 GB, free: 0.5078 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.2398/0.9677, allocations: 2.434 MB / 0.6949 GB, free: 154 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01416/0.9819, allocations: 7.174 MB / 0.7019 GB, free: 151.1 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.52e-05/0.982, allocations: 53.97 kB / 0.702 GB, free: 151 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=181): time 4.709e-06/0.982, allocations: 0 / 0.702 GB, free: 151 MB / 0.4948 GB Notification: Performance of matching and sorting (n=193): time 0.04007/1.022, allocations: 17.98 MB / 0.7195 GB, free: 144.7 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.859e-05/1.022, allocations: 207.1 kB / 0.7197 GB, free: 144.5 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006759/1.029, allocations: 5.834 MB / 0.7254 GB, free: 142.4 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0002414/1.029, allocations: 55.67 kB / 0.7255 GB, free: 142.4 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.001818/1.031, allocations: 3.954 MB / 0.7293 GB, free: 139.3 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005577/1.032, allocations: 0.7694 MB / 0.7301 GB, free: 138.8 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001618/1.033, allocations: 1.508 MB / 0.7316 GB, free: 138.1 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 4.152e-05/1.033, allocations: 305.7 kB / 0.7318 GB, free: 137.8 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003397/1.037, allocations: 2.6 MB / 0.7344 GB, free: 136.9 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005911/1.043, allocations: 7.042 MB / 0.7413 GB, free: 130.1 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01106/1.054, allocations: 10.34 MB / 0.7514 GB, free: 121.4 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001548/1.054, allocations: 43.34 kB / 0.7514 GB, free: 121.4 MB / 0.4948 GB Notification: Performance of matching and sorting (n=964) (initialization): time 0.01704/1.071, allocations: 10.41 MB / 0.7616 GB, free: 117.6 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001105/1.071, allocations: 69.25 kB / 0.7616 GB, free: 117.6 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000175/1.071, allocations: 162.6 kB / 0.7618 GB, free: 117.6 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002741/1.074, allocations: 1.224 MB / 0.763 GB, free: 117.4 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004387/1.078, allocations: 1.705 MB / 0.7646 GB, free: 116.4 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0072/1.086, allocations: 7.776 MB / 0.7722 GB, free: 109.3 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004888/1.091, allocations: 402.1 kB / 0.7726 GB, free: 109 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005696/1.091, allocations: 455.1 kB / 0.7731 GB, free: 108.5 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 712 * Number of states: 0 () * Number of discrete variables: 45 (FixedRotation1.color[3],FixedRotation1.color[2],FixedRotation1.color[1],frameForce2.color[3],frameForce2.color[2],frameForce2.color[1],fixed2.color[3],fixed2.color[2],fixed2.color[1],BodyCylinder2.color[3],BodyCylinder2.color[2],BodyCylinder2.color[1],BodyCylinder2.body.sphereColor[3],BodyCylinder2.body.sphereColor[2],BodyCylinder2.body.sphereColor[1],Revolute2.cylinderColor[3],Revolute2.cylinderColor[2],Revolute2.cylinderColor[1],frameForce1.color[3],frameForce1.color[2],frameForce1.color[1],fixed1.color[3],fixed1.color[2],fixed1.color[1],BodyCylinder1.color[3],BodyCylinder1.color[2],BodyCylinder1.color[1],BodyCylinder1.body.sphereColor[3],BodyCylinder1.body.sphereColor[2],BodyCylinder1.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 (904): * Single equations (assignments): 897 * 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 {(1,13,100.0%), (2,12,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.00334/1.094, allocations: 2.627 MB / 0.7756 GB, free: 106.2 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009281/1.095, allocations: 477.7 kB / 0.7761 GB, free: 105.7 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006389/1.102, allocations: 3.98 MB / 0.78 GB, free: 102.3 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.331e-05/1.102, allocations: 23.94 kB / 0.78 GB, free: 102.3 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.796e-05/1.102, allocations: 4 kB / 0.78 GB, free: 102.3 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.497e-05/1.102, allocations: 15.95 kB / 0.78 GB, free: 102.3 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01711/1.119, allocations: 9.288 MB / 0.7891 GB, free: 92.94 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.403e-05/1.119, allocations: 11.19 kB / 0.7891 GB, free: 92.93 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001542/1.121, allocations: 355.5 kB / 0.7894 GB, free: 92.58 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002273/1.123, allocations: 0.9938 MB / 0.7904 GB, free: 91.58 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001211/1.123, allocations: 38.83 kB / 0.7904 GB, free: 91.55 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00644/1.129, allocations: 7.096 MB / 0.7974 GB, free: 84.19 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.546e-06/1.129, allocations: 7.938 kB / 0.7974 GB, free: 84.18 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.05047/1.18, allocations: 35.61 MB / 0.8321 GB, free: 48.07 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001663/1.182, allocations: 0.8268 MB / 0.833 GB, free: 47.22 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004341/1.182, allocations: 36.06 kB / 0.833 GB, free: 47.18 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00161/1.184, allocations: 119.8 kB / 0.8331 GB, free: 47.07 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002887/1.184, allocations: 117.1 kB / 0.8332 GB, free: 46.95 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001148/1.184, allocations: 47.98 kB / 0.8333 GB, free: 46.91 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.004526/1.189, allocations: 3.737 MB / 0.8369 GB, free: 43.2 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1.6e-07/1.189, allocations: 5.219 kB / 0.8369 GB, free: 43.19 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.006938/1.196, allocations: 1.694 MB / 0.8386 GB, free: 41.5 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 13 * Number of states: 4 (Revolute1.phi,Revolute1.w,Revolute2.phi,Revolute2.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 (154): * Single equations (assignments): 149 * 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 {(1,10,100.0%), (1,10,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0004388/1.196, allocations: 164.3 kB / 0.8387 GB, free: 41.34 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.008172/1.204, allocations: 6.224 MB / 0.8448 GB, free: 35.12 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 6.001e-06/1.204, allocations: 1 kB / 0.8448 GB, free: 35.12 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.001947/1.206, allocations: 1.879 MB / 0.8466 GB, free: 33.21 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003604/1.21, allocations: 0.5817 MB / 0.8472 GB, free: 32.64 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01979/1.23, allocations: 15.92 MB / 0.8627 GB, free: 16.63 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004559/1.234, allocations: 4.083 MB / 0.8667 GB, free: 12.52 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.005709/1.24, allocations: 2.299 MB / 0.869 GB, free: 10.21 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008939/1.241, allocations: 319.4 kB / 0.8693 GB, free: 9.898 MB / 0.4948 GB Notification: Performance of SimCode: time 1.533e-06/1.241, allocations: 4 kB / 0.8693 GB, free: 9.895 MB / 0.4948 GB Notification: Performance of Templates: time 0.3632/1.604, allocations: 54.93 MB / 0.9229 GB, free: 124 MB / 0.4948 GB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameForces.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameForces.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameForces.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameForces.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameForces.sim & ./ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameForces -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameForces.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameForces_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Forces/FrameForces/FrameForces.csv","../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameForces.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches