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.001995/0.001995, allocations: 114 kB / 20.43 MB, free: 1.457 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.001547/0.001547, allocations: 214 kB / 23.74 MB, free: 4.672 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.476/1.476, allocations: 230.5 MB / 257.4 MB, free: 8 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.2265/0.2265, allocations: 46.92 MB / 360.8 MB, free: 4.191 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.002287/0.002287, allocations: 79.86 kB / 0.4962 GB, free: 7.75 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3168/0.3191, allocations: 66.08 MB / 0.5607 GB, free: 4.289 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.DifferentiationOfForces): time 0.01287/0.3319, allocations: 9.561 MB / 0.5701 GB, free: 10.68 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.007882/0.3398, allocations: 3.882 MB / 0.5739 GB, free: 6.789 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001262/0.3411, allocations: 63.69 kB / 0.5739 GB, free: 6.727 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005477/0.3466, allocations: 2.808 MB / 0.5767 GB, free: 3.91 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004262/0.3508, allocations: 1.661 MB / 0.5783 GB, free: 2.246 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001766/0.3526, allocations: 0.7252 MB / 0.579 GB, free: 1.52 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.005666/0.3583, allocations: 3.88 MB / 0.5828 GB, free: 13.63 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004273/0.3625, allocations: 2.76 MB / 0.5855 GB, free: 10.8 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002448/0.365, allocations: 1.429 MB / 0.5869 GB, free: 9.367 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003434/0.3684, allocations: 2.052 MB / 0.5889 GB, free: 7.309 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0009566/0.3694, allocations: 312 kB / 0.5892 GB, free: 7.004 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002609/0.372, allocations: 1.229 MB / 0.5904 GB, free: 5.773 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00239/0.3744, allocations: 1.792 MB / 0.5921 GB, free: 3.977 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003441/0.3778, allocations: 2.082 MB / 0.5942 GB, free: 1.883 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008707/0.3865, allocations: 6.86 MB / 0.6009 GB, free: 11 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.542e-06/0.3865, allocations: 0 / 0.6009 GB, free: 11 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.904e-06/0.3865, allocations: 0 / 0.6009 GB, free: 11 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0001832/0.3867, allocations: 0 / 0.6009 GB, free: 11 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.01123/0.3979, allocations: 4.508 MB / 0.6053 GB, free: 6.434 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.74e-05/0.398, allocations: 8.031 kB / 0.6053 GB, free: 6.426 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001204/0.3992, allocations: 0.6613 MB / 0.6059 GB, free: 5.754 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.08396/0.4832, allocations: 7.059 MB / 0.6128 GB, free: 14.68 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006995/0.4902, allocations: 2.616 MB / 0.6154 GB, free: 12 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000196/0.4904, allocations: 218 kB / 0.6156 GB, free: 11.79 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008519/0.4912, allocations: 303.8 kB / 0.6159 GB, free: 11.49 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01465/0.5059, allocations: 8.661 MB / 0.6243 GB, free: 2.191 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001152/0.506, allocations: 35.7 kB / 0.6244 GB, free: 2.156 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003936/0.5064, allocations: 143.9 kB / 0.6245 GB, free: 2.016 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002605/0.509, allocations: 1.657 MB / 0.6261 GB, free: 364 kB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01349/0.5225, allocations: 7.084 MB / 0.633 GB, free: 9.266 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04315/0.5656, allocations: 33.14 MB / 0.6654 GB, free: 7.117 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004567/0.5702, allocations: 1.838 MB / 0.6672 GB, free: 5.242 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001736/0.5719, allocations: 1.124 MB / 0.6683 GB, free: 4.105 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002784/0.5722, allocations: 92.44 kB / 0.6684 GB, free: 4.016 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.685e-05/0.5722, allocations: 50.98 kB / 0.6684 GB, free: 3.957 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=122): time 4.018e-06/0.5722, allocations: 0 / 0.6684 GB, free: 3.957 MB / 0.4981 GB Notification: Performance of matching and sorting (n=140): time 0.02559/0.5978, allocations: 10.54 MB / 0.6787 GB, free: 9.352 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001318/0.598, allocations: 192.6 kB / 0.6789 GB, free: 9.121 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005208/0.6032, allocations: 3.596 MB / 0.6824 GB, free: 5.527 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0002491/0.6034, allocations: 45.7 kB / 0.6825 GB, free: 5.477 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.00245/0.6059, allocations: 2.956 MB / 0.6853 GB, free: 2.492 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007369/0.6066, allocations: 0.5738 MB / 0.6859 GB, free: 1.914 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001534/0.6081, allocations: 1.076 MB / 0.687 GB, free: 0.8281 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001449/0.6083, allocations: 301.1 kB / 0.6872 GB, free: 0.5312 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002801/0.6111, allocations: 1.701 MB / 0.6889 GB, free: 14.82 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005888/0.617, allocations: 5.068 MB / 0.6938 GB, free: 8.051 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009248/0.6262, allocations: 7.345 MB / 0.701 GB, free: 15.03 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.393e-05/0.6263, allocations: 36 kB / 0.7011 GB, free: 15 MB / 0.545 GB Notification: Performance of matching and sorting (n=682) (initialization): time 0.01302/0.6393, allocations: 6.747 MB / 0.7076 GB, free: 8.238 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 9.292e-05/0.6394, allocations: 56 kB / 0.7077 GB, free: 8.184 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001513/0.6396, allocations: 120 kB / 0.7078 GB, free: 8.066 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001036/0.6406, allocations: 437 kB / 0.7082 GB, free: 7.637 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00439/0.645, allocations: 1.201 MB / 0.7094 GB, free: 6.434 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004754/0.6497, allocations: 3.49 MB / 0.7128 GB, free: 2.836 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003899/0.6536, allocations: 291.7 kB / 0.7131 GB, free: 2.551 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007787/0.6544, allocations: 328 kB / 0.7134 GB, free: 2.23 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.003304/0.6577, allocations: 1.951 MB / 0.7153 GB, free: 272 kB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006069/0.6583, allocations: 317.9 kB / 0.7156 GB, free: 15.95 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003687/0.662, allocations: 1.87 MB / 0.7174 GB, free: 14.06 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.083e-05/0.6621, allocations: 16 kB / 0.7175 GB, free: 14.05 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.948e-06/0.6621, allocations: 8 kB / 0.7175 GB, free: 14.04 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.88e-05/0.6621, allocations: 7.969 kB / 0.7175 GB, free: 14.03 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01153/0.6736, allocations: 5.749 MB / 0.7231 GB, free: 8.215 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.205e-05/0.6736, allocations: 0 / 0.7231 GB, free: 8.215 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001075/0.6747, allocations: 215.7 kB / 0.7233 GB, free: 8.004 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007633/0.6755, allocations: 256.6 kB / 0.7235 GB, free: 7.75 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001051/0.6756, allocations: 23.98 kB / 0.7236 GB, free: 7.727 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003822/0.6794, allocations: 3.058 MB / 0.7265 GB, free: 4.555 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.784e-06/0.6794, allocations: 0 / 0.7265 GB, free: 4.555 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006199/0.6856, allocations: 3.974 MB / 0.7304 GB, free: 0.5664 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008961/0.6865, allocations: 285.7 kB / 0.7307 GB, free: 292 kB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003275/0.6868, allocations: 31.98 kB / 0.7307 GB, free: 260 kB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001019/0.6878, allocations: 71.86 kB / 0.7308 GB, free: 188 kB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000271/0.6881, allocations: 104.5 kB / 0.7309 GB, free: 84 kB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001016/0.6882, allocations: 39.98 kB / 0.7309 GB, free: 44 kB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.2714/0.9596, allocations: 2.233 MB / 0.7331 GB, free: 152.2 MB / 0.5606 GB Notification: Performance of sort global known variables: time 3.81e-07/0.9596, allocations: 0 / 0.7331 GB, free: 152.2 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.004234/0.9638, allocations: 0.8246 MB / 0.7339 GB, free: 152.2 MB / 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.005387/0.9692, allocations: 4.576 MB / 0.7384 GB, free: 150.2 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.006483/0.9757, allocations: 3.96 MB / 0.7423 GB, free: 149 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 5.02e-06/0.9757, allocations: 7.531 kB / 0.7423 GB, free: 149 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.00153/0.9773, allocations: 1.106 MB / 0.7433 GB, free: 148.6 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002306/0.9796, allocations: 404.5 kB / 0.7437 GB, free: 148.4 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04121/1.021, allocations: 37.98 MB / 0.7808 GB, free: 110 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002573/1.023, allocations: 3.04 MB / 0.7838 GB, free: 107 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.003116/1.026, allocations: 1.704 MB / 0.7855 GB, free: 105.3 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001836/1.028, allocations: 1.659 MB / 0.7871 GB, free: 103.6 MB / 0.5606 GB Notification: Performance of SimCode: time 9.32e-07/1.028, allocations: 0 / 0.7871 GB, free: 103.6 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09519/1.123, allocations: 61.14 MB / 0.8468 GB, free: 42.77 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 24.96/26.08, allocations: 3.859 kB / 0.8468 GB, free: 42.76 MB / 0.5606 GB " [Timeout remaining time 634] (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: 29.656667130999267]