Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.DifferentiationOfForces.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009214/0.0009214, allocations: 88.33 kB / 20.67 MB, free: 3.875 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0007951/0.0007951, allocations: 160.9 kB / 23.95 MB, free: 0.5977 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.8807/0.8807, allocations: 177 MB / 204.1 MB, free: 5.754 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2509/0.2509, allocations: 34.24 MB / 294.8 MB, free: 0.668 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.DifferentiationOfForces,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Forces_DifferentiationOfForces",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.DifferentiationOfForces,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Forces_DifferentiationOfForces",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.834e-06/1.834e-06, allocations: 0 / 442.2 MB, free: 1.547 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.947e-05/2.13e-05, allocations: 6.281 kB / 442.2 MB, free: 1.539 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.DifferentiationOfForces): time 0.1695/0.1695, allocations: 8.425 MB / 450.6 MB, free: 39.78 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.003706/0.1732, allocations: 3.631 MB / 454.2 MB, free: 37.54 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004578/0.1737, allocations: 60.94 kB / 454.3 MB, free: 37.52 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002048/0.1757, allocations: 2.821 MB / 457.1 MB, free: 36.33 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001558/0.1773, allocations: 1.714 MB / 458.8 MB, free: 35.55 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006412/0.1779, allocations: 0.7722 MB / 459.6 MB, free: 35.23 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.001897/0.1798, allocations: 4.278 MB / 463.9 MB, free: 33.59 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001499/0.1813, allocations: 3.032 MB / 466.9 MB, free: 32.22 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001166/0.1825, allocations: 2.134 MB / 469 MB, free: 31.29 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001193/0.1837, allocations: 2.021 MB / 471.1 MB, free: 30.73 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002585/0.184, allocations: 318.2 kB / 471.4 MB, free: 30.73 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008781/0.1848, allocations: 1.149 MB / 472.5 MB, free: 30.52 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0006877/0.1855, allocations: 1.866 MB / 474.4 MB, free: 29.71 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0006406/0.1862, allocations: 1.232 MB / 475.6 MB, free: 29.1 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004017/0.1902, allocations: 6.928 MB / 482.5 MB, free: 26.75 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.466e-06/0.1902, allocations: 0 / 482.5 MB, free: 26.75 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.302e-06/0.1902, allocations: 1.156 kB / 482.5 MB, free: 26.75 MB / 410.7 MB Notification: Performance of Transformations before backend: time 6.7e-05/0.1903, allocations: 0 / 482.5 MB, free: 26.75 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.005518/0.1958, allocations: 4.531 MB / 487.1 MB, free: 24.22 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.023e-05/0.1958, allocations: 8.906 kB / 487.1 MB, free: 24.22 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005882/0.1964, allocations: 0.6568 MB / 487.7 MB, free: 23.89 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03902/0.2354, allocations: 7.275 MB / 495 MB, free: 22.86 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005159/0.2406, allocations: 2.45 MB / 497.5 MB, free: 21.34 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001131/0.2407, allocations: 221.1 kB / 497.7 MB, free: 21.23 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004396/0.2411, allocations: 294.2 kB / 498 MB, free: 21.13 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009065/0.2502, allocations: 8.725 MB / 0.4948 GB, free: 15.51 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.434e-05/0.2503, allocations: 47.62 kB / 0.4949 GB, free: 15.46 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000259/0.2505, allocations: 139.9 kB / 0.495 GB, free: 15.33 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001382/0.2519, allocations: 1.646 MB / 0.4966 GB, free: 13.67 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006752/0.2586, allocations: 7.077 MB / 0.5035 GB, free: 6.602 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02121/0.2799, allocations: 32.03 MB / 0.5348 GB, free: 5.602 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002555/0.2824, allocations: 1.885 MB / 0.5366 GB, free: 3.688 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009745/0.2834, allocations: 1.123 MB / 0.5377 GB, free: 2.555 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001692/0.2836, allocations: 96.28 kB / 0.5378 GB, free: 2.461 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.739e-05/0.2836, allocations: 51 kB / 0.5379 GB, free: 2.402 MB / 442.7 MB Notification: Performance of pre-optimization done (n=122): time 3.086e-06/0.2836, allocations: 4.109 kB / 0.5379 GB, free: 2.398 MB / 442.7 MB Notification: Performance of matching and sorting (n=140): time 0.01869/0.3023, allocations: 10.87 MB / 0.5485 GB, free: 7.449 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001106/0.3024, allocations: 200.6 kB / 0.5487 GB, free: 7.207 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005049/0.3074, allocations: 3.961 MB / 0.5526 GB, free: 3.246 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003206/0.3078, allocations: 49.7 kB / 0.5526 GB, free: 3.191 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001709/0.3095, allocations: 2.924 MB / 0.5555 GB, free: 244 kB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007205/0.3102, allocations: 0.5701 MB / 0.556 GB, free: 15.66 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001204/0.3114, allocations: 1.056 MB / 0.557 GB, free: 14.59 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001189/0.3115, allocations: 301.1 kB / 0.5573 GB, free: 14.3 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001909/0.3134, allocations: 1.704 MB / 0.559 GB, free: 12.59 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003359/0.3168, allocations: 5.11 MB / 0.564 GB, free: 5.762 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006181/0.323, allocations: 7.348 MB / 0.5712 GB, free: 12.74 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.929e-05/0.323, allocations: 36 kB / 0.5712 GB, free: 12.71 MB / 490.7 MB Notification: Performance of matching and sorting (n=682) (initialization): time 0.009378/0.3324, allocations: 6.747 MB / 0.5778 GB, free: 5.953 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.053e-05/0.3325, allocations: 56 kB / 0.5778 GB, free: 5.898 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.464e-05/0.3326, allocations: 120 kB / 0.578 GB, free: 5.781 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006402/0.3332, allocations: 425.3 kB / 0.5784 GB, free: 5.363 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002197/0.3354, allocations: 1.209 MB / 0.5795 GB, free: 4.152 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002899/0.3383, allocations: 3.51 MB / 0.583 GB, free: 0.5352 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002686/0.341, allocations: 319.8 kB / 0.5833 GB, free: 228 kB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004038/0.3414, allocations: 328 kB / 0.5836 GB, free: 15.9 MB / 0.4948 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.002613/0.344, allocations: 1.952 MB / 0.5855 GB, free: 13.94 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005095/0.3445, allocations: 317.8 kB / 0.5858 GB, free: 13.62 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002294/0.3468, allocations: 1.882 MB / 0.5876 GB, free: 11.73 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.423e-05/0.3468, allocations: 19.98 kB / 0.5876 GB, free: 11.71 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.036e-05/0.3468, allocations: 7.984 kB / 0.5877 GB, free: 11.7 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.007e-06/0.3469, allocations: 3.984 kB / 0.5877 GB, free: 11.7 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00701/0.3539, allocations: 5.595 MB / 0.5931 GB, free: 6.047 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.244e-06/0.3539, allocations: 0 / 0.5931 GB, free: 6.047 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005488/0.3544, allocations: 215.7 kB / 0.5933 GB, free: 5.836 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004309/0.3549, allocations: 253.6 kB / 0.5936 GB, free: 5.586 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.993e-05/0.3549, allocations: 31.92 kB / 0.5936 GB, free: 5.555 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002323/0.3572, allocations: 3.095 MB / 0.5966 GB, free: 2.352 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.084e-06/0.3572, allocations: 0 / 0.5966 GB, free: 2.352 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003745/0.361, allocations: 3.948 MB / 0.6005 GB, free: 14.38 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006619/0.3617, allocations: 325.7 kB / 0.6008 GB, free: 14.06 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001971/0.3618, allocations: 20 kB / 0.6008 GB, free: 14.04 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006601/0.3625, allocations: 103.9 kB / 0.6009 GB, free: 13.94 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001894/0.3627, allocations: 104.4 kB / 0.601 GB, free: 13.84 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.637e-05/0.3628, allocations: 43.97 kB / 0.6011 GB, free: 13.79 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.002841/0.3656, allocations: 2.378 MB / 0.6034 GB, free: 11.43 MB / 0.5105 GB Notification: Performance of sort global known variables: time 7e-08/0.3656, allocations: 0 / 0.6034 GB, free: 11.43 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.003237/0.3688, allocations: 0.9178 MB / 0.6043 GB, free: 10.51 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.004355/0.3732, allocations: 4.595 MB / 0.6088 GB, free: 5.879 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.004797/0.378, allocations: 3.975 MB / 0.6126 GB, free: 1.918 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 4.309e-06/0.378, allocations: 0 / 0.6126 GB, free: 1.918 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.001077/0.3791, allocations: 1.103 MB / 0.6137 GB, free: 0.8008 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001744/0.3808, allocations: 409.7 kB / 0.6141 GB, free: 420 kB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2161/0.597, allocations: 38.37 MB / 0.6516 GB, free: 159.2 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00184/0.5988, allocations: 2.483 MB / 0.654 GB, free: 158.5 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.002191/0.601, allocations: 1.713 MB / 0.6557 GB, free: 158.5 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001189/0.6022, allocations: 1.668 MB / 0.6573 GB, free: 157.1 MB / 0.5417 GB Notification: Performance of SimCode: time 1.182e-06/0.6022, allocations: 3.219 kB / 0.6573 GB, free: 157.1 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.082/0.6842, allocations: 58.3 MB / 0.7142 GB, free: 129.8 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.25/10.94, allocations: 15.86 kB / 0.7143 GB, free: 129.8 MB / 0.5417 GB " [Timeout remaining time 649] (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.DifferentiationOfForces.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.DifferentiationOfForces.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.DifferentiationOfForces.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.DifferentiationOfForces.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_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_trunk_ModelicaTest_MultiBody_Forces_DifferentiationOfForces.fmu > ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.DifferentiationOfForces.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_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_trunk_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.041154524311423]