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.001455/0.001455, allocations: 113.1 kB / 20.43 MB, free: 1.457 MB / 14.72 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.001491/0.001491, allocations: 214.4 kB / 23.75 MB, free: 4.668 MB / 14.72 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 1.528/1.528, allocations: 230.6 MB / 257.5 MB, free: 8.02 MB / 206.1 MB " [Timeout remaining time 178] 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.2251/0.2251, allocations: 46.94 MB / 360.9 MB, free: 4.375 MB / 286.1 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 0.002002/0.002002, allocations: 71.89 kB / 0.4962 GB, free: 7.914 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3394/0.3414, allocations: 66.04 MB / 0.5607 GB, free: 4.484 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.DifferentiationOfForces): time 0.01152/0.353, allocations: 9.568 MB / 0.57 GB, free: 10.87 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.007339/0.3603, allocations: 3.87 MB / 0.5738 GB, free: 6.988 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001069/0.3614, allocations: 67.69 kB / 0.5738 GB, free: 6.922 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004996/0.3664, allocations: 2.804 MB / 0.5766 GB, free: 4.109 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003982/0.3704, allocations: 1.662 MB / 0.5782 GB, free: 2.441 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001654/0.372, allocations: 0.7135 MB / 0.5789 GB, free: 1.727 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.005559/0.3776, allocations: 3.899 MB / 0.5827 GB, free: 13.82 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003412/0.381, allocations: 2.768 MB / 0.5854 GB, free: 10.98 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002147/0.3831, allocations: 1.425 MB / 0.5868 GB, free: 9.555 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003103/0.3862, allocations: 2.052 MB / 0.5888 GB, free: 7.496 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007859/0.387, allocations: 316 kB / 0.5891 GB, free: 7.188 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002772/0.3898, allocations: 1.225 MB / 0.5903 GB, free: 5.961 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002118/0.3919, allocations: 1.788 MB / 0.5921 GB, free: 4.168 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002743/0.3947, allocations: 2.082 MB / 0.5941 GB, free: 2.074 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008389/0.403, allocations: 6.86 MB / 0.6008 GB, free: 11.19 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.418e-06/0.403, allocations: 3.984 kB / 0.6008 GB, free: 11.18 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.424e-06/0.4031, allocations: 0 / 0.6008 GB, free: 11.18 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0002035/0.4033, allocations: 0 / 0.6008 GB, free: 11.18 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: 1367 * Number of variables: 1367 Notification: Performance of Generate backend data structure: time 0.01109/0.4143, allocations: 4.508 MB / 0.6052 GB, free: 6.621 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.739e-05/0.4144, allocations: 8.031 kB / 0.6052 GB, free: 6.613 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00103/0.4154, allocations: 0.6574 MB / 0.6058 GB, free: 5.945 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.07985/0.4953, allocations: 7.063 MB / 0.6127 GB, free: 14.87 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007058/0.5023, allocations: 2.612 MB / 0.6153 GB, free: 12.2 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001911/0.5025, allocations: 218 kB / 0.6155 GB, free: 11.98 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009139/0.5034, allocations: 295.8 kB / 0.6158 GB, free: 11.7 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01357/0.517, allocations: 8.665 MB / 0.6242 GB, free: 2.391 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001053/0.5171, allocations: 43.69 kB / 0.6243 GB, free: 2.348 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003647/0.5175, allocations: 139.9 kB / 0.6244 GB, free: 2.211 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00254/0.52, allocations: 1.65 MB / 0.626 GB, free: 0.5586 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01244/0.5325, allocations: 7.086 MB / 0.633 GB, free: 9.469 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04244/0.5749, allocations: 33.14 MB / 0.6653 GB, free: 7.32 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004541/0.5794, allocations: 1.84 MB / 0.6671 GB, free: 5.441 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0018/0.5812, allocations: 1.125 MB / 0.6682 GB, free: 4.301 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003144/0.5815, allocations: 92.41 kB / 0.6683 GB, free: 4.211 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.42e-05/0.5816, allocations: 55 kB / 0.6684 GB, free: 4.148 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=122): time 4.699e-06/0.5816, allocations: 0 / 0.6684 GB, free: 4.148 MB / 0.4981 GB Notification: Performance of matching and sorting (n=140): time 0.02636/0.608, allocations: 10.53 MB / 0.6786 GB, free: 9.551 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001296/0.6081, allocations: 192.6 kB / 0.6788 GB, free: 9.32 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0048/0.6129, allocations: 3.588 MB / 0.6823 GB, free: 5.734 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0002437/0.6131, allocations: 49.7 kB / 0.6824 GB, free: 5.68 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.002225/0.6154, allocations: 2.956 MB / 0.6853 GB, free: 2.695 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006604/0.616, allocations: 0.5738 MB / 0.6858 GB, free: 2.117 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001313/0.6173, allocations: 1.079 MB / 0.6869 GB, free: 1.027 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001247/0.6175, allocations: 305.2 kB / 0.6872 GB, free: 0.7266 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002649/0.6201, allocations: 1.697 MB / 0.6888 GB, free: 15.02 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005653/0.6258, allocations: 5.072 MB / 0.6938 GB, free: 8.25 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009653/0.6354, allocations: 7.336 MB / 0.7009 GB, free: 15.24 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001054/0.6355, allocations: 32 kB / 0.701 GB, free: 15.21 MB / 0.545 GB Notification: Performance of matching and sorting (n=682) (initialization): time 0.01282/0.6483, allocations: 6.754 MB / 0.7076 GB, free: 8.445 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 8.107e-05/0.6484, allocations: 60.03 kB / 0.7076 GB, free: 8.387 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001323/0.6486, allocations: 123.9 kB / 0.7077 GB, free: 8.266 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009772/0.6495, allocations: 424.6 kB / 0.7081 GB, free: 7.848 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003692/0.6532, allocations: 1.209 MB / 0.7093 GB, free: 6.637 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004367/0.6576, allocations: 3.486 MB / 0.7127 GB, free: 3.039 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003457/0.6611, allocations: 287.8 kB / 0.713 GB, free: 2.758 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005972/0.6617, allocations: 332 kB / 0.7133 GB, free: 2.434 MB / 0.545 GB 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.002963/0.6646, allocations: 1.955 MB / 0.7152 GB, free: 476 kB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005993/0.6652, allocations: 321.8 kB / 0.7155 GB, free: 152 kB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003657/0.6689, allocations: 1.87 MB / 0.7174 GB, free: 14.26 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.419e-05/0.6689, allocations: 19.98 kB / 0.7174 GB, free: 14.24 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.538e-06/0.6689, allocations: 4 kB / 0.7174 GB, free: 14.24 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.311e-05/0.6689, allocations: 3.984 kB / 0.7174 GB, free: 14.23 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01094/0.6799, allocations: 5.741 MB / 0.723 GB, free: 8.426 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.298e-05/0.6799, allocations: 4 kB / 0.723 GB, free: 8.422 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001036/0.6809, allocations: 223.6 kB / 0.7232 GB, free: 8.203 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007332/0.6817, allocations: 248.6 kB / 0.7234 GB, free: 7.957 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001068/0.6818, allocations: 27.98 kB / 0.7235 GB, free: 7.93 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003921/0.6857, allocations: 3.059 MB / 0.7265 GB, free: 4.758 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.079e-06/0.6857, allocations: 3.984 kB / 0.7265 GB, free: 4.754 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006405/0.6921, allocations: 3.965 MB / 0.7303 GB, free: 0.7695 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000881/0.693, allocations: 293.8 kB / 0.7306 GB, free: 492 kB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002948/0.6933, allocations: 20 kB / 0.7306 GB, free: 472 kB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001035/0.6943, allocations: 71.92 kB / 0.7307 GB, free: 400 kB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002659/0.6946, allocations: 104.4 kB / 0.7308 GB, free: 296 kB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001076/0.6947, allocations: 43.97 kB / 0.7308 GB, free: 252 kB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.2822/0.9769, allocations: 2.237 MB / 0.733 GB, free: 152.3 MB / 0.5606 GB Notification: Performance of sort global known variables: time 2.21e-07/0.9769, allocations: 0 / 0.733 GB, free: 152.3 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.004129/0.981, allocations: 0.819 MB / 0.7338 GB, free: 152.3 MB / 0.5606 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.005261/0.9863, allocations: 4.583 MB / 0.7383 GB, free: 150.4 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.006407/0.9927, allocations: 3.964 MB / 0.7422 GB, free: 149.1 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 7.514e-06/0.9927, allocations: 0 / 0.7422 GB, free: 149.1 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.001554/0.9942, allocations: 1.109 MB / 0.7433 GB, free: 148.7 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00226/0.9965, allocations: 392.3 kB / 0.7436 GB, free: 148.5 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04218/1.039, allocations: 37.99 MB / 0.7807 GB, free: 110.3 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00237/1.041, allocations: 3.045 MB / 0.7837 GB, free: 107.2 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.00309/1.044, allocations: 1.705 MB / 0.7854 GB, free: 105.5 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001653/1.046, allocations: 1.659 MB / 0.787 GB, free: 103.9 MB / 0.5606 GB Notification: Performance of SimCode: time 9.52e-07/1.046, allocations: 3.938 kB / 0.787 GB, free: 103.9 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09205/1.138, allocations: 61.13 MB / 0.8467 GB, free: 43.14 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 24.8/25.94, allocations: 10.81 kB / 0.8467 GB, free: 43.14 MB / 0.5606 GB " [Timeout remaining time 634] (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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Forces/DifferentiationOfForces/DifferentiationOfForces.csv","/var/lib/jenkins1/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: 29.29593200099771]