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.0009151/0.0009151, 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.001098/0.001098, 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.8888/0.8888, allocations: 177.1 MB / 204.3 MB, free: 5.719 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.2499/0.2499, allocations: 32.78 MB / 293.5 MB, free: 1.207 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.593e-06/1.593e-06, allocations: 0 / 439.6 MB, free: 4.23 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.335e-05/1.494e-05, allocations: 4.109 kB / 439.6 MB, free: 4.227 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.DifferentiationOfForces): time 0.1867/0.1867, allocations: 8.417 MB / 448 MB, free: 42.09 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.004116/0.1908, allocations: 3.64 MB / 451.7 MB, free: 40.1 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005214/0.1914, allocations: 59.47 kB / 451.7 MB, free: 40.09 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001986/0.1933, allocations: 2.822 MB / 454.5 MB, free: 38.89 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001507/0.1949, allocations: 1.716 MB / 456.3 MB, free: 38.11 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006259/0.1955, allocations: 0.7705 MB / 457 MB, free: 37.79 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.002069/0.1976, allocations: 4.284 MB / 461.3 MB, free: 36.15 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001694/0.1992, allocations: 3.019 MB / 464.3 MB, free: 34.79 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001261/0.2005, allocations: 2.139 MB / 466.5 MB, free: 33.85 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001216/0.2017, allocations: 2.02 MB / 468.5 MB, free: 33.29 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002358/0.202, allocations: 324.7 kB / 468.8 MB, free: 33.29 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009059/0.2029, allocations: 1.144 MB / 469.9 MB, free: 33.08 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0006874/0.2035, allocations: 1.868 MB / 471.8 MB, free: 32.28 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000615/0.2042, allocations: 1.229 MB / 473 MB, free: 31.66 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003846/0.208, allocations: 6.926 MB / 480 MB, free: 29.31 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.258e-06/0.208, allocations: 0 / 480 MB, free: 29.31 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.974e-06/0.208, allocations: 0 / 480 MB, free: 29.31 MB / 410.7 MB Notification: Performance of Transformations before backend: time 6.564e-05/0.2081, allocations: 1.344 kB / 480 MB, free: 29.31 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.006275/0.2144, allocations: 4.535 MB / 484.5 MB, free: 26.78 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.759e-05/0.2144, allocations: 14.12 kB / 484.5 MB, free: 26.78 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005943/0.215, allocations: 0.6544 MB / 485.2 MB, free: 26.45 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03932/0.2543, allocations: 7.272 MB / 492.4 MB, free: 25.77 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005545/0.2599, allocations: 2.449 MB / 494.9 MB, free: 24.25 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001564/0.26, allocations: 220.4 kB / 495.1 MB, free: 24.15 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005149/0.2605, allocations: 294.7 kB / 495.4 MB, free: 24.04 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009566/0.2701, allocations: 8.72 MB / 0.4923 GB, free: 18.6 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.337e-05/0.2702, allocations: 40.56 kB / 0.4923 GB, free: 18.58 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002521/0.2704, allocations: 143.8 kB / 0.4925 GB, free: 18.48 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001486/0.2719, allocations: 1.652 MB / 0.4941 GB, free: 17.67 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006146/0.2781, allocations: 7.074 MB / 0.501 GB, free: 10.6 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02284/0.3009, allocations: 32.04 MB / 0.5323 GB, free: 9.59 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002955/0.3038, allocations: 1.874 MB / 0.5341 GB, free: 7.684 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001097/0.3049, allocations: 1.129 MB / 0.5352 GB, free: 6.543 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001843/0.3051, allocations: 96.28 kB / 0.5353 GB, free: 6.449 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.062e-05/0.3052, allocations: 47 kB / 0.5354 GB, free: 6.395 MB / 442.7 MB Notification: Performance of pre-optimization done (n=122): time 3.717e-06/0.3052, allocations: 3.938 kB / 0.5354 GB, free: 6.391 MB / 442.7 MB Notification: Performance of matching and sorting (n=140): time 0.01671/0.3219, allocations: 10.88 MB / 0.546 GB, free: 11.45 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.536e-05/0.322, allocations: 204.5 kB / 0.5462 GB, free: 11.2 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003845/0.3258, allocations: 3.965 MB / 0.55 GB, free: 7.234 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001597/0.326, allocations: 49.69 kB / 0.5501 GB, free: 7.18 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001473/0.3274, allocations: 2.928 MB / 0.553 GB, free: 4.223 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005425/0.328, allocations: 0.5699 MB / 0.5535 GB, free: 3.648 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001002/0.329, allocations: 1.056 MB / 0.5545 GB, free: 2.582 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 7.559e-05/0.3291, allocations: 301.1 kB / 0.5548 GB, free: 2.285 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001835/0.3309, allocations: 1.697 MB / 0.5565 GB, free: 0.582 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003125/0.334, allocations: 5.118 MB / 0.5615 GB, free: 9.746 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005502/0.3395, allocations: 7.332 MB / 0.5686 GB, free: 0.7422 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.008e-05/0.3396, allocations: 32 kB / 0.5687 GB, free: 0.7109 MB / 474.7 MB Notification: Performance of matching and sorting (n=682) (initialization): time 0.007953/0.3475, allocations: 6.754 MB / 0.5753 GB, free: 9.949 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.611e-05/0.3476, allocations: 56.22 kB / 0.5753 GB, free: 9.895 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001059/0.3477, allocations: 125.6 kB / 0.5754 GB, free: 9.773 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006619/0.3484, allocations: 419.8 kB / 0.5758 GB, free: 9.363 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002106/0.3505, allocations: 1.213 MB / 0.577 GB, free: 8.148 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003216/0.3537, allocations: 3.511 MB / 0.5805 GB, free: 4.523 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002624/0.3563, allocations: 316.6 kB / 0.5808 GB, free: 4.215 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003997/0.3567, allocations: 331.9 kB / 0.5811 GB, free: 3.895 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.002312/0.359, allocations: 1.955 MB / 0.583 GB, free: 1.926 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004773/0.3595, allocations: 321.8 kB / 0.5833 GB, free: 1.609 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002336/0.3618, allocations: 1.874 MB / 0.5851 GB, free: 15.72 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.064e-05/0.3619, allocations: 16 kB / 0.5851 GB, free: 15.71 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.899e-06/0.3619, allocations: 11.3 kB / 0.5851 GB, free: 15.7 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.478e-06/0.3619, allocations: 3.984 kB / 0.5852 GB, free: 15.7 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007208/0.3691, allocations: 5.599 MB / 0.5906 GB, free: 10.04 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.474e-06/0.3691, allocations: 0 / 0.5906 GB, free: 10.04 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005709/0.3697, allocations: 212 kB / 0.5908 GB, free: 9.832 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000451/0.3701, allocations: 256.6 kB / 0.5911 GB, free: 9.578 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.318e-05/0.3702, allocations: 31.92 kB / 0.5911 GB, free: 9.547 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002681/0.3729, allocations: 3.096 MB / 0.5941 GB, free: 6.34 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.705e-06/0.3729, allocations: 0 / 0.5941 GB, free: 6.34 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0038/0.3767, allocations: 3.952 MB / 0.598 GB, free: 2.355 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006129/0.3773, allocations: 317.7 kB / 0.5983 GB, free: 2.043 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004514/0.3777, allocations: 24 kB / 0.5983 GB, free: 2.02 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006815/0.3784, allocations: 102.6 kB / 0.5984 GB, free: 1.922 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001764/0.3786, allocations: 100.5 kB / 0.5985 GB, free: 1.824 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.986e-05/0.3787, allocations: 48.03 kB / 0.5985 GB, free: 1.777 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.002451/0.3811, allocations: 2.379 MB / 0.6009 GB, free: 15.41 MB / 0.5105 GB Notification: Performance of sort global known variables: time 2e-07/0.3811, allocations: 0 / 0.6009 GB, free: 15.41 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.002684/0.3838, allocations: 0.9178 MB / 0.6018 GB, free: 14.49 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.004373/0.3882, allocations: 4.595 MB / 0.6063 GB, free: 9.863 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.004719/0.3929, allocations: 3.973 MB / 0.6101 GB, free: 5.91 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 3.727e-06/0.3929, allocations: 0 / 0.6101 GB, free: 5.91 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.00111/0.394, allocations: 1.103 MB / 0.6112 GB, free: 4.793 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001782/0.3958, allocations: 406.1 kB / 0.6116 GB, free: 4.402 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2083/0.6041, allocations: 38.37 MB / 0.6491 GB, free: 144.3 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001845/0.6059, allocations: 2.491 MB / 0.6515 GB, free: 143.6 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.002115/0.608, allocations: 1.712 MB / 0.6532 GB, free: 143.5 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001096/0.6091, allocations: 1.668 MB / 0.6548 GB, free: 142.2 MB / 0.5261 GB Notification: Performance of SimCode: time 1.403e-06/0.6091, allocations: 0 / 0.6548 GB, free: 142.2 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07284/0.682, allocations: 58.32 MB / 0.7118 GB, free: 109.9 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.8/9.482, allocations: 3.984 kB / 0.7118 GB, free: 109.9 MB / 0.5261 GB " [Timeout remaining time 650] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.DifferentiationOfForces_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_MultiBody_Forces_DifferentiationOfForces_fmu --startTime=0 --stopTime=1.1 --stepSize=0.000219912 --timeout=50 --tolerance=1e-06 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.mat","/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: 11.73744547367096]