Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_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.001159/0.001159, allocations: 80.48 kB / 19.92 MB, free: 4.633 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.001301/0.001301, allocations: 169.9 kB / 23.21 MB, free: 1.352 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.9697/0.9697, allocations: 158.6 MB / 185 MB, free: 3.043 MB / 170.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1426/0.1426, allocations: 32.36 MB / 269.6 MB, free: 14.97 MB / 266.7 MB " [Timeout remaining time 180] 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 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 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_3_2_3_ModelicaTest_MultiBody_Forces_DifferentiationOfForces",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.DifferentiationOfForces,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Forces_DifferentiationOfForces",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.104e-06/2.104e-06, allocations: 0 / 406.8 MB, free: 2.242 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.727e-05/1.938e-05, allocations: 6.078 kB / 406.8 MB, free: 2.238 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.DifferentiationOfForces): time 0.008172/0.008192, allocations: 9.9 MB / 416.7 MB, free: 8.285 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.006004/0.0142, allocations: 3.852 MB / 420.6 MB, free: 4.422 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001088/0.01528, allocations: 71.69 kB / 420.7 MB, free: 4.352 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002852/0.01814, allocations: 2.904 MB / 423.6 MB, free: 1.438 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003043/0.02118, allocations: 2.006 MB / 425.6 MB, free: 15.42 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001072/0.02225, allocations: 0.7716 MB / 426.3 MB, free: 14.65 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.003758/0.02601, allocations: 4.556 MB / 430.9 MB, free: 10.08 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00281/0.02882, allocations: 3.283 MB / 434.2 MB, free: 6.727 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002137/0.03096, allocations: 2.44 MB / 436.6 MB, free: 4.281 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001982/0.03294, allocations: 2.377 MB / 439 MB, free: 1.898 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004152/0.03335, allocations: 376 kB / 439.4 MB, free: 1.531 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00125/0.0346, allocations: 1.202 MB / 440.6 MB, free: 336 kB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001186/0.03579, allocations: 2.201 MB / 442.8 MB, free: 14.12 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001081/0.03687, allocations: 1.449 MB / 444.2 MB, free: 12.66 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005079/0.04195, allocations: 8.174 MB / 452.4 MB, free: 4.465 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.968e-06/0.04195, allocations: 0 / 452.4 MB, free: 4.465 MB / 426.7 MB Notification: Performance of FrontEnd: time 9.21e-07/0.04195, allocations: 0 / 452.4 MB, free: 4.465 MB / 426.7 MB Notification: Performance of Transformations before backend: time 8.077e-05/0.04203, allocations: 0 / 452.4 MB, free: 4.465 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1645 * Number of variables: 1645 Notification: Performance of Generate backend data structure: time 0.006499/0.04853, allocations: 5.181 MB / 457.6 MB, free: 15.22 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.381e-05/0.04859, allocations: 16.03 kB / 457.6 MB, free: 15.2 MB / 442.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006484/0.04924, allocations: 0.7738 MB / 458.4 MB, free: 14.42 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03723/0.08646, allocations: 7.403 MB / 465.8 MB, free: 7.004 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005701/0.09217, allocations: 2.826 MB / 468.6 MB, free: 4.133 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001606/0.09233, allocations: 254.8 kB / 468.8 MB, free: 3.883 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004841/0.09281, allocations: 336.2 kB / 469.2 MB, free: 3.555 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2086/0.3014, allocations: 10.41 MB / 479.6 MB, free: 91.44 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001368/0.3016, allocations: 44.23 kB / 479.6 MB, free: 91.42 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006627/0.3022, allocations: 160 kB / 479.8 MB, free: 91.35 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001965/0.3042, allocations: 2.096 MB / 481.9 MB, free: 90.98 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0122/0.3164, allocations: 8.541 MB / 490.4 MB, free: 88.27 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03611/0.3525, allocations: 36.74 MB / 0.5148 GB, free: 62.38 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005331/0.3578, allocations: 2.426 MB / 0.5172 GB, free: 61.61 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001991/0.3598, allocations: 1.522 MB / 0.5187 GB, free: 61.04 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002732/0.3601, allocations: 104.3 kB / 0.5188 GB, free: 61.02 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.728e-05/0.3601, allocations: 62.94 kB / 0.5188 GB, free: 60.97 MB / 442.7 MB Notification: Performance of pre-optimization done (n=176): time 5.069e-06/0.3601, allocations: 0 / 0.5188 GB, free: 60.97 MB / 442.7 MB Notification: Performance of matching and sorting (n=194): time 0.02098/0.3811, allocations: 14.33 MB / 0.5328 GB, free: 51.16 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.834e-05/0.3812, allocations: 203.6 kB / 0.533 GB, free: 50.92 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003816/0.385, allocations: 4.297 MB / 0.5372 GB, free: 46.86 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002017/0.3852, allocations: 49.7 kB / 0.5372 GB, free: 46.8 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009917/0.3862, allocations: 3.306 MB / 0.5405 GB, free: 43.51 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004992/0.3867, allocations: 0.7648 MB / 0.5412 GB, free: 42.75 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008769/0.3876, allocations: 1.195 MB / 0.5424 GB, free: 41.55 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 3.97e-05/0.3876, allocations: 305.1 kB / 0.5427 GB, free: 41.25 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001805/0.3894, allocations: 2.151 MB / 0.5448 GB, free: 39.09 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002661/0.3921, allocations: 5.889 MB / 0.5505 GB, free: 31.35 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005735/0.3978, allocations: 8.625 MB / 0.559 GB, free: 20.91 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.499e-05/0.3979, allocations: 40 kB / 0.559 GB, free: 20.87 MB / 442.7 MB Notification: Performance of matching and sorting (n=783) (initialization): time 0.008572/0.4064, allocations: 8.008 MB / 0.5668 GB, free: 12.86 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.082e-05/0.4065, allocations: 64.92 kB / 0.5669 GB, free: 12.8 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.918e-05/0.4066, allocations: 128 kB / 0.567 GB, free: 12.68 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005847/0.4071, allocations: 444.6 kB / 0.5674 GB, free: 12.24 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002253/0.4094, allocations: 1.423 MB / 0.5688 GB, free: 10.81 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002396/0.4118, allocations: 3.53 MB / 0.5723 GB, free: 7.172 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003259/0.4151, allocations: 379.6 kB / 0.5726 GB, free: 6.801 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004708/0.4155, allocations: 377.9 kB / 0.573 GB, free: 6.434 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 591 * Number of states: 0 () * Number of discrete variables: 30 (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 (745): * Single equations (assignments): 741 * 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.002556/0.4181, allocations: 2.232 MB / 0.5752 GB, free: 4.188 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005474/0.4186, allocations: 365.6 kB / 0.5755 GB, free: 3.828 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002877/0.4215, allocations: 2.871 MB / 0.5783 GB, free: 0.9453 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.345e-05/0.4215, allocations: 27.66 kB / 0.5783 GB, free: 0.9219 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.067e-06/0.4215, allocations: 7.984 kB / 0.5783 GB, free: 0.9141 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.013e-05/0.4215, allocations: 7.969 kB / 0.5784 GB, free: 0.9062 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01042/0.432, allocations: 7.518 MB / 0.5857 GB, free: 9.367 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.625e-06/0.432, allocations: 0 / 0.5857 GB, free: 9.367 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009505/0.4329, allocations: 339.5 kB / 0.586 GB, free: 9.035 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005225/0.4334, allocations: 261.2 kB / 0.5863 GB, free: 8.777 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001328/0.4336, allocations: 35.98 kB / 0.5863 GB, free: 8.742 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002761/0.4363, allocations: 3.093 MB / 0.5893 GB, free: 5.539 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.927e-06/0.4363, allocations: 3.984 kB / 0.5893 GB, free: 5.535 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006547/0.4429, allocations: 5.48 MB / 0.5947 GB, free: 36 kB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001924/0.4448, allocations: 0.6184 MB / 0.5953 GB, free: 15.41 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002874/0.4451, allocations: 31.94 kB / 0.5953 GB, free: 15.38 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009173/0.446, allocations: 154.1 kB / 0.5955 GB, free: 15.23 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002701/0.4463, allocations: 137 kB / 0.5956 GB, free: 15.1 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.314e-05/0.4464, allocations: 51.98 kB / 0.5956 GB, free: 15.05 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.003227/0.4496, allocations: 2.573 MB / 0.5982 GB, free: 12.5 MB / 474.7 MB Notification: Performance of sort global known variables: time 3e-08/0.4496, allocations: 0 / 0.5982 GB, free: 12.5 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.003899/0.4535, allocations: 1.101 MB / 0.5992 GB, free: 11.39 MB / 474.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 (164): * Single equations (assignments): 160 * 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.006123/0.4596, allocations: 6.155 MB / 0.6052 GB, free: 5.207 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.006434/0.4661, allocations: 4.99 MB / 0.6101 GB, free: 236 kB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 5.05e-06/0.4661, allocations: 0 / 0.6101 GB, free: 236 kB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001741/0.4678, allocations: 1.534 MB / 0.6116 GB, free: 14.68 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002193/0.47, allocations: 443.7 kB / 0.612 GB, free: 14.27 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2529/0.7229, allocations: 45.35 MB / 0.6563 GB, free: 156.9 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002675/0.7256, allocations: 2.926 MB / 0.6592 GB, free: 156.6 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.003011/0.7286, allocations: 1.95 MB / 0.6611 GB, free: 156.6 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001893/0.7305, allocations: 1.999 MB / 0.663 GB, free: 155.6 MB / 0.5105 GB Notification: Performance of SimCode: time 1.824e-06/0.7305, allocations: 0 / 0.663 GB, free: 155.6 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08541/0.8159, allocations: 68.55 MB / 0.73 GB, free: 114.8 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.8/11.61, allocations: 7.844 kB / 0.73 GB, free: 114.8 MB / 0.5105 GB " [Timeout remaining time 648] (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.DifferentiationOfForces.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.DifferentiationOfForces.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.DifferentiationOfForces.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.DifferentiationOfForces.sim & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_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_3_2_3_ModelicaTest_MultiBody_Forces_DifferentiationOfForces.fmu > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.DifferentiationOfForces.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.DifferentiationOfForces_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Forces/DifferentiationOfForces/DifferentiationOfForces.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_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: 13.925683975219727]