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.0008879/0.0008879, allocations: 80.11 kB / 9.934 MB, free: 0.7539 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001166/0.002054, allocations: 449.7 kB / 10.37 MB, free: 324 kB / 10.45 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.0009407/0.0009407, allocations: 165.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.000992/0.001933, allocations: 463.6 kB / 11.72 MB, free: 2.453 MB / 13.93 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.9727/0.9727, allocations: 177.4 MB / 189.9 MB, free: 4.836 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08565/1.058, allocations: 53.86 MB / 243.7 MB, free: 14.91 MB / 250.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.2719/0.2719, allocations: 34.86 MB / 279.3 MB, free: 14.9 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02595/0.2979, allocations: 13.23 MB / 292.6 MB, free: 6.457 MB / 282.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: 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 1.713e-06/1.713e-06, allocations: 0 / 293.9 MB, free: 5.176 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.474e-05/1.645e-05, allocations: 2.312 kB / 293.9 MB, free: 5.172 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.DifferentiationOfForces): time 0.009708/0.009724, allocations: 9.144 MB / 303 MB, free: 11.99 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.008489/0.01821, allocations: 3.905 MB / 306.9 MB, free: 8.074 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001259/0.01947, allocations: 63.69 kB / 307 MB, free: 8.012 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.004184/0.02366, allocations: 2.796 MB / 309.8 MB, free: 5.207 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003678/0.02733, allocations: 1.707 MB / 311.5 MB, free: 3.492 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001508/0.02884, allocations: 0.7249 MB / 312.2 MB, free: 2.766 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.003716/0.03256, allocations: 4.023 MB / 316.2 MB, free: 14.74 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002039/0.0346, allocations: 2.918 MB / 319.2 MB, free: 11.73 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002063/0.03666, allocations: 2.56 MB / 321.7 MB, free: 9.164 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00159/0.03825, allocations: 1.968 MB / 323.7 MB, free: 7.191 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003257/0.03858, allocations: 320 kB / 324 MB, free: 6.879 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001253/0.03983, allocations: 1.166 MB / 325.2 MB, free: 5.711 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0009346/0.04076, allocations: 1.676 MB / 326.8 MB, free: 4.031 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0008655/0.04163, allocations: 0.9542 MB / 327.8 MB, free: 3.074 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003151/0.04478, allocations: 4.052 MB / 331.8 MB, free: 15.01 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.293e-05/0.04479, allocations: 3.984 kB / 331.8 MB, free: 15 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.404e-06/0.0448, allocations: 8 kB / 331.9 MB, free: 15 MB / 330.7 MB Notification: Performance of Transformations before backend: time 6.439e-05/0.04486, allocations: 3.938 kB / 331.9 MB, free: 14.99 MB / 330.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.004411/0.04927, allocations: 4.93 MB / 336.8 MB, free: 9.996 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.427e-05/0.04931, allocations: 8.922 kB / 336.8 MB, free: 9.988 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00306/0.05237, allocations: 1.121 MB / 337.9 MB, free: 8.867 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001922/0.05429, allocations: 1.721 MB / 339.6 MB, free: 7.094 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001018/0.05439, allocations: 214 kB / 339.8 MB, free: 6.883 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003163/0.05471, allocations: 304.1 kB / 340.1 MB, free: 6.586 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004153/0.05886, allocations: 4.376 MB / 344.5 MB, free: 1.559 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.365e-05/0.05892, allocations: 47.62 kB / 344.6 MB, free: 1.512 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002185/0.05914, allocations: 139.9 kB / 344.7 MB, free: 1.375 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001123/0.06026, allocations: 1.462 MB / 346.2 MB, free: 15.91 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002613/0.06288, allocations: 2.045 MB / 348.2 MB, free: 13.85 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01581/0.07869, allocations: 27.31 MB / 375.5 MB, free: 1.48 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001419/0.0801, allocations: 0.849 MB / 376.4 MB, free: 0.5898 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002382/0.08034, allocations: 209.8 kB / 376.6 MB, free: 384 kB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002518/0.08286, allocations: 2.418 MB / 379 MB, free: 13.93 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.814e-05/0.08289, allocations: 47 kB / 379 MB, free: 13.88 MB / 378.7 MB Notification: Performance of pre-optimization done (n=101): time 1.914e-06/0.08289, allocations: 0 / 379 MB, free: 13.88 MB / 378.7 MB Notification: Performance of matching and sorting (n=114): time 0.005647/0.08854, allocations: 2.998 MB / 382 MB, free: 10.83 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.942e-05/0.08859, allocations: 145 kB / 382.2 MB, free: 10.66 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001869/0.09046, allocations: 2.886 MB / 385.1 MB, free: 7.75 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 5.318e-05/0.09051, allocations: 45.69 kB / 385.1 MB, free: 7.699 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001093/0.0916, allocations: 2.848 MB / 388 MB, free: 4.824 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002487/0.09185, allocations: 488.4 kB / 388.4 MB, free: 4.344 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007216/0.09257, allocations: 1.032 MB / 389.5 MB, free: 3.301 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 7.389e-05/0.09265, allocations: 301.1 kB / 389.8 MB, free: 3.004 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007995/0.09345, allocations: 0.6153 MB / 390.4 MB, free: 2.383 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002147/0.09559, allocations: 4.043 MB / 394.4 MB, free: 12.55 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003239/0.09883, allocations: 5.096 MB / 399.5 MB, free: 5.691 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.357e-05/0.09887, allocations: 36 kB / 399.5 MB, free: 5.656 MB / 394.7 MB Notification: Performance of matching and sorting (n=695) (initialization): time 0.003479/0.1023, allocations: 3.607 MB / 403.2 MB, free: 2.027 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.951e-05/0.1024, allocations: 60 kB / 403.2 MB, free: 1.969 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.725e-05/0.1025, allocations: 127.9 kB / 403.3 MB, free: 1.844 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002518/0.1027, allocations: 208.4 kB / 403.5 MB, free: 1.637 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001971/0.1047, allocations: 1.361 MB / 404.9 MB, free: 280 kB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007994/0.1055, allocations: 1.439 MB / 406.3 MB, free: 14.73 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00154/0.107, allocations: 263.7 kB / 406.6 MB, free: 14.48 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002377/0.1073, allocations: 292 kB / 406.9 MB, free: 14.19 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 569 * 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 (670): * Single equations (assignments): 666 * 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,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0008601/0.1081, allocations: 0.5683 MB / 407.5 MB, free: 13.61 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002342/0.1084, allocations: 175.8 kB / 407.6 MB, free: 13.44 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006389/0.109, allocations: 0.5241 MB / 408.2 MB, free: 12.9 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.364e-05/0.109, allocations: 12 kB / 408.2 MB, free: 12.89 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.032e-06/0.109, allocations: 4 kB / 408.2 MB, free: 12.89 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.414e-06/0.109, allocations: 3.984 kB / 408.2 MB, free: 12.88 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003052/0.1121, allocations: 2.791 MB / 411 MB, free: 10.03 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.278e-06/0.1121, allocations: 7.938 kB / 411 MB, free: 10.02 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004646/0.1126, allocations: 195.7 kB / 411.2 MB, free: 9.828 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002343/0.1128, allocations: 254 kB / 411.4 MB, free: 9.578 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002729/0.1131, allocations: 212.9 kB / 411.6 MB, free: 9.363 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.34e-05/0.1131, allocations: 15.98 kB / 411.6 MB, free: 9.348 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005882/0.1137, allocations: 1.228 MB / 412.9 MB, free: 8.027 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.186e-06/0.1137, allocations: 8.125 kB / 412.9 MB, free: 8.02 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009648/0.1147, allocations: 1.237 MB / 414.1 MB, free: 6.742 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001585/0.1148, allocations: 20 kB / 414.1 MB, free: 6.723 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004333/0.1153, allocations: 39.91 kB / 414.2 MB, free: 6.684 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001104/0.1154, allocations: 72.38 kB / 414.2 MB, free: 6.613 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.904e-05/0.1154, allocations: 27.98 kB / 414.3 MB, free: 6.586 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0007612/0.1162, allocations: 1.031 MB / 415.3 MB, free: 5.555 MB / 410.7 MB Notification: Performance of sort global known variables: time 8e-08/0.1162, allocations: 0 / 415.3 MB, free: 5.555 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.002072/0.1182, allocations: 0.832 MB / 416.1 MB, free: 4.723 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * 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 (90): * Single equations (assignments): 86 * 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,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002752/0.1185, allocations: 148.1 kB / 416.3 MB, free: 4.566 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001873/0.1204, allocations: 2.071 MB / 418.3 MB, free: 2.5 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 0.0001492/0.1205, allocations: 96.81 kB / 418.4 MB, free: 2.395 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003695/0.1209, allocations: 360.7 kB / 418.8 MB, free: 2.023 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0013/0.1222, allocations: 0.7399 MB / 419.5 MB, free: 1.293 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008783/0.131, allocations: 6.448 MB / 426 MB, free: 10.75 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00086/0.1319, allocations: 1.099 MB / 427.1 MB, free: 9.629 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0009307/0.1328, allocations: 430.7 kB / 427.5 MB, free: 9.203 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005824/0.1334, allocations: 473.2 kB / 428 MB, free: 8.742 MB / 426.7 MB Notification: Performance of SimCode: time 1.393e-06/0.1334, allocations: 0 / 428 MB, free: 8.742 MB / 426.7 MB Notification: Performance of Templates: time 0.1735/0.3069, allocations: 22.05 MB / 450 MB, free: 108.3 MB / 426.7 MB " [Timeout remaining time 660] 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=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.DifferentiationOfForces.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.670133206062019]