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/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.0008404/0.0008404, allocations: 79.69 kB / 20.67 MB, free: 3.891 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.00112/0.00112, allocations: 170 kB / 23.95 MB, free: 0.6133 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.9065/0.9065, allocations: 177.1 MB / 204.3 MB, free: 5.727 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2217/0.2217, allocations: 32.79 MB / 293.5 MB, free: 1.262 MB / 266.7 MB " [Timeout remaining time 180] 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 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_0_0_ModelicaTest_MultiBody_Forces_DifferentiationOfForces",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.DifferentiationOfForces,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Forces_DifferentiationOfForces",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.062e-06/1.062e-06, allocations: 0 / 439.6 MB, free: 4.273 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.559e-05/1.665e-05, allocations: 2.281 kB / 439.6 MB, free: 4.27 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.DifferentiationOfForces): time 0.188/0.188, allocations: 8.427 MB / 448 MB, free: 42.12 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.005411/0.1934, allocations: 3.632 MB / 451.7 MB, free: 40.14 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001228/0.1946, allocations: 61.91 kB / 451.7 MB, free: 40.12 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002505/0.1972, allocations: 2.819 MB / 454.5 MB, free: 38.94 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004391/0.2015, allocations: 1.726 MB / 456.3 MB, free: 38.14 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001897/0.2034, allocations: 0.7604 MB / 457 MB, free: 37.83 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.004739/0.2082, allocations: 4.283 MB / 461.3 MB, free: 36.19 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003238/0.2114, allocations: 3.022 MB / 464.3 MB, free: 34.83 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002641/0.2141, allocations: 2.134 MB / 466.5 MB, free: 33.89 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001959/0.216, allocations: 2.024 MB / 468.5 MB, free: 33.33 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0005886/0.2166, allocations: 317.8 kB / 468.8 MB, free: 33.33 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001388/0.218, allocations: 1.147 MB / 469.9 MB, free: 33.12 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0009644/0.219, allocations: 1.869 MB / 471.8 MB, free: 32.32 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001366/0.2203, allocations: 1.23 MB / 473 MB, free: 31.7 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005962/0.2263, allocations: 6.932 MB / 480 MB, free: 29.35 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.382e-06/0.2263, allocations: 3.938 kB / 480 MB, free: 29.34 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.754e-06/0.2263, allocations: 0 / 480 MB, free: 29.34 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0002493/0.2265, allocations: 0 / 480 MB, free: 29.34 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.01306/0.2396, allocations: 4.522 MB / 484.5 MB, free: 26.82 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.431e-05/0.2397, allocations: 13.88 kB / 484.5 MB, free: 26.82 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001375/0.241, allocations: 0.6566 MB / 485.2 MB, free: 26.49 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04044/0.2815, allocations: 7.277 MB / 492.4 MB, free: 25.79 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005468/0.287, allocations: 2.45 MB / 494.9 MB, free: 24.27 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000177/0.2871, allocations: 216.5 kB / 495.1 MB, free: 24.17 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000867/0.288, allocations: 295.7 kB / 495.4 MB, free: 24.07 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01145/0.2994, allocations: 8.719 MB / 0.4923 GB, free: 18.62 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001162/0.2996, allocations: 43.92 kB / 0.4923 GB, free: 18.6 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003096/0.2999, allocations: 136.9 kB / 0.4925 GB, free: 18.5 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001654/0.3015, allocations: 1.656 MB / 0.4941 GB, free: 17.7 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009501/0.311, allocations: 7.068 MB / 0.501 GB, free: 10.64 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02971/0.3407, allocations: 32.05 MB / 0.5323 GB, free: 9.621 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002993/0.3437, allocations: 1.884 MB / 0.5341 GB, free: 7.703 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001109/0.3448, allocations: 1.123 MB / 0.5352 GB, free: 6.57 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001944/0.345, allocations: 96.23 kB / 0.5353 GB, free: 6.477 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.996e-05/0.3451, allocations: 43.06 kB / 0.5354 GB, free: 6.426 MB / 442.7 MB Notification: Performance of pre-optimization done (n=122): time 3.487e-06/0.3451, allocations: 7.938 kB / 0.5354 GB, free: 6.418 MB / 442.7 MB Notification: Performance of matching and sorting (n=140): time 0.01631/0.3614, allocations: 10.88 MB / 0.546 GB, free: 11.47 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.851e-05/0.3615, allocations: 200.6 kB / 0.5462 GB, free: 11.23 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003553/0.365, allocations: 3.965 MB / 0.55 GB, free: 7.262 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001348/0.3652, allocations: 45.7 kB / 0.5501 GB, free: 7.211 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001434/0.3666, allocations: 2.921 MB / 0.5529 GB, free: 4.262 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004648/0.3671, allocations: 0.5699 MB / 0.5535 GB, free: 3.688 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009029/0.368, allocations: 1.06 MB / 0.5545 GB, free: 2.617 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 6.85e-05/0.368, allocations: 305.1 kB / 0.5548 GB, free: 2.316 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001721/0.3697, allocations: 1.7 MB / 0.5565 GB, free: 0.6094 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003221/0.373, allocations: 5.118 MB / 0.5615 GB, free: 9.777 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005796/0.3788, allocations: 7.337 MB / 0.5686 GB, free: 0.7695 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.81e-05/0.3788, allocations: 33.69 kB / 0.5687 GB, free: 0.7383 MB / 474.7 MB Notification: Performance of matching and sorting (n=682) (initialization): time 0.008452/0.3873, allocations: 6.746 MB / 0.5753 GB, free: 9.98 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.968e-05/0.3873, allocations: 56 kB / 0.5753 GB, free: 9.926 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.564e-05/0.3874, allocations: 120 kB / 0.5754 GB, free: 9.809 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006742/0.3881, allocations: 430.8 kB / 0.5758 GB, free: 9.387 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002129/0.3902, allocations: 1.205 MB / 0.577 GB, free: 8.18 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003728/0.394, allocations: 3.521 MB / 0.5805 GB, free: 4.551 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002939/0.3969, allocations: 320.7 kB / 0.5808 GB, free: 4.238 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003812/0.3973, allocations: 332 kB / 0.5811 GB, free: 3.914 MB / 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.002471/0.3998, allocations: 1.935 MB / 0.583 GB, free: 1.965 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004668/0.4002, allocations: 329.8 kB / 0.5833 GB, free: 1.641 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002263/0.4025, allocations: 1.874 MB / 0.5851 GB, free: 15.75 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.082e-05/0.4025, allocations: 20 kB / 0.5851 GB, free: 15.73 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.017e-05/0.4025, allocations: 10.86 kB / 0.5851 GB, free: 15.73 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.836e-06/0.4025, allocations: 3.984 kB / 0.5852 GB, free: 15.72 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007811/0.4103, allocations: 5.608 MB / 0.5906 GB, free: 10.06 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.406e-06/0.4103, allocations: 3.938 kB / 0.5906 GB, free: 10.05 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005799/0.4109, allocations: 208.1 kB / 0.5908 GB, free: 9.852 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004731/0.4114, allocations: 256.6 kB / 0.5911 GB, free: 9.598 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.875e-05/0.4115, allocations: 27.92 kB / 0.5911 GB, free: 9.57 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002617/0.4141, allocations: 3.092 MB / 0.5941 GB, free: 6.367 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.996e-06/0.4141, allocations: 3.312 kB / 0.5941 GB, free: 6.367 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00404/0.4181, allocations: 3.944 MB / 0.598 GB, free: 2.391 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000908/0.419, allocations: 325.7 kB / 0.5983 GB, free: 2.07 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002278/0.4193, allocations: 27.98 kB / 0.5983 GB, free: 2.043 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007126/0.42, allocations: 99.86 kB / 0.5984 GB, free: 1.945 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001991/0.4202, allocations: 100.4 kB / 0.5985 GB, free: 1.848 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.328e-05/0.4203, allocations: 35.98 kB / 0.5985 GB, free: 1.812 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.003187/0.4234, allocations: 2.382 MB / 0.6009 GB, free: 15.44 MB / 0.5105 GB Notification: Performance of sort global known variables: time 2.4e-07/0.4234, allocations: 0 / 0.6009 GB, free: 15.44 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.003838/0.4273, allocations: 0.9178 MB / 0.6018 GB, free: 14.52 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.004727/0.432, allocations: 4.596 MB / 0.6063 GB, free: 9.891 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.005072/0.4371, allocations: 3.967 MB / 0.6101 GB, free: 5.941 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 5.39e-06/0.4371, allocations: 0 / 0.6101 GB, free: 5.941 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.001184/0.4383, allocations: 1.107 MB / 0.6112 GB, free: 4.82 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001858/0.4401, allocations: 413.1 kB / 0.6116 GB, free: 4.43 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2134/0.6535, allocations: 38.37 MB / 0.6491 GB, free: 144.2 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001819/0.6553, allocations: 2.483 MB / 0.6515 GB, free: 143.5 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.002232/0.6576, allocations: 1.714 MB / 0.6532 GB, free: 143.5 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001299/0.6589, allocations: 1.664 MB / 0.6548 GB, free: 142.1 MB / 0.5261 GB Notification: Performance of SimCode: time 1.813e-06/0.6589, allocations: 0 / 0.6548 GB, free: 142.1 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07485/0.7337, allocations: 58.32 MB / 0.7117 GB, free: 109.9 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.654/10.39, allocations: 3.984 kB / 0.7118 GB, free: 109.9 MB / 0.5261 GB " [Timeout remaining time 649] (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 & python3 -m fmpy simulate --output-file ModelicaTest_4.0.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_0_0_ModelicaTest_MultiBody_Forces_DifferentiationOfForces.fmu > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.DifferentiationOfForces.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.DifferentiationOfForces_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Forces/DifferentiationOfForces/DifferentiationOfForces.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.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: 12.522352528758347]