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.001895/0.001895, allocations: 119.1 kB / 20.45 MB, free: 1.176 MB / 14.72 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.002229/0.002229, allocations: 205.6 kB / 23.72 MB, free: 4.391 MB / 14.72 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 1.494/1.494, allocations: 230.5 MB / 257.4 MB, free: 7.734 MB / 206.1 MB " [Timeout remaining time 178] 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.2267/0.2267, allocations: 46.95 MB / 360.8 MB, free: 3.91 MB / 286.1 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 0.002575/0.002575, allocations: 87.86 kB / 0.4962 GB, free: 7.527 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.347/0.3496, allocations: 66.08 MB / 0.5607 GB, free: 4.012 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.DifferentiationOfForces): time 0.01314/0.3628, allocations: 8.421 MB / 0.5689 GB, free: 11.55 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.008602/0.3714, allocations: 3.633 MB / 0.5725 GB, free: 7.906 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001457/0.3728, allocations: 63.69 kB / 0.5725 GB, free: 7.844 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005329/0.3781, allocations: 2.683 MB / 0.5752 GB, free: 5.152 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004448/0.3826, allocations: 1.666 MB / 0.5768 GB, free: 3.48 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001714/0.3843, allocations: 0.7174 MB / 0.5775 GB, free: 2.762 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.005469/0.3898, allocations: 3.891 MB / 0.5813 GB, free: 14.86 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00355/0.3933, allocations: 2.748 MB / 0.584 GB, free: 12.05 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002594/0.3959, allocations: 1.433 MB / 0.5854 GB, free: 10.61 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003374/0.3993, allocations: 1.931 MB / 0.5872 GB, free: 8.672 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007602/0.4001, allocations: 316 kB / 0.5875 GB, free: 8.363 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002335/0.4024, allocations: 1.092 MB / 0.5886 GB, free: 7.27 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002052/0.4044, allocations: 1.792 MB / 0.5904 GB, free: 5.473 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002258/0.4067, allocations: 1.553 MB / 0.5919 GB, free: 3.91 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009181/0.4159, allocations: 6.88 MB / 0.5986 GB, free: 13 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.123e-06/0.4159, allocations: 0 / 0.5986 GB, free: 13 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.254e-06/0.4159, allocations: 0 / 0.5986 GB, free: 13 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0001836/0.4161, allocations: 0 / 0.5986 GB, free: 13 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.01071/0.4268, allocations: 4.512 MB / 0.603 GB, free: 8.434 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.834e-05/0.4268, allocations: 8.031 kB / 0.603 GB, free: 8.426 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001085/0.4279, allocations: 0.6535 MB / 0.6037 GB, free: 7.762 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.08455/0.5125, allocations: 7.067 MB / 0.6106 GB, free: 0.6836 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006909/0.5194, allocations: 2.622 MB / 0.6131 GB, free: 14 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001965/0.5196, allocations: 220 kB / 0.6133 GB, free: 13.78 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008343/0.5204, allocations: 295.8 kB / 0.6136 GB, free: 13.49 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01436/0.5348, allocations: 8.707 MB / 0.6221 GB, free: 4.137 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001197/0.5349, allocations: 51.62 kB / 0.6222 GB, free: 4.086 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003668/0.5352, allocations: 135.9 kB / 0.6223 GB, free: 3.953 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002664/0.5379, allocations: 1.657 MB / 0.6239 GB, free: 2.293 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01319/0.5511, allocations: 7.07 MB / 0.6308 GB, free: 11.22 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04201/0.5931, allocations: 31.86 MB / 0.6619 GB, free: 10.35 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004896/0.598, allocations: 1.825 MB / 0.6637 GB, free: 8.488 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001789/0.5998, allocations: 1.124 MB / 0.6648 GB, free: 7.352 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003086/0.6001, allocations: 88.38 kB / 0.6649 GB, free: 7.266 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.549e-05/0.6002, allocations: 47.06 kB / 0.6649 GB, free: 7.211 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=122): time 4.939e-06/0.6002, allocations: 0 / 0.6649 GB, free: 7.211 MB / 0.4981 GB Notification: Performance of matching and sorting (n=140): time 0.0259/0.6261, allocations: 10.58 MB / 0.6753 GB, free: 12.56 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001346/0.6262, allocations: 200.5 kB / 0.6755 GB, free: 12.32 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005167/0.6314, allocations: 3.785 MB / 0.6792 GB, free: 8.535 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0002447/0.6316, allocations: 41.7 kB / 0.6792 GB, free: 8.488 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.002332/0.6339, allocations: 2.967 MB / 0.6821 GB, free: 5.492 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008126/0.6348, allocations: 0.5738 MB / 0.6827 GB, free: 4.914 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00152/0.6363, allocations: 1.072 MB / 0.6837 GB, free: 3.832 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001771/0.6364, allocations: 301.1 kB / 0.684 GB, free: 3.535 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002772/0.6392, allocations: 1.7 MB / 0.6856 GB, free: 1.828 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005554/0.6448, allocations: 5.118 MB / 0.6906 GB, free: 11 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00942/0.6542, allocations: 7.337 MB / 0.6978 GB, free: 1.984 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.231e-05/0.6543, allocations: 32 kB / 0.6978 GB, free: 1.953 MB / 0.5294 GB Notification: Performance of matching and sorting (n=682) (initialization): time 0.01256/0.6669, allocations: 6.751 MB / 0.7044 GB, free: 11.19 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 8.804e-05/0.6669, allocations: 64.16 kB / 0.7045 GB, free: 11.13 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001489/0.6671, allocations: 124 kB / 0.7046 GB, free: 11.01 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001/0.6681, allocations: 423.7 kB / 0.705 GB, free: 10.59 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003652/0.6717, allocations: 1.209 MB / 0.7062 GB, free: 9.383 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004433/0.6762, allocations: 3.456 MB / 0.7096 GB, free: 5.812 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003548/0.6797, allocations: 287.8 kB / 0.7098 GB, free: 5.531 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006934/0.6804, allocations: 328 kB / 0.7102 GB, free: 5.211 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.003281/0.6837, allocations: 1.963 MB / 0.7121 GB, free: 3.234 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006228/0.6843, allocations: 317.9 kB / 0.7124 GB, free: 2.922 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003582/0.6879, allocations: 1.874 MB / 0.7142 GB, free: 1.031 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.251e-05/0.6879, allocations: 19.98 kB / 0.7142 GB, free: 1.012 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.145e-06/0.6879, allocations: 0 / 0.7142 GB, free: 1.012 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.5e-05/0.688, allocations: 11.97 kB / 0.7142 GB, free: 1 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01108/0.699, allocations: 5.503 MB / 0.7196 GB, free: 11.43 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.232e-05/0.699, allocations: 4 kB / 0.7196 GB, free: 11.43 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001026/0.7001, allocations: 215.7 kB / 0.7198 GB, free: 11.22 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007327/0.7008, allocations: 256.5 kB / 0.7201 GB, free: 10.96 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.53e-05/0.7009, allocations: 27.98 kB / 0.7201 GB, free: 10.94 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003783/0.7047, allocations: 3.035 MB / 0.7231 GB, free: 7.785 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.616e-06/0.7047, allocations: 3.984 kB / 0.7231 GB, free: 7.781 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006376/0.7111, allocations: 3.962 MB / 0.7269 GB, free: 3.801 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009149/0.712, allocations: 293.7 kB / 0.7272 GB, free: 3.512 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003105/0.7123, allocations: 20 kB / 0.7272 GB, free: 3.492 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001063/0.7133, allocations: 75.86 kB / 0.7273 GB, free: 3.418 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002729/0.7136, allocations: 100.5 kB / 0.7274 GB, free: 3.32 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001017/0.7137, allocations: 44.05 kB / 0.7274 GB, free: 3.277 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.003677/0.7174, allocations: 2.238 MB / 0.7296 GB, free: 1.051 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.11e-07/0.7174, allocations: 0 / 0.7296 GB, free: 1.051 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.004191/0.7216, allocations: 0.8204 MB / 0.7304 GB, free: 236 kB / 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.301/1.023, allocations: 4.579 MB / 0.7349 GB, free: 151.5 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.005703/1.028, allocations: 3.96 MB / 0.7388 GB, free: 150.3 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 5.29e-06/1.028, allocations: 0 / 0.7388 GB, free: 150.3 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.001365/1.03, allocations: 1.113 MB / 0.7399 GB, free: 149.9 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002077/1.032, allocations: 408.3 kB / 0.7402 GB, free: 149.7 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04006/1.072, allocations: 37.98 MB / 0.7773 GB, free: 112.6 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002427/1.074, allocations: 2.489 MB / 0.7798 GB, free: 110.1 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.003085/1.077, allocations: 1.704 MB / 0.7814 GB, free: 108.4 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001607/1.079, allocations: 1.667 MB / 0.7831 GB, free: 106.7 MB / 0.5606 GB Notification: Performance of SimCode: time 9.52e-07/1.079, allocations: 0 / 0.7831 GB, free: 106.7 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1063/1.185, allocations: 56.78 MB / 0.8385 GB, free: 50.59 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.72/16.91, allocations: 7.859 kB / 0.8385 GB, free: 50.59 MB / 0.5606 GB " [Timeout remaining time 643] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.DifferentiationOfForces_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_MultiBody_Forces_DifferentiationOfForces_fmu --startTime=0 --stopTime=1.1 --stepSize=0.000219912 --timeout=50 --tolerance=1e-06 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.mat","/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_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: 22.053952633868903]