Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.DifferentiationOfForces.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001051/0.001051, allocations: 83.58 kB / 21.19 MB, free: 3.379 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001148/0.001148, allocations: 161.4 kB / 24.56 MB, free: 12 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9419/0.9419, allocations: 177.1 MB / 205 MB, free: 5.602 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2598/0.2598, allocations: 34.26 MB / 295.7 MB, free: 0.7734 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.MultiBody.Forces.DifferentiationOfForces,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|rev.phi|rev.w",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.DifferentiationOfForces") translateModel(ModelicaTest.MultiBody.Forces.DifferentiationOfForces,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|rev.phi|rev.w",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.DifferentiationOfForces") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.623e-06/1.623e-06, allocations: 0 / 378 MB, free: 2.664 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.742e-05/2.905e-05, allocations: 2.312 kB / 378 MB, free: 2.66 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.DifferentiationOfForces): time 0.008941/0.00897, allocations: 9.243 MB / 387.3 MB, free: 9.371 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.005399/0.01437, allocations: 3.761 MB / 391 MB, free: 5.598 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006637/0.01503, allocations: 63.69 kB / 391.1 MB, free: 5.535 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002675/0.01771, allocations: 2.967 MB / 394.1 MB, free: 2.559 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002153/0.01986, allocations: 1.727 MB / 395.8 MB, free: 0.8242 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001018/0.02088, allocations: 0.7833 MB / 396.6 MB, free: 40 kB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.003133/0.02401, allocations: 4.292 MB / 400.9 MB, free: 11.74 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002573/0.02658, allocations: 3.124 MB / 404 MB, free: 8.551 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002341/0.02892, allocations: 2.624 MB / 406.6 MB, free: 5.922 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001938/0.03086, allocations: 2.069 MB / 408.7 MB, free: 3.848 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0005043/0.03137, allocations: 316 kB / 409 MB, free: 3.539 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001212/0.03258, allocations: 1.139 MB / 410.1 MB, free: 2.398 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001033/0.03361, allocations: 1.87 MB / 412 MB, free: 0.5234 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001142/0.03475, allocations: 1.18 MB / 413.2 MB, free: 15.34 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003846/0.0386, allocations: 4.407 MB / 417.6 MB, free: 10.92 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.943e-06/0.03861, allocations: 4 kB / 417.6 MB, free: 10.91 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.703e-06/0.03861, allocations: 0 / 417.6 MB, free: 10.91 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0001365/0.03874, allocations: 0 / 417.6 MB, free: 10.91 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.005326/0.04407, allocations: 4.768 MB / 422.4 MB, free: 6.086 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.725e-05/0.04411, allocations: 12.03 kB / 422.4 MB, free: 6.074 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007323/0.05143, allocations: 2.85 MB / 425.2 MB, free: 3.219 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00222/0.05365, allocations: 2.087 MB / 427.3 MB, free: 1.078 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.717e-05/0.05375, allocations: 214 kB / 427.5 MB, free: 0.8672 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002863/0.05403, allocations: 292.2 kB / 427.8 MB, free: 0.582 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00493/0.05896, allocations: 5.261 MB / 433.1 MB, free: 10.45 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.9e-05/0.05903, allocations: 47.62 kB / 433.1 MB, free: 10.4 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002157/0.05925, allocations: 131.9 kB / 433.3 MB, free: 10.27 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001249/0.0605, allocations: 1.603 MB / 434.9 MB, free: 8.66 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004147/0.06464, allocations: 2.486 MB / 437.3 MB, free: 6.168 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2168/0.2814, allocations: 38.35 MB / 475.7 MB, free: 58.94 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0019/0.2833, allocations: 0.902 MB / 476.6 MB, free: 58.8 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004164/0.2837, allocations: 312.1 kB / 476.9 MB, free: 58.75 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003174/0.2869, allocations: 2.738 MB / 479.6 MB, free: 57.52 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.968e-05/0.2869, allocations: 53.05 kB / 479.7 MB, free: 57.46 MB / 410.7 MB Notification: Performance of pre-optimization done (n=101): time 3.516e-06/0.2869, allocations: 0 / 479.7 MB, free: 57.46 MB / 410.7 MB Notification: Performance of matching and sorting (n=114): time 0.008192/0.2951, allocations: 5.777 MB / 485.5 MB, free: 54.52 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.016e-05/0.2952, allocations: 196.1 kB / 485.7 MB, free: 54.3 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002651/0.2978, allocations: 3.246 MB / 488.9 MB, free: 52.96 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 8.211e-05/0.2979, allocations: 40.92 kB / 488.9 MB, free: 52.92 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001138/0.2991, allocations: 3.159 MB / 492.1 MB, free: 50.64 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002957/0.2994, allocations: 0.5102 MB / 492.6 MB, free: 50.28 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008187/0.3002, allocations: 1.184 MB / 493.8 MB, free: 49.64 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4e-05/0.3002, allocations: 478.6 kB / 494.3 MB, free: 49.18 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006981/0.3009, allocations: 0.4929 MB / 494.8 MB, free: 49.11 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001959/0.3029, allocations: 5.746 MB / 0.4888 GB, free: 41.94 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003725/0.3066, allocations: 6.808 MB / 0.4954 GB, free: 34.42 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.566e-05/0.3067, allocations: 41.34 kB / 0.4955 GB, free: 34.42 MB / 410.7 MB Notification: Performance of matching and sorting (n=695) (initialization): time 0.006078/0.3128, allocations: 4.52 MB / 0.4999 GB, free: 32.65 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.003e-05/0.3128, allocations: 67.03 kB / 0.4999 GB, free: 32.64 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001164/0.3129, allocations: 123.4 kB / 0.5001 GB, free: 32.64 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003747/0.3133, allocations: 202.8 kB / 0.5002 GB, free: 32.62 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002114/0.3154, allocations: 1.239 MB / 0.5015 GB, free: 32.47 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008613/0.3163, allocations: 1.993 MB / 0.5034 GB, free: 30.65 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002164/0.3185, allocations: 322 kB / 0.5037 GB, free: 30.55 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003208/0.3188, allocations: 337.1 kB / 0.504 GB, free: 30.51 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.0009976/0.3198, allocations: 0.6165 MB / 0.5046 GB, free: 30.01 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00039/0.3202, allocations: 311 kB / 0.5049 GB, free: 29.84 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008106/0.321, allocations: 0.6128 MB / 0.5055 GB, free: 29.57 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.916e-05/0.321, allocations: 13.5 kB / 0.5055 GB, free: 29.57 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.363e-06/0.321, allocations: 1.094 kB / 0.5055 GB, free: 29.57 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.227e-06/0.321, allocations: 11.08 kB / 0.5056 GB, free: 29.57 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004301/0.3253, allocations: 3.449 MB / 0.5089 GB, free: 28 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.951e-06/0.3253, allocations: 4 kB / 0.5089 GB, free: 28 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004661/0.3258, allocations: 185.1 kB / 0.5091 GB, free: 27.98 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001504/0.3259, allocations: 49.45 kB / 0.5092 GB, free: 27.96 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.408e-05/0.326, allocations: 26.33 kB / 0.5092 GB, free: 27.96 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005331/0.3265, allocations: 1.755 MB / 0.5109 GB, free: 26.18 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.314e-06/0.3265, allocations: 11.09 kB / 0.5109 GB, free: 26.18 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001467/0.328, allocations: 1.579 MB / 0.5124 GB, free: 25.19 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000342/0.3283, allocations: 269.3 kB / 0.5127 GB, free: 25.01 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001644/0.3285, allocations: 18.75 kB / 0.5127 GB, free: 25 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005215/0.329, allocations: 85.86 kB / 0.5128 GB, free: 24.99 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001447/0.3292, allocations: 95.53 kB / 0.5129 GB, free: 24.97 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.853e-05/0.3292, allocations: 37.78 kB / 0.5129 GB, free: 24.96 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.001301/0.3305, allocations: 1.376 MB / 0.5143 GB, free: 24.48 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.3305, allocations: 5.672 kB / 0.5143 GB, free: 24.48 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.002984/0.3335, allocations: 0.8333 MB / 0.5151 GB, free: 24.38 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.0003068/0.3338, allocations: 157.6 kB / 0.5152 GB, free: 24.27 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.003252/0.337, allocations: 2.386 MB / 0.5176 GB, free: 23.37 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 4.288e-06/0.3371, allocations: 0 / 0.5176 GB, free: 23.37 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004451/0.3375, allocations: 485.3 kB / 0.518 GB, free: 23.12 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001164/0.3387, allocations: 363 kB / 0.5184 GB, free: 22.97 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007453/0.3461, allocations: 6.361 MB / 0.5246 GB, free: 19.13 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008142/0.3469, allocations: 1.113 MB / 0.5257 GB, free: 18.32 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.002134/0.3491, allocations: 1.443 MB / 0.5271 GB, free: 17.51 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003155/0.3494, allocations: 196.3 kB / 0.5273 GB, free: 17.33 MB / 410.7 MB Notification: Performance of SimCode: time 1.723e-06/0.3494, allocations: 1.859 kB / 0.5273 GB, free: 17.33 MB / 410.7 MB Notification: Performance of Templates: time 0.03206/0.3814, allocations: 20.34 MB / 0.5471 GB, free: 1.035 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.DifferentiationOfForces.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.DifferentiationOfForces.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.DifferentiationOfForces.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.DifferentiationOfForces.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.DifferentiationOfForces.sim & ./ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.DifferentiationOfForces -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.DifferentiationOfForces.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_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.9894620119594038]