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.0009173/0.0009173, allocations: 80.34 kB / 20.67 MB, free: 3.891 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.001024/0.001024, allocations: 156.9 kB / 23.95 MB, free: 0.6133 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.892/0.892, 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.2609/0.2609, allocations: 34.24 MB / 294.8 MB, free: 0.6836 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.623e-06/1.623e-06, allocations: 0 / 442.2 MB, free: 1.57 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.025e-05/2.187e-05, allocations: 5.094 kB / 442.2 MB, free: 1.566 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.DifferentiationOfForces): time 0.1752/0.1752, allocations: 8.417 MB / 450.6 MB, free: 39.42 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.00555/0.1808, allocations: 3.638 MB / 454.2 MB, free: 37.35 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001313/0.1821, allocations: 66.19 kB / 454.3 MB, free: 37.33 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002422/0.1845, allocations: 2.822 MB / 457.1 MB, free: 36.14 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002831/0.1873, allocations: 1.713 MB / 458.8 MB, free: 35.36 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000973/0.1883, allocations: 0.7675 MB / 459.6 MB, free: 35.04 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.002966/0.1913, allocations: 4.29 MB / 463.9 MB, free: 33.38 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002004/0.1933, allocations: 3.013 MB / 466.9 MB, free: 32.03 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001863/0.1952, allocations: 2.142 MB / 469 MB, free: 31.09 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001549/0.1967, allocations: 2.027 MB / 471.1 MB, free: 30.52 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002975/0.197, allocations: 321 kB / 471.4 MB, free: 30.52 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001188/0.1982, allocations: 1.136 MB / 472.5 MB, free: 30.32 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0008278/0.199, allocations: 1.867 MB / 474.4 MB, free: 29.52 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0007709/0.1998, allocations: 1.226 MB / 475.6 MB, free: 28.91 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005623/0.2054, allocations: 6.935 MB / 482.5 MB, free: 26.55 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.075e-06/0.2054, allocations: 0.6562 kB / 482.5 MB, free: 26.55 MB / 410.7 MB Notification: Performance of FrontEnd: time 3.226e-06/0.2054, allocations: 0 / 482.5 MB, free: 26.55 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0002235/0.2056, allocations: 5.031 kB / 482.5 MB, free: 26.55 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.01037/0.216, allocations: 4.527 MB / 487.1 MB, free: 24.02 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.66e-05/0.2161, allocations: 8.969 kB / 487.1 MB, free: 24.02 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001206/0.2173, allocations: 0.6607 MB / 487.7 MB, free: 23.69 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03936/0.2566, allocations: 7.27 MB / 495 MB, free: 22.73 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005624/0.2623, allocations: 2.449 MB / 497.5 MB, free: 21.21 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001386/0.2624, allocations: 221.2 kB / 497.7 MB, free: 21.11 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006704/0.2631, allocations: 298.3 kB / 498 MB, free: 21 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0123/0.2754, allocations: 8.718 MB / 0.4948 GB, free: 15.41 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.843e-05/0.2755, allocations: 45.42 kB / 0.4949 GB, free: 15.36 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003024/0.2758, allocations: 139.9 kB / 0.495 GB, free: 15.23 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001511/0.2773, allocations: 1.653 MB / 0.4966 GB, free: 13.56 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008471/0.2857, allocations: 7.073 MB / 0.5035 GB, free: 6.496 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0274/0.3132, allocations: 32.04 MB / 0.5348 GB, free: 5.484 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003028/0.3162, allocations: 1.884 MB / 0.5366 GB, free: 3.566 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001053/0.3172, allocations: 1.121 MB / 0.5377 GB, free: 2.434 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001835/0.3174, allocations: 96.28 kB / 0.5378 GB, free: 2.34 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.14e-05/0.3174, allocations: 47.06 kB / 0.5379 GB, free: 2.285 MB / 442.7 MB Notification: Performance of pre-optimization done (n=122): time 3.326e-06/0.3175, allocations: 0 / 0.5379 GB, free: 2.285 MB / 442.7 MB Notification: Performance of matching and sorting (n=140): time 0.01575/0.3332, allocations: 10.88 MB / 0.5485 GB, free: 7.332 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.835e-05/0.3333, allocations: 196.5 kB / 0.5487 GB, free: 7.094 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003773/0.3371, allocations: 3.968 MB / 0.5526 GB, free: 3.125 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001301/0.3372, allocations: 53.69 kB / 0.5526 GB, free: 3.066 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00128/0.3385, allocations: 2.917 MB / 0.5555 GB, free: 124 kB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004437/0.3389, allocations: 0.5701 MB / 0.556 GB, free: 15.54 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009252/0.3398, allocations: 1.06 MB / 0.557 GB, free: 14.47 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 7.164e-05/0.3399, allocations: 301.1 kB / 0.5573 GB, free: 14.18 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001696/0.3416, allocations: 1.697 MB / 0.559 GB, free: 12.47 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002997/0.3446, allocations: 5.114 MB / 0.564 GB, free: 5.645 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005533/0.3501, allocations: 7.338 MB / 0.5712 GB, free: 12.63 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.046e-05/0.3502, allocations: 40 kB / 0.5712 GB, free: 12.59 MB / 490.7 MB Notification: Performance of matching and sorting (n=682) (initialization): time 0.007653/0.3579, allocations: 6.754 MB / 0.5778 GB, free: 5.836 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.243e-05/0.3579, allocations: 56 kB / 0.5778 GB, free: 5.781 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.619e-05/0.358, allocations: 120 kB / 0.578 GB, free: 5.664 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006412/0.3586, allocations: 424.6 kB / 0.5784 GB, free: 5.246 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002005/0.3606, allocations: 1.205 MB / 0.5795 GB, free: 4.039 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0033/0.3639, allocations: 3.508 MB / 0.583 GB, free: 432 kB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002967/0.3669, allocations: 319.7 kB / 0.5833 GB, free: 112 kB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004744/0.3674, allocations: 332 kB / 0.5836 GB, free: 15.79 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.002679/0.3701, allocations: 1.957 MB / 0.5855 GB, free: 13.82 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005147/0.3706, allocations: 321.8 kB / 0.5858 GB, free: 13.5 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002232/0.3728, allocations: 1.878 MB / 0.5876 GB, free: 11.61 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.369e-05/0.3728, allocations: 16 kB / 0.5877 GB, free: 11.59 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.137e-05/0.3729, allocations: 4.375 kB / 0.5877 GB, free: 11.59 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.124e-05/0.3729, allocations: 3.984 kB / 0.5877 GB, free: 11.59 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007889/0.3808, allocations: 5.596 MB / 0.5931 GB, free: 5.934 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.821e-06/0.3808, allocations: 0 / 0.5931 GB, free: 5.934 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005342/0.3813, allocations: 219.7 kB / 0.5933 GB, free: 5.719 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004211/0.3817, allocations: 252.5 kB / 0.5936 GB, free: 5.469 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.874e-05/0.3818, allocations: 39.91 kB / 0.5936 GB, free: 5.43 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002721/0.3845, allocations: 3.085 MB / 0.5966 GB, free: 2.234 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.986e-06/0.3845, allocations: 0 / 0.5966 GB, free: 2.234 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003943/0.3884, allocations: 3.946 MB / 0.6005 GB, free: 14.26 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007241/0.3892, allocations: 333.6 kB / 0.6008 GB, free: 13.93 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002452/0.3894, allocations: 16.11 kB / 0.6008 GB, free: 13.92 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006919/0.3901, allocations: 107.9 kB / 0.6009 GB, free: 13.81 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001864/0.3903, allocations: 100.5 kB / 0.601 GB, free: 13.71 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.349e-05/0.3904, allocations: 45.89 kB / 0.6011 GB, free: 13.68 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.002981/0.3933, allocations: 2.378 MB / 0.6034 GB, free: 11.31 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.91e-07/0.3933, allocations: 0 / 0.6034 GB, free: 11.31 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.003182/0.3965, allocations: 0.9178 MB / 0.6043 GB, free: 10.39 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.004243/0.4008, allocations: 4.592 MB / 0.6088 GB, free: 5.762 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.005211/0.406, allocations: 3.978 MB / 0.6126 GB, free: 1.797 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 4.328e-06/0.406, allocations: 0 / 0.6126 GB, free: 1.797 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.001079/0.4071, allocations: 1.091 MB / 0.6137 GB, free: 0.6914 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001812/0.4089, allocations: 410.9 kB / 0.6141 GB, free: 308 kB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2218/0.6307, allocations: 38.36 MB / 0.6516 GB, free: 158.8 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001867/0.6326, allocations: 2.487 MB / 0.654 GB, free: 158.5 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.002232/0.6348, allocations: 1.712 MB / 0.6557 GB, free: 158.4 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001239/0.636, allocations: 1.667 MB / 0.6573 GB, free: 157.1 MB / 0.5417 GB Notification: Performance of SimCode: time 1.312e-06/0.636, allocations: 0 / 0.6573 GB, free: 157.1 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07502/0.7111, allocations: 58.31 MB / 0.7142 GB, free: 129.7 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.037/9.748, allocations: 15.92 kB / 0.7143 GB, free: 129.7 MB / 0.5417 GB " [Timeout remaining time 650] (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/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: 12.044266709126532]