Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.DifferentiationOfForces.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.DifferentiationOfForces,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|rev.phi|rev.w",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.DifferentiationOfForces") translateModel(ModelicaTest.MultiBody.Forces.DifferentiationOfForces,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|rev.phi|rev.w",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.DifferentiationOfForces") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001144/0.001144, 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.377/1.377, allocations: 222.9 MB / 241.6 MB, free: 10.99 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.0009738/0.0009738, allocations: 103.3 kB / 291.9 MB, free: 10.95 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.3293/0.3293, allocations: 44.13 MB / 386.1 MB, free: 38.04 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.00118/0.001181, allocations: 51.92 kB / 457.7 MB, free: 2.332 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3344/0.3356, allocations: 60.82 MB / 0.5064 GB, free: 38.25 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.DifferentiationOfForces): time 0.03409/0.3697, allocations: 51.79 MB / 0.557 GB, free: 1.25 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0234/0.3932, allocations: 10.92 MB / 0.5676 GB, free: 9.98 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01015/0.4034, allocations: 217.2 kB / 0.5678 GB, free: 9.949 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.005621/0.409, allocations: 2.788 MB / 0.5706 GB, free: 8.656 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.005066/0.4142, allocations: 1.592 MB / 0.5721 GB, free: 7.977 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002192/0.4164, allocations: 0.6456 MB / 0.5727 GB, free: 7.711 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.009376/0.4258, allocations: 5.857 MB / 0.5785 GB, free: 5.773 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005758/0.4316, allocations: 3.689 MB / 0.5821 GB, free: 2.398 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003695/0.4353, allocations: 1.273 MB / 0.5833 GB, free: 1.121 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003539/0.4389, allocations: 2.091 MB / 0.5853 GB, free: 15.02 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001005/0.4399, allocations: 232 kB / 0.5856 GB, free: 14.8 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002774/0.4427, allocations: 1.182 MB / 0.5867 GB, free: 13.61 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001971/0.4447, allocations: 1.769 MB / 0.5885 GB, free: 11.84 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002155/0.4469, allocations: 2.042 MB / 0.5904 GB, free: 9.785 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.007236/0.4542, allocations: 6.721 MB / 0.597 GB, free: 3.043 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.201e-06/0.4542, allocations: 0 / 0.597 GB, free: 3.043 MB / 410.7 MB Notification: Performance of FrontEnd: time 3.055e-06/0.4542, allocations: 8 kB / 0.597 GB, free: 3.035 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0001946/0.4544, allocations: 3.938 kB / 0.597 GB, free: 3.031 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1454 * Number of variables: 1454 Notification: Performance of Generate backend data structure: time 0.009111/0.4635, allocations: 4.517 MB / 0.6014 GB, free: 14.45 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.002e-05/0.4636, allocations: 8.031 kB / 0.6014 GB, free: 14.44 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01586/0.4795, allocations: 2.464 MB / 0.6038 GB, free: 11.97 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006211/0.4857, allocations: 2.499 MB / 0.6063 GB, free: 9.406 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001613/0.4859, allocations: 230.2 kB / 0.6065 GB, free: 9.18 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008149/0.4867, allocations: 307.9 kB / 0.6068 GB, free: 8.879 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01344/0.5002, allocations: 9.289 MB / 0.6159 GB, free: 14.96 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.847e-05/0.5003, allocations: 39.66 kB / 0.6159 GB, free: 14.92 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003722/0.5007, allocations: 143.9 kB / 0.616 GB, free: 14.78 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002852/0.5035, allocations: 1.841 MB / 0.6178 GB, free: 12.93 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01397/0.5175, allocations: 7.678 MB / 0.6253 GB, free: 5.227 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04221/0.5598, allocations: 34.88 MB / 0.6594 GB, free: 1.285 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004583/0.5644, allocations: 2.44 MB / 0.6618 GB, free: 14.7 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001678/0.5661, allocations: 1.278 MB / 0.663 GB, free: 13.41 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003532/0.5665, allocations: 327.7 kB / 0.6633 GB, free: 13.03 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.339e-05/0.5666, allocations: 51.06 kB / 0.6634 GB, free: 12.97 MB / 490.7 MB Notification: Performance of pre-optimization done (n=122): time 3.496e-06/0.5666, allocations: 0 / 0.6634 GB, free: 12.97 MB / 490.7 MB Notification: Performance of matching and sorting (n=140): time 0.02718/0.5937, allocations: 11.65 MB / 0.6748 GB, free: 1.168 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001159/0.5939, allocations: 196.7 kB / 0.675 GB, free: 0.9336 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.2499/0.8438, allocations: 3.622 MB / 0.6785 GB, free: 131.9 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002505/0.8441, allocations: 50.77 kB / 0.6786 GB, free: 131.8 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001244/0.8453, allocations: 2.943 MB / 0.6814 GB, free: 130 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004286/0.8458, allocations: 0.5532 MB / 0.682 GB, free: 129.6 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001089/0.8469, allocations: 1.123 MB / 0.6831 GB, free: 129.1 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 3.923e-05/0.8469, allocations: 301.8 kB / 0.6833 GB, free: 128.8 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002346/0.8493, allocations: 1.822 MB / 0.6851 GB, free: 128.2 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003521/0.8528, allocations: 5.25 MB / 0.6903 GB, free: 123.1 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007845/0.8607, allocations: 7.617 MB / 0.6977 GB, free: 116.6 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001336/0.8608, allocations: 36.75 kB / 0.6977 GB, free: 116.6 MB / 490.7 MB Notification: Performance of matching and sorting (n=710) (initialization): time 0.01124/0.8721, allocations: 7.302 MB / 0.7049 GB, free: 113.9 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.934e-05/0.8722, allocations: 59.38 kB / 0.7049 GB, free: 113.9 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001114/0.8723, allocations: 122.2 kB / 0.705 GB, free: 113.9 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00152/0.8738, allocations: 0.6759 MB / 0.7057 GB, free: 113.8 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003645/0.8775, allocations: 1.253 MB / 0.7069 GB, free: 113.7 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00446/0.882, allocations: 4.065 MB / 0.7109 GB, free: 111.3 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003671/0.8857, allocations: 303.7 kB / 0.7112 GB, free: 111.2 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006377/0.8863, allocations: 342.9 kB / 0.7115 GB, free: 111.2 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 553 * Number of states: 0 () * Number of discrete variables: 36 (forceAndTorque.torqueArrow.arrowLine.twoHeadedArrow,forceAndTorque.torqueArrow.headAtOrigin,forceAndTorque.forceArrow.arrowLine.twoHeadedArrow,forceAndTorque.forceArrow.headAtOrigin,cutForce.forceArrow.arrowLine.twoHeadedArrow,cutForce.forceArrow.headAtOrigin,forceAndTorque.torqueColor[3],forceAndTorque.torqueColor[2],forceAndTorque.torqueColor[1],forceAndTorque.forceColor[3],forceAndTorque.forceColor[2],forceAndTorque.forceColor[1],cutForce.forceColor[3],cutForce.forceColor[2],cutForce.forceColor[1],body.color[3],body.color[2],body.color[1],body.body.sphereColor[3],body.body.sphereColor[2],body.body.sphereColor[1],rev.cylinderColor[3],rev.cylinderColor[2],rev.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 (672): * Single equations (assignments): 668 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,13,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002834/0.8892, allocations: 2.039 MB / 0.7135 GB, free: 110.2 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005666/0.8898, allocations: 305.1 kB / 0.7138 GB, free: 110 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004063/0.8938, allocations: 2.249 MB / 0.716 GB, free: 109.3 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.583e-05/0.8939, allocations: 18.31 kB / 0.716 GB, free: 109.3 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.007e-06/0.8939, allocations: 3.625 kB / 0.716 GB, free: 109.3 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.161e-05/0.8939, allocations: 4.141 kB / 0.716 GB, free: 109.3 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0111/0.905, allocations: 6.299 MB / 0.7222 GB, free: 107.1 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.07e-05/0.9051, allocations: 5.062 kB / 0.7222 GB, free: 107.1 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001064/0.9061, allocations: 220.9 kB / 0.7224 GB, free: 107 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001425/0.9076, allocations: 0.5029 MB / 0.7229 GB, free: 106.9 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.925e-05/0.9077, allocations: 31.27 kB / 0.7229 GB, free: 106.9 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003818/0.9115, allocations: 3.634 MB / 0.7264 GB, free: 104.7 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.344e-06/0.9115, allocations: 0 / 0.7264 GB, free: 104.7 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02803/0.9395, allocations: 19.81 MB / 0.7458 GB, free: 91.51 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005/0.9401, allocations: 357 kB / 0.7461 GB, free: 91.14 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002889/0.9404, allocations: 24 kB / 0.7461 GB, free: 91.11 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001076/0.9415, allocations: 79.89 kB / 0.7462 GB, free: 91.04 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002725/0.9417, allocations: 105.1 kB / 0.7463 GB, free: 90.93 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.824e-05/0.9418, allocations: 43.97 kB / 0.7464 GB, free: 90.89 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.002544/0.9444, allocations: 2.254 MB / 0.7486 GB, free: 88.65 MB / 490.7 MB Notification: Performance of sort global known variables: time 2.4e-07/0.9444, allocations: 0 / 0.7486 GB, free: 88.65 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.004068/0.9485, allocations: 1.116 MB / 0.7497 GB, free: 87.54 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 2 (rev.phi,rev.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 (107): * Single equations (assignments): 103 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,11,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002913/0.9488, allocations: 153.5 kB / 0.7498 GB, free: 87.38 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.00537/0.9541, allocations: 4.323 MB / 0.754 GB, free: 83.08 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 3.216e-06/0.9542, allocations: 4 kB / 0.754 GB, free: 83.07 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00142/0.9556, allocations: 1.226 MB / 0.7552 GB, free: 81.84 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001939/0.9575, allocations: 398.5 kB / 0.7556 GB, free: 81.46 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01197/0.9695, allocations: 11.29 MB / 0.7666 GB, free: 70.11 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002452/0.972, allocations: 3.199 MB / 0.7698 GB, free: 66.88 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.003615/0.9756, allocations: 1.737 MB / 0.7715 GB, free: 65.14 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005183/0.9762, allocations: 211.4 kB / 0.7717 GB, free: 64.94 MB / 490.7 MB Notification: Performance of SimCode: time 9.02e-07/0.9762, allocations: 0 / 0.7717 GB, free: 64.94 MB / 490.7 MB Notification: Performance of Templates: time 0.04807/1.024, allocations: 33 MB / 0.8039 GB, free: 32.1 MB / 490.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.DifferentiationOfForces.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.DifferentiationOfForces.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.DifferentiationOfForces.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.DifferentiationOfForces.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.DifferentiationOfForces.sim & ./ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.DifferentiationOfForces -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.DifferentiationOfForces.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.DifferentiationOfForces_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Forces/DifferentiationOfForces/DifferentiationOfForces.csv","../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.DifferentiationOfForces.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches