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.001544/0.001544, allocations: 111.9 kB / 19.12 MB, free: 3.941 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.001552/0.001552, allocations: 208.9 kB / 22.08 MB, free: 0.9922 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.481/1.481, allocations: 227.4 MB / 252.3 MB, free: 84 kB / 190.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.2347/0.2347, allocations: 46.16 MB / 351.8 MB, free: 14.29 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: translateModel(ModelicaTest.MultiBody.Forces.DifferentiationOfForces,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|rev.phi|rev.w",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.DifferentiationOfForces") translateModel(ModelicaTest.MultiBody.Forces.DifferentiationOfForces,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|rev.phi|rev.w",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.DifferentiationOfForces") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002261/0.002261, allocations: 82 kB / 490.9 MB, free: 28.05 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1209/0.1232, allocations: 62.45 MB / 0.5404 GB, free: 4.254 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.DifferentiationOfForces): time 0.012/0.1352, allocations: 9.507 MB / 0.5496 GB, free: 10.7 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.008141/0.1434, allocations: 3.82 MB / 0.5534 GB, free: 6.859 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001454/0.1449, allocations: 51.88 kB / 0.5534 GB, free: 6.809 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005351/0.1503, allocations: 2.757 MB / 0.5561 GB, free: 4.043 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004351/0.1547, allocations: 1.611 MB / 0.5577 GB, free: 2.426 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001735/0.1565, allocations: 0.7251 MB / 0.5584 GB, free: 1.699 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.00581/0.1623, allocations: 3.878 MB / 0.5622 GB, free: 13.81 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004649/0.167, allocations: 3.678 MB / 0.5658 GB, free: 10.07 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002278/0.1693, allocations: 1.394 MB / 0.5671 GB, free: 8.668 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002828/0.1721, allocations: 1.904 MB / 0.569 GB, free: 6.758 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007211/0.1728, allocations: 312 kB / 0.5693 GB, free: 6.453 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002311/0.1752, allocations: 1.186 MB / 0.5704 GB, free: 5.266 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001939/0.1771, allocations: 1.749 MB / 0.5722 GB, free: 3.512 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002446/0.1796, allocations: 2.008 MB / 0.5741 GB, free: 1.492 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008283/0.1879, allocations: 6.689 MB / 0.5806 GB, free: 10.78 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.252e-06/0.1879, allocations: 4 kB / 0.5807 GB, free: 10.77 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.383e-06/0.1879, allocations: 0 / 0.5807 GB, free: 10.77 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0001617/0.1881, allocations: 0 / 0.5807 GB, free: 10.77 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.009328/0.1974, allocations: 4.454 MB / 0.585 GB, free: 6.246 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.721e-05/0.1975, allocations: 12.03 kB / 0.585 GB, free: 6.234 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01702/0.2145, allocations: 2.467 MB / 0.5874 GB, free: 3.762 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006024/0.2206, allocations: 2.465 MB / 0.5898 GB, free: 1.234 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002002/0.2208, allocations: 218 kB / 0.59 GB, free: 1.02 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008646/0.2217, allocations: 292 kB / 0.5903 GB, free: 0.7344 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01478/0.2365, allocations: 8.731 MB / 0.5988 GB, free: 7.363 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001105/0.2366, allocations: 35.7 kB / 0.5989 GB, free: 7.328 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003827/0.237, allocations: 143.9 kB / 0.599 GB, free: 7.188 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002769/0.2398, allocations: 1.665 MB / 0.6006 GB, free: 5.52 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.274/0.5138, allocations: 7.198 MB / 0.6077 GB, free: 53.72 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03611/0.5499, allocations: 33.47 MB / 0.6404 GB, free: 30.12 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004483/0.5545, allocations: 2.44 MB / 0.6427 GB, free: 28.57 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00165/0.5562, allocations: 1.284 MB / 0.644 GB, free: 27.89 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003195/0.5565, allocations: 336.9 kB / 0.6443 GB, free: 27.57 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.3e-05/0.5565, allocations: 48.62 kB / 0.6444 GB, free: 27.52 MB / 462.1 MB Notification: Performance of pre-optimization done (n=122): time 3.567e-06/0.5566, allocations: 3.938 kB / 0.6444 GB, free: 27.52 MB / 462.1 MB Notification: Performance of matching and sorting (n=140): time 0.02541/0.582, allocations: 11.65 MB / 0.6557 GB, free: 21.07 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.012e-05/0.5821, allocations: 195.1 kB / 0.6559 GB, free: 20.85 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003722/0.5858, allocations: 3.582 MB / 0.6594 GB, free: 18.82 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002303/0.5861, allocations: 45.7 kB / 0.6595 GB, free: 18.77 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00117/0.5872, allocations: 2.941 MB / 0.6623 GB, free: 15.91 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004159/0.5877, allocations: 0.5723 MB / 0.6629 GB, free: 15.35 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001039/0.5887, allocations: 1.113 MB / 0.664 GB, free: 14.23 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 4.282e-05/0.5888, allocations: 306.4 kB / 0.6643 GB, free: 13.93 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002138/0.5909, allocations: 1.806 MB / 0.666 GB, free: 12.11 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003163/0.5941, allocations: 5.182 MB / 0.6711 GB, free: 5.23 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007536/0.6016, allocations: 7.528 MB / 0.6785 GB, free: 12.03 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.558e-05/0.6018, allocations: 36 kB / 0.6785 GB, free: 11.99 MB / 478.1 MB Notification: Performance of matching and sorting (n=701) (initialization): time 0.01408/0.6159, allocations: 7.243 MB / 0.6856 GB, free: 4.742 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.904e-05/0.616, allocations: 64.19 kB / 0.6856 GB, free: 4.68 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001679/0.6162, allocations: 120 kB / 0.6857 GB, free: 4.562 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001761/0.618, allocations: 0.6733 MB / 0.6864 GB, free: 3.887 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003935/0.6219, allocations: 1.244 MB / 0.6876 GB, free: 2.641 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006315/0.6282, allocations: 4.343 MB / 0.6918 GB, free: 14.16 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003898/0.6322, allocations: 299.8 kB / 0.6921 GB, free: 13.87 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008094/0.633, allocations: 332 kB / 0.6924 GB, free: 13.54 MB / 494.1 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 (663): * Single equations (assignments): 659 * 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 {(2,13,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.003895/0.6369, allocations: 1.947 MB / 0.6944 GB, free: 11.59 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007605/0.6377, allocations: 317.8 kB / 0.6947 GB, free: 11.27 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00498/0.6427, allocations: 2.26 MB / 0.6969 GB, free: 9 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.197e-05/0.6427, allocations: 20.36 kB / 0.6969 GB, free: 8.98 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.167e-05/0.6428, allocations: 11.94 kB / 0.6969 GB, free: 8.969 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.53e-05/0.6428, allocations: 3.984 kB / 0.6969 GB, free: 8.965 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01229/0.6551, allocations: 6.118 MB / 0.7029 GB, free: 2.805 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.025e-05/0.6551, allocations: 3.938 kB / 0.7029 GB, free: 2.801 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001151/0.6563, allocations: 211.7 kB / 0.7031 GB, free: 2.594 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001545/0.6578, allocations: 0.5041 MB / 0.7036 GB, free: 2.086 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001262/0.658, allocations: 31.81 kB / 0.7036 GB, free: 2.059 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005398/0.6634, allocations: 3.937 MB / 0.7074 GB, free: 14 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.969e-06/0.6634, allocations: 4.031 kB / 0.7074 GB, free: 14 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007692/0.6711, allocations: 4.408 MB / 0.7118 GB, free: 9.555 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009191/0.6721, allocations: 366.9 kB / 0.7121 GB, free: 9.176 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003907/0.6725, allocations: 23.58 kB / 0.7121 GB, free: 9.156 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001179/0.6737, allocations: 83.97 kB / 0.7122 GB, free: 9.074 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003041/0.674, allocations: 92.52 kB / 0.7123 GB, free: 8.984 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000109/0.6741, allocations: 43.97 kB / 0.7123 GB, free: 8.941 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.003647/0.6777, allocations: 2.229 MB / 0.7145 GB, free: 6.723 MB / 0.4981 GB Notification: Performance of sort global known variables: time 2.3e-07/0.6778, allocations: 0 / 0.7145 GB, free: 6.723 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.004196/0.682, allocations: 0.8436 MB / 0.7153 GB, free: 5.879 MB / 0.4981 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.0004204/0.6824, allocations: 154.8 kB / 0.7155 GB, free: 5.723 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.007631/0.69, allocations: 4.316 MB / 0.7197 GB, free: 1.422 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 5.932e-06/0.6901, allocations: 0 / 0.7197 GB, free: 1.422 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.002134/0.6922, allocations: 1.232 MB / 0.7209 GB, free: 184 kB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002328/0.6946, allocations: 381.1 kB / 0.7213 GB, free: 15.81 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.015/0.7096, allocations: 8.457 MB / 0.7295 GB, free: 7.316 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003824/0.7135, allocations: 3.019 MB / 0.7325 GB, free: 4.27 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009134/0.7144, allocations: 263.3 kB / 0.7327 GB, free: 4.012 MB / 0.5137 GB Notification: Performance of SimCode: time 6.81e-07/0.7144, allocations: 0 / 0.7327 GB, free: 4.012 MB / 0.5137 GB Notification: Performance of Templates: time 0.1018/0.8162, allocations: 67.64 MB / 0.7988 GB, free: 420 kB / 0.5762 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.DifferentiationOfForces.makefile [Timeout 660] (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 & ./ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.DifferentiationOfForces -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.DifferentiationOfForces.pipe 2>&1) [Timeout 480] 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: 12.898673104937188]