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.001048/0.001048, allocations: 76.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001668/0.002716, allocations: 457.8 kB / 10.45 MB, free: 244 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.000959/0.000959, allocations: 162 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001063/0.002022, allocations: 475.6 kB / 11.82 MB, free: 2.348 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.9492/0.9492, allocations: 177.5 MB / 190 MB, free: 4.75 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1089/1.058, allocations: 53.88 MB / 243.9 MB, free: 14.8 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.2552/0.2552, allocations: 34.88 MB / 279.5 MB, free: 14.89 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02896/0.2841, allocations: 13.25 MB / 292.8 MB, free: 6.34 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 2.635e-06/2.635e-06, allocations: 0 / 294.1 MB, free: 5.035 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.371e-05/1.634e-05, allocations: 2.312 kB / 294.1 MB, free: 5.031 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.DifferentiationOfForces): time 0.007291/0.007307, allocations: 9.145 MB / 303.3 MB, free: 11.85 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.005697/0.013, allocations: 3.905 MB / 307.2 MB, free: 7.93 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007047/0.01371, allocations: 59.75 kB / 307.2 MB, free: 7.871 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002542/0.01625, allocations: 2.811 MB / 310 MB, free: 5.051 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002282/0.01853, allocations: 1.699 MB / 311.7 MB, free: 3.344 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001012/0.01955, allocations: 0.7215 MB / 312.4 MB, free: 2.621 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.003128/0.02267, allocations: 4.015 MB / 316.5 MB, free: 14.6 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002216/0.02489, allocations: 2.91 MB / 319.4 MB, free: 11.6 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002128/0.02702, allocations: 2.561 MB / 321.9 MB, free: 9.035 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001742/0.02876, allocations: 1.964 MB / 323.9 MB, free: 7.066 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003331/0.02909, allocations: 320 kB / 324.2 MB, free: 6.754 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001329/0.03042, allocations: 1.174 MB / 325.4 MB, free: 5.578 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0009992/0.03142, allocations: 1.672 MB / 327.1 MB, free: 3.902 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.00076/0.03218, allocations: 0.9543 MB / 328 MB, free: 2.945 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002868/0.03505, allocations: 4.052 MB / 332.1 MB, free: 14.88 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.737e-06/0.03506, allocations: 0 / 332.1 MB, free: 14.88 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.423e-06/0.03506, allocations: 0 / 332.1 MB, free: 14.88 MB / 330.7 MB Notification: Performance of Transformations before backend: time 4.627e-05/0.03511, allocations: 0 / 332.1 MB, free: 14.88 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.004425/0.03953, allocations: 4.93 MB / 337 MB, free: 9.883 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.642e-05/0.03956, allocations: 12.92 kB / 337 MB, free: 9.871 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002887/0.04244, allocations: 1.128 MB / 338.1 MB, free: 8.742 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001716/0.04416, allocations: 1.721 MB / 339.9 MB, free: 6.969 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001023/0.04426, allocations: 218 kB / 340.1 MB, free: 6.754 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003/0.04456, allocations: 292.2 kB / 340.4 MB, free: 6.469 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003747/0.04831, allocations: 4.383 MB / 344.7 MB, free: 1.434 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.168e-05/0.04838, allocations: 43.62 kB / 344.8 MB, free: 1.391 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002269/0.04861, allocations: 135.9 kB / 344.9 MB, free: 1.258 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001213/0.04982, allocations: 1.361 MB / 346.3 MB, free: 15.89 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002965/0.05279, allocations: 2.066 MB / 348.3 MB, free: 13.82 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01661/0.0694, allocations: 27.31 MB / 375.7 MB, free: 1.449 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001528/0.07093, allocations: 0.8357 MB / 376.5 MB, free: 0.5703 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000249/0.07118, allocations: 220.9 kB / 376.7 MB, free: 352 kB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002684/0.07386, allocations: 2.414 MB / 379.1 MB, free: 13.9 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.966e-05/0.07389, allocations: 43.06 kB / 379.2 MB, free: 13.85 MB / 378.7 MB Notification: Performance of pre-optimization done (n=101): time 3.025e-06/0.07389, allocations: 4 kB / 379.2 MB, free: 13.85 MB / 378.7 MB Notification: Performance of matching and sorting (n=114): time 0.005744/0.07964, allocations: 3.033 MB / 382.2 MB, free: 10.77 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.823e-05/0.07969, allocations: 149 kB / 382.3 MB, free: 10.59 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001981/0.08167, allocations: 2.886 MB / 385.2 MB, free: 7.684 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 4.955e-05/0.08172, allocations: 41.64 kB / 385.3 MB, free: 7.637 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00113/0.08285, allocations: 2.845 MB / 388.1 MB, free: 4.766 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002717/0.08312, allocations: 492.3 kB / 388.6 MB, free: 4.281 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007359/0.08385, allocations: 1.032 MB / 389.6 MB, free: 3.238 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 6.645e-05/0.08392, allocations: 301.1 kB / 389.9 MB, free: 2.941 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000857/0.08478, allocations: 0.6192 MB / 390.5 MB, free: 2.316 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002349/0.08713, allocations: 4.043 MB / 394.6 MB, free: 12.48 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003987/0.09111, allocations: 5.503 MB / 400.1 MB, free: 5.215 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.319e-05/0.09116, allocations: 36 kB / 400.1 MB, free: 5.18 MB / 394.7 MB Notification: Performance of matching and sorting (n=695) (initialization): time 0.003986/0.09514, allocations: 3.607 MB / 403.7 MB, free: 1.559 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.925e-05/0.09519, allocations: 60 kB / 403.8 MB, free: 1.5 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001044/0.0953, allocations: 139.9 kB / 403.9 MB, free: 1.363 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002746/0.09557, allocations: 200.3 kB / 404.1 MB, free: 1.164 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002067/0.09764, allocations: 1.361 MB / 405.5 MB, free: 15.8 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008364/0.09847, allocations: 1.447 MB / 406.9 MB, free: 14.25 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001684/0.1002, allocations: 251.7 kB / 407.2 MB, free: 14.01 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002345/0.1004, allocations: 292 kB / 407.5 MB, free: 13.72 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.0009312/0.1013, allocations: 0.5641 MB / 408 MB, free: 13.14 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002202/0.1015, allocations: 187.7 kB / 408.2 MB, free: 12.96 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006109/0.1022, allocations: 0.5164 MB / 408.7 MB, free: 12.43 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.18e-05/0.1022, allocations: 12 kB / 408.7 MB, free: 12.41 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.448e-06/0.1022, allocations: 0 / 408.7 MB, free: 12.41 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.133e-06/0.1022, allocations: 3.984 kB / 408.7 MB, free: 12.41 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003005/0.1052, allocations: 2.799 MB / 411.5 MB, free: 9.543 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.37e-05/0.1052, allocations: 15.92 kB / 411.5 MB, free: 9.527 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004578/0.1057, allocations: 195.7 kB / 411.7 MB, free: 9.336 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002314/0.1059, allocations: 254 kB / 412 MB, free: 9.086 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002755/0.1062, allocations: 216.8 kB / 412.2 MB, free: 8.867 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.1e-05/0.1062, allocations: 19.98 kB / 412.2 MB, free: 8.848 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006147/0.1068, allocations: 1.22 MB / 413.4 MB, free: 7.535 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.28e-06/0.1068, allocations: 4 kB / 413.4 MB, free: 7.531 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001041/0.1079, allocations: 1.245 MB / 414.7 MB, free: 6.246 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001551/0.108, allocations: 20 kB / 414.7 MB, free: 6.227 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004533/0.1085, allocations: 35.92 kB / 414.7 MB, free: 6.191 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001211/0.1086, allocations: 76.3 kB / 414.8 MB, free: 6.117 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.409e-05/0.1086, allocations: 23.98 kB / 414.8 MB, free: 6.094 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0007773/0.1094, allocations: 1.031 MB / 415.9 MB, free: 5.062 MB / 410.7 MB Notification: Performance of sort global known variables: time 7e-08/0.1094, allocations: 0 / 415.9 MB, free: 5.062 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.002057/0.1115, allocations: 0.8358 MB / 416.7 MB, free: 4.227 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.0002782/0.1118, allocations: 144.2 kB / 416.8 MB, free: 4.074 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.002011/0.1138, allocations: 2.17 MB / 419 MB, free: 1.926 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 0.000149/0.1139, allocations: 100.8 kB / 419.1 MB, free: 1.816 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004122/0.1143, allocations: 422.1 kB / 419.5 MB, free: 1.387 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001868/0.1162, allocations: 2.413 MB / 421.9 MB, free: 14.69 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009089/0.1253, allocations: 6.444 MB / 428.4 MB, free: 8.148 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008644/0.1262, allocations: 1.103 MB / 429.5 MB, free: 7.023 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.000882/0.127, allocations: 434.7 kB / 429.9 MB, free: 6.594 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005609/0.1276, allocations: 453.2 kB / 430.4 MB, free: 6.148 MB / 426.7 MB Notification: Performance of SimCode: time 1.092e-06/0.1276, allocations: 0 / 430.4 MB, free: 6.148 MB / 426.7 MB Notification: Performance of Templates: time 0.1844/0.3119, allocations: 20.4 MB / 450.8 MB, free: 107.1 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,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.409002303145826]