Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.DifferentiationOfForces.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0009778/0.0009778, allocations: 83.69 kB / 20.67 MB, free: 3.887 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001249/0.001249, allocations: 170 kB / 23.95 MB, free: 0.6094 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9129/0.9129, allocations: 177.1 MB / 204.3 MB, free: 5.734 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2505/0.2505, allocations: 34.25 MB / 294.9 MB, free: 0.6992 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.DifferentiationOfForces,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_MultiBody_Forces_DifferentiationOfForces",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.DifferentiationOfForces,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_MultiBody_Forces_DifferentiationOfForces",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.763e-06/1.763e-06, allocations: 0 / 442.2 MB, free: 1.66 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.928e-05/2.104e-05, allocations: 2.281 kB / 442.2 MB, free: 1.656 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.DifferentiationOfForces): time 0.1861/0.1861, allocations: 8.423 MB / 450.6 MB, free: 39.82 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.005779/0.1919, allocations: 3.64 MB / 454.2 MB, free: 37.57 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001221/0.1931, allocations: 60.31 kB / 454.3 MB, free: 37.55 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002829/0.1959, allocations: 2.818 MB / 457.1 MB, free: 36.37 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003293/0.1992, allocations: 1.721 MB / 458.8 MB, free: 35.58 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001106/0.2003, allocations: 0.7633 MB / 459.6 MB, free: 35.27 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.003302/0.2036, allocations: 4.292 MB / 463.9 MB, free: 33.61 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002804/0.2064, allocations: 3.026 MB / 466.9 MB, free: 32.25 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002429/0.2089, allocations: 2.129 MB / 469.1 MB, free: 31.32 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001964/0.2108, allocations: 2.026 MB / 471.1 MB, free: 30.75 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0005562/0.2114, allocations: 322.1 kB / 471.4 MB, free: 30.75 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001233/0.2126, allocations: 1.146 MB / 472.5 MB, free: 30.55 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0008818/0.2135, allocations: 1.865 MB / 474.4 MB, free: 29.74 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001121/0.2146, allocations: 1.225 MB / 475.6 MB, free: 29.13 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.006129/0.2207, allocations: 6.94 MB / 482.6 MB, free: 26.77 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.441e-06/0.2207, allocations: 0.7031 kB / 482.6 MB, free: 26.77 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.563e-06/0.2207, allocations: 1.219 kB / 482.6 MB, free: 26.77 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0002691/0.221, allocations: 0 / 482.6 MB, free: 26.77 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: 1367 * Number of variables: 1367 Notification: Performance of Generate backend data structure: time 0.01167/0.2327, allocations: 4.523 MB / 487.1 MB, free: 24.25 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.163e-05/0.2327, allocations: 9.75 kB / 487.1 MB, free: 24.25 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001177/0.2339, allocations: 0.6623 MB / 487.8 MB, free: 23.91 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0406/0.2745, allocations: 7.277 MB / 495 MB, free: 22.95 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006807/0.2813, allocations: 2.449 MB / 497.5 MB, free: 21.43 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001995/0.2815, allocations: 216.6 kB / 497.7 MB, free: 21.33 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001236/0.2828, allocations: 294 kB / 498 MB, free: 21.23 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01504/0.2978, allocations: 8.722 MB / 0.4948 GB, free: 15.64 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001692/0.298, allocations: 43.64 kB / 0.4949 GB, free: 15.6 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004628/0.2984, allocations: 139.9 kB / 0.495 GB, free: 15.46 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00158/0.3, allocations: 1.653 MB / 0.4966 GB, free: 13.8 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008588/0.3086, allocations: 7.07 MB / 0.5035 GB, free: 6.73 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03125/0.3398, allocations: 32.04 MB / 0.5348 GB, free: 5.723 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003149/0.343, allocations: 1.885 MB / 0.5367 GB, free: 3.812 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001126/0.3441, allocations: 1.121 MB / 0.5378 GB, free: 2.68 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002097/0.3443, allocations: 100.2 kB / 0.5378 GB, free: 2.582 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.125e-05/0.3444, allocations: 51.05 kB / 0.5379 GB, free: 2.523 MB / 442.7 MB Notification: Performance of pre-optimization done (n=122): time 3.877e-06/0.3444, allocations: 0 / 0.5379 GB, free: 2.523 MB / 442.7 MB Notification: Performance of matching and sorting (n=140): time 0.01762/0.362, allocations: 10.88 MB / 0.5485 GB, free: 7.574 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.477e-05/0.3621, allocations: 192.6 kB / 0.5487 GB, free: 7.34 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004893/0.367, allocations: 3.968 MB / 0.5526 GB, free: 3.371 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002975/0.3673, allocations: 45.7 kB / 0.5526 GB, free: 3.32 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001443/0.3687, allocations: 2.928 MB / 0.5555 GB, free: 372 kB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006275/0.3693, allocations: 0.5662 MB / 0.556 GB, free: 15.79 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001166/0.3705, allocations: 1.064 MB / 0.5571 GB, free: 14.71 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001016/0.3706, allocations: 305.1 kB / 0.5574 GB, free: 14.41 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002314/0.3729, allocations: 1.693 MB / 0.559 GB, free: 12.71 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003788/0.3767, allocations: 5.122 MB / 0.564 GB, free: 5.879 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00654/0.3832, allocations: 7.338 MB / 0.5712 GB, free: 12.87 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001077/0.3833, allocations: 36.88 kB / 0.5712 GB, free: 12.84 MB / 490.7 MB Notification: Performance of matching and sorting (n=682) (initialization): time 0.00995/0.3933, allocations: 6.739 MB / 0.5778 GB, free: 6.09 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.346e-05/0.3934, allocations: 56.94 kB / 0.5779 GB, free: 6.035 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001344/0.3935, allocations: 120 kB / 0.578 GB, free: 5.918 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006969/0.3942, allocations: 432.5 kB / 0.5784 GB, free: 5.492 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002515/0.3967, allocations: 1.205 MB / 0.5796 GB, free: 4.285 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003393/0.4001, allocations: 3.514 MB / 0.583 GB, free: 0.6641 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002967/0.4031, allocations: 315.7 kB / 0.5833 GB, free: 364 kB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004402/0.4035, allocations: 328 kB / 0.5836 GB, free: 36 kB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 544 * Number of states: 0 () * Number of discrete variables: 36 (forceAndTorque.torqueArrow.twoHeadedArrow,forceAndTorque.torqueArrow.headAtOrigin,forceAndTorque.forceArrow.twoHeadedArrow,forceAndTorque.forceArrow.headAtOrigin,cutForce.forceArrow.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 (644): * Single equations (assignments): 640 * 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,14,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002632/0.4062, allocations: 1.951 MB / 0.5855 GB, free: 14.07 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004623/0.4066, allocations: 321.8 kB / 0.5858 GB, free: 13.75 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002185/0.4088, allocations: 1.878 MB / 0.5877 GB, free: 11.86 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.933e-05/0.4088, allocations: 16 kB / 0.5877 GB, free: 11.85 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.394e-06/0.4088, allocations: 0 / 0.5877 GB, free: 11.85 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.054e-05/0.4088, allocations: 11.97 kB / 0.5877 GB, free: 11.84 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007477/0.4163, allocations: 5.604 MB / 0.5932 GB, free: 6.176 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.973e-06/0.4163, allocations: 0 / 0.5932 GB, free: 6.176 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007318/0.4171, allocations: 211.7 kB / 0.5934 GB, free: 5.969 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004517/0.4175, allocations: 252.6 kB / 0.5936 GB, free: 5.719 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.348e-05/0.4176, allocations: 35.86 kB / 0.5936 GB, free: 5.684 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002415/0.42, allocations: 3.09 MB / 0.5966 GB, free: 2.484 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.164e-06/0.42, allocations: 0 / 0.5966 GB, free: 2.484 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004308/0.4243, allocations: 3.956 MB / 0.6005 GB, free: 14.5 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007541/0.4251, allocations: 325.7 kB / 0.6008 GB, free: 14.18 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002482/0.4253, allocations: 16 kB / 0.6008 GB, free: 14.16 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007167/0.426, allocations: 99.86 kB / 0.6009 GB, free: 14.06 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002018/0.4262, allocations: 108.4 kB / 0.601 GB, free: 13.96 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.618e-05/0.4263, allocations: 39.98 kB / 0.6011 GB, free: 13.92 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.003069/0.4294, allocations: 2.375 MB / 0.6034 GB, free: 11.55 MB / 0.5105 GB Notification: Performance of sort global known variables: time 2.21e-07/0.4294, allocations: 4.062 kB / 0.6034 GB, free: 11.55 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.003845/0.4332, allocations: 0.9178 MB / 0.6043 GB, free: 10.63 MB / 0.5105 GB 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.004397/0.4376, allocations: 4.593 MB / 0.6088 GB, free: 6.004 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.005422/0.443, allocations: 3.967 MB / 0.6126 GB, free: 2.055 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 3.867e-06/0.443, allocations: 0 / 0.6126 GB, free: 2.055 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.001227/0.4443, allocations: 1.11 MB / 0.6137 GB, free: 0.9336 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002018/0.4463, allocations: 409.1 kB / 0.6141 GB, free: 0.543 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2147/0.661, allocations: 38.37 MB / 0.6516 GB, free: 159.3 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001808/0.6628, allocations: 2.486 MB / 0.654 GB, free: 158.7 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.002173/0.665, allocations: 1.721 MB / 0.6557 GB, free: 158.6 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001171/0.6662, allocations: 1.672 MB / 0.6573 GB, free: 157.3 MB / 0.5417 GB Notification: Performance of SimCode: time 9.61e-07/0.6662, allocations: 0 / 0.6573 GB, free: 157.3 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08031/0.7465, allocations: 58.31 MB / 0.7143 GB, free: 130.1 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.984/9.73, allocations: 6.641 kB / 0.7143 GB, free: 130.1 MB / 0.5417 GB " [Timeout remaining time 650] (rm -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.DifferentiationOfForces.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.DifferentiationOfForces.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.DifferentiationOfForces.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.DifferentiationOfForces.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.DifferentiationOfForces_res.csv --start-time 0 --stop-time 1.1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.000219912 ModelicaTest_4_1_0_ModelicaTest_MultiBody_Forces_DifferentiationOfForces.fmu > ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.DifferentiationOfForces.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.DifferentiationOfForces_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Forces/DifferentiationOfForces/DifferentiationOfForces.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.DifferentiationOfForces.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 11.899994284845889]