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.001125/0.001125, allocations: 79.69 kB / 21.7 MB, free: 2.852 MB / 18.57 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.001659/0.001659, allocations: 168.2 kB / 24.99 MB, free: 8.801 MB / 18.57 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.9931/0.9931, allocations: 177 MB / 205.2 MB, free: 5.582 MB / 186.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.2655/0.2655, allocations: 34.86 MB / 296.6 MB, free: 0.5781 MB / 266.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.693e-06/1.693e-06, allocations: 3.938 kB / 378.8 MB, free: 2.426 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.894e-05/3.063e-05, allocations: 2.312 kB / 378.8 MB, free: 2.422 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.DifferentiationOfForces): time 0.00906/0.00909, allocations: 9.215 MB / 388 MB, free: 9.16 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.006759/0.01585, allocations: 3.742 MB / 391.7 MB, free: 5.406 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001347/0.0172, allocations: 59.75 kB / 391.8 MB, free: 5.348 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003393/0.02059, allocations: 2.959 MB / 394.7 MB, free: 2.379 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00298/0.02357, allocations: 1.727 MB / 396.5 MB, free: 0.6445 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001145/0.02471, allocations: 0.7755 MB / 397.2 MB, free: 15.87 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.003976/0.02869, allocations: 4.286 MB / 401.5 MB, free: 11.57 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002789/0.03148, allocations: 3.12 MB / 404.6 MB, free: 8.387 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002777/0.03426, allocations: 2.144 MB / 406.8 MB, free: 6.238 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002785/0.03704, allocations: 2.085 MB / 408.9 MB, free: 4.148 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0005356/0.03758, allocations: 316 kB / 409.2 MB, free: 3.84 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001529/0.03911, allocations: 1.143 MB / 410.3 MB, free: 2.695 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001327/0.04043, allocations: 1.87 MB / 412.2 MB, free: 0.8203 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001317/0.04175, allocations: 1.176 MB / 413.4 MB, free: 15.64 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005214/0.04696, allocations: 4.399 MB / 417.8 MB, free: 11.23 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.945e-06/0.04697, allocations: 4 kB / 417.8 MB, free: 11.22 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.753e-06/0.04697, allocations: 0 / 417.8 MB, free: 11.22 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0001474/0.04712, allocations: 0 / 417.8 MB, free: 11.22 MB / 394.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.006954/0.05407, allocations: 4.737 MB / 422.5 MB, free: 6.426 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.175e-05/0.05412, allocations: 12.03 kB / 422.5 MB, free: 6.414 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008119/0.06223, allocations: 2.897 MB / 425.4 MB, free: 3.512 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003132/0.06537, allocations: 2.236 MB / 427.7 MB, free: 1.223 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001134/0.06548, allocations: 218 kB / 427.9 MB, free: 1.008 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003455/0.06582, allocations: 292.2 kB / 428.2 MB, free: 0.7227 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006462/0.07229, allocations: 5.269 MB / 433.4 MB, free: 10.58 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.605e-05/0.07237, allocations: 43.69 kB / 433.5 MB, free: 10.54 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002819/0.07265, allocations: 147.9 kB / 433.6 MB, free: 10.39 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001795/0.07445, allocations: 1.646 MB / 435.3 MB, free: 8.742 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006988/0.08144, allocations: 2.57 MB / 437.8 MB, free: 6.172 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1765/0.258, allocations: 38 MB / 475.8 MB, free: 65.16 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00295/0.2609, allocations: 1.016 MB / 476.8 MB, free: 64.9 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007075/0.2616, allocations: 405.9 kB / 477.2 MB, free: 64.79 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002142/0.2619, allocations: 98.55 kB / 477.3 MB, free: 64.78 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.787e-05/0.2619, allocations: 50.38 kB / 477.4 MB, free: 64.73 MB / 410.7 MB Notification: Performance of pre-optimization done (n=122): time 4.709e-06/0.2619, allocations: 4.344 kB / 477.4 MB, free: 64.73 MB / 410.7 MB Notification: Performance of matching and sorting (n=140): time 0.01621/0.2781, allocations: 7.683 MB / 485.1 MB, free: 61.64 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.264e-05/0.2782, allocations: 196.8 kB / 485.3 MB, free: 61.41 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003164/0.2813, allocations: 3.158 MB / 488.4 MB, free: 60.11 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 9.206e-05/0.2814, allocations: 55.22 kB / 488.5 MB, free: 60.06 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001272/0.2827, allocations: 3.086 MB / 491.6 MB, free: 57.84 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004384/0.2831, allocations: 0.6018 MB / 492.2 MB, free: 57.41 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001116/0.2842, allocations: 1.191 MB / 493.3 MB, free: 56.77 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.918e-05/0.2843, allocations: 487.1 kB / 493.8 MB, free: 56.3 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001065/0.2853, allocations: 0.5419 MB / 494.4 MB, free: 56.23 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002528/0.2879, allocations: 5.615 MB / 500 MB, free: 49.32 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004538/0.2924, allocations: 6.711 MB / 0.4948 GB, free: 41.7 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.427e-05/0.2925, allocations: 33.53 kB / 0.4948 GB, free: 41.7 MB / 410.7 MB Notification: Performance of matching and sorting (n=701) (initialization): time 0.008321/0.3008, allocations: 4.858 MB / 0.4996 GB, free: 39.93 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.91e-05/0.3009, allocations: 55.81 kB / 0.4996 GB, free: 39.93 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001308/0.301, allocations: 124.5 kB / 0.4998 GB, free: 39.92 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001027/0.302, allocations: 478.7 kB / 0.5002 GB, free: 39.89 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002234/0.3043, allocations: 1.224 MB / 0.5014 GB, free: 39.73 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002329/0.3066, allocations: 3.031 MB / 0.5044 GB, free: 37.38 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00259/0.3092, allocations: 319.2 kB / 0.5047 GB, free: 37.27 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003487/0.3095, allocations: 334.2 kB / 0.505 GB, free: 37.23 MB / 410.7 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.001156/0.3107, allocations: 0.6043 MB / 0.5056 GB, free: 36.74 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004224/0.3111, allocations: 335.2 kB / 0.5059 GB, free: 36.55 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001669/0.3128, allocations: 1.092 MB / 0.507 GB, free: 36.2 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.639e-05/0.3128, allocations: 15.84 kB / 0.507 GB, free: 36.2 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.128e-05/0.3128, allocations: 3.969 kB / 0.507 GB, free: 36.2 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.807e-06/0.3128, allocations: 6.281 kB / 0.507 GB, free: 36.2 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005843/0.3187, allocations: 4.316 MB / 0.5112 GB, free: 34.38 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.843e-06/0.3187, allocations: 4 kB / 0.5112 GB, free: 34.38 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005396/0.3192, allocations: 211.1 kB / 0.5114 GB, free: 34.36 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007409/0.32, allocations: 302.9 kB / 0.5117 GB, free: 34.32 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.817e-05/0.32, allocations: 26.42 kB / 0.5117 GB, free: 34.31 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00171/0.3217, allocations: 2.708 MB / 0.5144 GB, free: 32.04 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.046e-06/0.3217, allocations: 3.938 kB / 0.5144 GB, free: 32.04 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0026/0.3243, allocations: 2.067 MB / 0.5164 GB, free: 31.02 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006242/0.325, allocations: 271.1 kB / 0.5167 GB, free: 30.84 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002298/0.3252, allocations: 23 kB / 0.5167 GB, free: 30.82 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007434/0.3259, allocations: 98.47 kB / 0.5168 GB, free: 30.81 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002815/0.3262, allocations: 107.6 kB / 0.5169 GB, free: 30.79 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.129e-05/0.3263, allocations: 37.61 kB / 0.5169 GB, free: 30.79 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.001897/0.3282, allocations: 1.349 MB / 0.5182 GB, free: 30.32 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.7e-07/0.3282, allocations: 0 / 0.5182 GB, free: 30.32 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.003874/0.3321, allocations: 0.9188 MB / 0.5191 GB, free: 29.72 MB / 410.7 MB 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.0004353/0.3325, allocations: 168.2 kB / 0.5193 GB, free: 29.55 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.004576/0.3371, allocations: 2.61 MB / 0.5218 GB, free: 27.24 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 6.031e-06/0.3371, allocations: 0 / 0.5218 GB, free: 27.24 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008801/0.338, allocations: 0.6268 MB / 0.5225 GB, free: 26.66 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001789/0.3397, allocations: 368.7 kB / 0.5228 GB, free: 26.38 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00852/0.3483, allocations: 6.534 MB / 0.5292 GB, free: 20.35 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009806/0.3492, allocations: 1.129 MB / 0.5303 GB, free: 19.54 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.001967/0.3512, allocations: 1.454 MB / 0.5317 GB, free: 18.71 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003824/0.3516, allocations: 199.7 kB / 0.5319 GB, free: 18.52 MB / 410.7 MB Notification: Performance of SimCode: time 2.805e-06/0.3516, allocations: 0 / 0.5319 GB, free: 18.52 MB / 410.7 MB Notification: Performance of Templates: time 0.03476/0.3863, allocations: 25.17 MB / 0.5565 GB, free: 10.81 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 -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: 4.196521082893014]