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.001006/0.001006, allocations: 87.67 kB / 21.2 MB, free: 3.367 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.0009033/0.0009033, allocations: 156.5 kB / 24.55 MB, free: 12 kB / 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.956/0.956, allocations: 177 MB / 204.8 MB, free: 5.578 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.275/0.275, allocations: 34.86 MB / 296.3 MB, free: 0.5469 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.353e-06/1.353e-06, allocations: 0 / 378.8 MB, free: 2.078 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.824e-05/2.96e-05, allocations: 7.156 kB / 378.8 MB, free: 2.07 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.DifferentiationOfForces): time 0.01306/0.01309, allocations: 9.234 MB / 388 MB, free: 8.793 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.01665/0.02974, allocations: 3.761 MB / 391.8 MB, free: 5.02 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001502/0.03124, allocations: 67.69 kB / 391.8 MB, free: 4.953 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.007944/0.03918, allocations: 2.96 MB / 394.8 MB, free: 1.984 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.005327/0.04451, allocations: 1.727 MB / 396.5 MB, free: 256 kB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001957/0.04647, allocations: 0.7794 MB / 397.3 MB, free: 15.47 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.005172/0.05164, allocations: 4.283 MB / 401.6 MB, free: 11.18 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003128/0.05477, allocations: 3.124 MB / 404.7 MB, free: 7.984 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002414/0.05718, allocations: 2.144 MB / 406.9 MB, free: 5.836 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001838/0.05902, allocations: 2.085 MB / 408.9 MB, free: 3.746 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000344/0.05936, allocations: 320 kB / 409.3 MB, free: 3.434 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001285/0.06065, allocations: 1.131 MB / 410.4 MB, free: 2.301 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001008/0.06166, allocations: 1.874 MB / 412.3 MB, free: 432 kB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0008911/0.06255, allocations: 1.176 MB / 413.4 MB, free: 15.24 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004152/0.0667, allocations: 4.407 MB / 417.8 MB, free: 10.82 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.228e-06/0.0667, allocations: 0 / 417.8 MB, free: 10.82 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.223e-06/0.0667, allocations: 0 / 417.8 MB, free: 10.82 MB / 394.7 MB Notification: Performance of Transformations before backend: time 5.041e-05/0.06676, allocations: 0 / 417.8 MB, free: 10.82 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.004557/0.07131, allocations: 4.745 MB / 422.6 MB, free: 6.016 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.989e-05/0.07134, allocations: 8.031 kB / 422.6 MB, free: 6.008 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007982/0.07932, allocations: 2.889 MB / 425.5 MB, free: 3.113 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003677/0.083, allocations: 2.236 MB / 427.7 MB, free: 0.8242 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000144/0.08314, allocations: 222 kB / 427.9 MB, free: 0.6055 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006216/0.08377, allocations: 288.2 kB / 428.2 MB, free: 332 kB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007248/0.09101, allocations: 5.277 MB / 433.5 MB, free: 10.18 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.602e-05/0.0911, allocations: 35.7 kB / 433.5 MB, free: 10.14 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002973/0.0914, allocations: 135.9 kB / 433.7 MB, free: 10.01 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001601/0.093, allocations: 1.661 MB / 435.3 MB, free: 8.34 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005481/0.09848, allocations: 2.57 MB / 437.9 MB, free: 5.77 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1766/0.2751, allocations: 38 MB / 475.9 MB, free: 58.99 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002584/0.2777, allocations: 1.013 MB / 476.9 MB, free: 58.85 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000593/0.2783, allocations: 404.4 kB / 477.3 MB, free: 58.8 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002176/0.2785, allocations: 102 kB / 477.4 MB, free: 58.8 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.818e-05/0.2786, allocations: 51.39 kB / 477.4 MB, free: 58.76 MB / 410.7 MB Notification: Performance of pre-optimization done (n=122): time 5.21e-06/0.2786, allocations: 0 / 477.4 MB, free: 58.76 MB / 410.7 MB Notification: Performance of matching and sorting (n=140): time 0.01321/0.2918, allocations: 7.692 MB / 485.1 MB, free: 55.66 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.257e-05/0.2918, allocations: 196.4 kB / 485.3 MB, free: 55.44 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002999/0.2948, allocations: 3.168 MB / 488.5 MB, free: 54.13 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 9.123e-05/0.2949, allocations: 40.64 kB / 488.5 MB, free: 54.09 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001178/0.2961, allocations: 3.091 MB / 491.6 MB, free: 51.94 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004271/0.2965, allocations: 0.5968 MB / 492.2 MB, free: 51.52 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008839/0.2974, allocations: 1.197 MB / 493.4 MB, free: 50.88 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.415e-05/0.2974, allocations: 476.8 kB / 493.9 MB, free: 50.41 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008329/0.2983, allocations: 0.5481 MB / 494.4 MB, free: 50.33 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002171/0.3004, allocations: 5.606 MB / 0.4883 GB, free: 43.46 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003932/0.3044, allocations: 6.729 MB / 0.4949 GB, free: 36.18 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.155e-05/0.3044, allocations: 35.62 kB / 0.4949 GB, free: 36.18 MB / 410.7 MB Notification: Performance of matching and sorting (n=701) (initialization): time 0.00739/0.3118, allocations: 4.851 MB / 0.4997 GB, free: 34.41 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.758e-05/0.3119, allocations: 55.72 kB / 0.4997 GB, free: 34.41 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001509/0.3121, allocations: 119.7 kB / 0.4998 GB, free: 34.41 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001115/0.3132, allocations: 474.2 kB / 0.5003 GB, free: 34.38 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002534/0.3157, allocations: 1.233 MB / 0.5015 GB, free: 34.22 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002781/0.3185, allocations: 3.024 MB / 0.5044 GB, free: 31.86 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003358/0.3219, allocations: 321.1 kB / 0.5047 GB, free: 31.76 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005317/0.3224, allocations: 334.6 kB / 0.5051 GB, free: 31.71 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.001555/0.3239, allocations: 0.6076 MB / 0.5057 GB, free: 31.22 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006579/0.3246, allocations: 320.2 kB / 0.506 GB, free: 31.05 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001845/0.3264, allocations: 1.106 MB / 0.507 GB, free: 30.68 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.461e-05/0.3265, allocations: 17.84 kB / 0.5071 GB, free: 30.68 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.968e-06/0.3265, allocations: 3.062 kB / 0.5071 GB, free: 30.68 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.056e-05/0.3265, allocations: 6.141 kB / 0.5071 GB, free: 30.68 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006361/0.3329, allocations: 4.313 MB / 0.5113 GB, free: 28.87 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.464e-06/0.3329, allocations: 3.938 kB / 0.5113 GB, free: 28.86 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005395/0.3334, allocations: 203 kB / 0.5115 GB, free: 28.85 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007545/0.3342, allocations: 301.4 kB / 0.5118 GB, free: 28.82 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.327e-05/0.3342, allocations: 26.83 kB / 0.5118 GB, free: 28.8 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001893/0.3361, allocations: 2.718 MB / 0.5144 GB, free: 26.54 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.485e-06/0.3361, allocations: 3.938 kB / 0.5145 GB, free: 26.54 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002726/0.3388, allocations: 2.066 MB / 0.5165 GB, free: 25.52 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004936/0.3393, allocations: 273.5 kB / 0.5167 GB, free: 25.34 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001814/0.3395, allocations: 19.81 kB / 0.5167 GB, free: 25.32 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006482/0.3402, allocations: 96.56 kB / 0.5168 GB, free: 25.31 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002241/0.3404, allocations: 109.7 kB / 0.5169 GB, free: 25.29 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.841e-05/0.3405, allocations: 41.77 kB / 0.517 GB, free: 25.28 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.001631/0.3421, allocations: 1.346 MB / 0.5183 GB, free: 24.82 MB / 410.7 MB Notification: Performance of sort global known variables: time 7e-08/0.3421, allocations: 0 / 0.5183 GB, free: 24.82 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.003185/0.3453, allocations: 0.918 MB / 0.5192 GB, free: 24.71 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.0004089/0.3457, allocations: 167.8 kB / 0.5194 GB, free: 24.59 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.004008/0.3497, allocations: 2.597 MB / 0.5219 GB, free: 22.97 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 6.081e-06/0.3497, allocations: 5.531 kB / 0.5219 GB, free: 22.97 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007796/0.3505, allocations: 0.6334 MB / 0.5225 GB, free: 22.38 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00139/0.3519, allocations: 371.2 kB / 0.5229 GB, free: 22.09 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009204/0.3611, allocations: 6.536 MB / 0.5293 GB, free: 16.07 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001111/0.3622, allocations: 1.135 MB / 0.5304 GB, free: 15.25 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.002226/0.3644, allocations: 1.444 MB / 0.5318 GB, free: 14.43 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004265/0.3648, allocations: 210.8 kB / 0.532 GB, free: 14.23 MB / 410.7 MB Notification: Performance of SimCode: time 3.607e-06/0.3648, allocations: 0 / 0.532 GB, free: 14.23 MB / 410.7 MB Notification: Performance of Templates: time 0.03682/0.4017, allocations: 25.16 MB / 0.5565 GB, free: 7.441 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.383979383856058]