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.001371/0.001371, allocations: 116.5 kB / 18.5 MB, free: 4.434 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.001432/0.001432, allocations: 216.9 kB / 21.47 MB, free: 1.473 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.495/1.495, allocations: 230.2 MB / 254.5 MB, free: 15.25 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.2395/0.2395, allocations: 46.91 MB / 357.4 MB, free: 10.45 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.00225/0.00225, allocations: 83.86 kB / 0.4913 GB, free: 8.25 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.139/0.1413, allocations: 65.99 MB / 0.5557 GB, free: 6.133 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.DifferentiationOfForces): time 0.0129/0.1542, allocations: 9.546 MB / 0.565 GB, free: 12.54 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.0106/0.1648, allocations: 3.847 MB / 0.5688 GB, free: 8.672 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002051/0.1668, allocations: 51.88 kB / 0.5688 GB, free: 8.621 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.006029/0.1729, allocations: 2.788 MB / 0.5716 GB, free: 5.824 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00518/0.178, allocations: 1.654 MB / 0.5732 GB, free: 4.164 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001907/0.1799, allocations: 0.7095 MB / 0.5739 GB, free: 3.453 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.006321/0.1863, allocations: 3.893 MB / 0.5777 GB, free: 15.55 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004214/0.1905, allocations: 3.05 MB / 0.5806 GB, free: 12.44 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002907/0.1934, allocations: 1.406 MB / 0.582 GB, free: 11.03 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003434/0.1968, allocations: 2.048 MB / 0.584 GB, free: 8.973 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0009847/0.1978, allocations: 319.9 kB / 0.5843 GB, free: 8.66 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002602/0.2004, allocations: 1.225 MB / 0.5855 GB, free: 7.434 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002242/0.2027, allocations: 1.792 MB / 0.5873 GB, free: 5.637 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003096/0.2057, allocations: 2.078 MB / 0.5893 GB, free: 3.547 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.3039/0.5097, allocations: 6.855 MB / 0.596 GB, free: 14.28 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.415e-06/0.5097, allocations: 7.484 kB / 0.596 GB, free: 14.28 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.325e-06/0.5097, allocations: 0 / 0.596 GB, free: 14.28 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0002883/0.51, allocations: 6 kB / 0.596 GB, free: 14.28 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.01774/0.5277, allocations: 4.569 MB / 0.6005 GB, free: 12.41 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.457e-05/0.5278, allocations: 10.14 kB / 0.6005 GB, free: 12.41 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002822/0.5306, allocations: 0.6581 MB / 0.6011 GB, free: 12.34 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.08069/0.6113, allocations: 7.062 MB / 0.608 GB, free: 11.99 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009039/0.6203, allocations: 2.686 MB / 0.6106 GB, free: 11.41 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002733/0.6206, allocations: 224.2 kB / 0.6109 GB, free: 11.4 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001668/0.6223, allocations: 285.8 kB / 0.6111 GB, free: 11.4 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01446/0.6367, allocations: 8.663 MB / 0.6196 GB, free: 8.441 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000125/0.6368, allocations: 40.05 kB / 0.6196 GB, free: 8.438 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004565/0.6373, allocations: 142.2 kB / 0.6198 GB, free: 8.371 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002241/0.6395, allocations: 1.652 MB / 0.6214 GB, free: 7.805 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01155/0.6511, allocations: 7.089 MB / 0.6283 GB, free: 4.695 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04344/0.6945, allocations: 33.28 MB / 0.6608 GB, free: 3.719 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00494/0.6995, allocations: 2.287 MB / 0.663 GB, free: 1.297 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001753/0.7012, allocations: 1.125 MB / 0.6641 GB, free: 164 kB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004413/0.7017, allocations: 326.8 kB / 0.6644 GB, free: 15.79 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.136e-05/0.7017, allocations: 45.56 kB / 0.6645 GB, free: 15.74 MB / 494.1 MB Notification: Performance of pre-optimization done (n=122): time 3.947e-06/0.7017, allocations: 0 / 0.6645 GB, free: 15.74 MB / 494.1 MB Notification: Performance of matching and sorting (n=140): time 0.02714/0.7289, allocations: 10.69 MB / 0.6749 GB, free: 4.996 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000132/0.729, allocations: 203.2 kB / 0.6751 GB, free: 4.758 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005524/0.7345, allocations: 3.595 MB / 0.6786 GB, free: 1.172 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003139/0.7348, allocations: 49.7 kB / 0.6787 GB, free: 1.117 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002313/0.7372, allocations: 2.951 MB / 0.6815 GB, free: 14.19 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.000738/0.7379, allocations: 0.576 MB / 0.6821 GB, free: 13.62 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001488/0.7394, allocations: 1.076 MB / 0.6832 GB, free: 12.54 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001368/0.7395, allocations: 301.1 kB / 0.6834 GB, free: 12.24 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002756/0.7423, allocations: 1.7 MB / 0.6851 GB, free: 10.54 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005689/0.748, allocations: 5.066 MB / 0.6901 GB, free: 3.828 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009207/0.7572, allocations: 7.333 MB / 0.6972 GB, free: 11.32 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.93e-05/0.7573, allocations: 32 kB / 0.6972 GB, free: 11.29 MB / 0.5137 GB Notification: Performance of matching and sorting (n=682) (initialization): time 0.01351/0.7708, allocations: 6.755 MB / 0.7038 GB, free: 4.711 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 8.105e-05/0.7708, allocations: 56 kB / 0.7039 GB, free: 4.656 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001359/0.771, allocations: 120 kB / 0.704 GB, free: 4.539 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001006/0.772, allocations: 425.1 kB / 0.7044 GB, free: 4.121 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003865/0.7759, allocations: 1.212 MB / 0.7056 GB, free: 2.906 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004618/0.7805, allocations: 3.584 MB / 0.7091 GB, free: 15.19 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004016/0.7845, allocations: 295.7 kB / 0.7094 GB, free: 14.9 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001002/0.7855, allocations: 336 kB / 0.7097 GB, free: 14.57 MB / 0.5294 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.003676/0.7892, allocations: 1.95 MB / 0.7116 GB, free: 12.61 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006755/0.7898, allocations: 321.8 kB / 0.7119 GB, free: 12.3 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003738/0.7936, allocations: 1.874 MB / 0.7137 GB, free: 10.41 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.912e-05/0.7936, allocations: 17.97 kB / 0.7138 GB, free: 10.39 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.03e-05/0.7936, allocations: 8 kB / 0.7138 GB, free: 10.38 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.241e-05/0.7936, allocations: 3.984 kB / 0.7138 GB, free: 10.38 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01159/0.8052, allocations: 5.754 MB / 0.7194 GB, free: 4.59 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.489e-05/0.8052, allocations: 4 kB / 0.7194 GB, free: 4.586 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001062/0.8063, allocations: 215.6 kB / 0.7196 GB, free: 4.375 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007149/0.807, allocations: 253.4 kB / 0.7198 GB, free: 4.125 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000103/0.8071, allocations: 30.39 kB / 0.7199 GB, free: 4.098 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003759/0.8109, allocations: 3.171 MB / 0.723 GB, free: 0.7891 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.733e-06/0.8109, allocations: 0 / 0.723 GB, free: 0.7891 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00615/0.817, allocations: 3.958 MB / 0.7268 GB, free: 12.81 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009527/0.818, allocations: 382.8 kB / 0.7272 GB, free: 12.41 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003713/0.8184, allocations: 20 kB / 0.7272 GB, free: 12.39 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001093/0.8194, allocations: 67.92 kB / 0.7273 GB, free: 12.33 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002612/0.8197, allocations: 100.6 kB / 0.7274 GB, free: 12.23 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001042/0.8198, allocations: 39.98 kB / 0.7274 GB, free: 12.19 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.003617/0.8234, allocations: 2.238 MB / 0.7296 GB, free: 9.965 MB / 0.545 GB Notification: Performance of sort global known variables: time 7e-08/0.8234, allocations: 0 / 0.7296 GB, free: 9.965 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.004283/0.8277, allocations: 0.8193 MB / 0.7304 GB, free: 9.148 MB / 0.545 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.006695/0.8344, allocations: 4.587 MB / 0.7349 GB, free: 4.535 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.007219/0.8416, allocations: 3.973 MB / 0.7388 GB, free: 0.5742 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 5.791e-06/0.8416, allocations: 0 / 0.7388 GB, free: 0.5742 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.001907/0.8435, allocations: 1.104 MB / 0.7398 GB, free: 15.46 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002539/0.8461, allocations: 405 kB / 0.7402 GB, free: 15.07 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06316/0.9092, allocations: 37.9 MB / 0.7772 GB, free: 4.109 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003955/0.9132, allocations: 3.04 MB / 0.7802 GB, free: 1.047 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.004119/0.9173, allocations: 1.706 MB / 0.7819 GB, free: 15.34 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002474/0.9198, allocations: 1.663 MB / 0.7835 GB, free: 13.67 MB / 0.6075 GB Notification: Performance of SimCode: time 9.12e-07/0.9198, allocations: 0 / 0.7835 GB, free: 13.67 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1129/1.033, allocations: 56.88 MB / 0.839 GB, free: 5.074 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate platform static: time 23.05/24.08, allocations: 2.656 kB / 0.8391 GB, free: 5.074 MB / 0.6544 GB " [Timeout remaining time 636] (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_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Forces/DifferentiationOfForces/DifferentiationOfForces.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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: 28.049532977864146]