Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.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.002655/0.002655, allocations: 91.61 kB / 20.96 MB, free: 3.465 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.002763/0.002763, allocations: 165.3 kB / 24.28 MB, free: 156 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 1.591/1.591, allocations: 177.1 MB / 204.6 MB, free: 5.617 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.3599/0.3599, allocations: 32.8 MB / 293.9 MB, free: 1.203 MB / 266.7 MB " [Timeout remaining time 179] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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.0.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.0.0_ModelicaTest.MultiBody.Forces.DifferentiationOfForces") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.502e-06/1.502e-06, allocations: 0 / 375.3 MB, free: 4.984 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.719e-05/2.869e-05, allocations: 2.312 kB / 375.3 MB, free: 4.98 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.DifferentiationOfForces): time 0.01342/0.01345, allocations: 9.172 MB / 384.4 MB, free: 11.77 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.008619/0.02207, allocations: 3.742 MB / 388.2 MB, free: 8.012 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001481/0.02355, allocations: 63.69 kB / 388.2 MB, free: 7.949 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.006215/0.02977, allocations: 2.96 MB / 391.2 MB, free: 4.98 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.006224/0.03599, allocations: 1.719 MB / 392.9 MB, free: 3.254 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002694/0.03869, allocations: 0.7872 MB / 393.7 MB, free: 2.465 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.008959/0.04764, allocations: 4.277 MB / 398 MB, free: 14.18 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007334/0.05498, allocations: 3.116 MB / 401.1 MB, free: 11 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006435/0.06141, allocations: 2.152 MB / 403.3 MB, free: 8.84 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006751/0.06816, allocations: 2.085 MB / 405.3 MB, free: 6.75 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001558/0.06972, allocations: 320 kB / 405.7 MB, free: 6.438 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004705/0.07443, allocations: 1.131 MB / 406.8 MB, free: 5.305 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.004517/0.07894, allocations: 1.878 MB / 408.7 MB, free: 3.422 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.004328/0.08327, allocations: 1.168 MB / 409.8 MB, free: 2.25 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01712/0.1004, allocations: 6.788 MB / 416.6 MB, free: 11.44 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.173e-06/0.1004, allocations: 0 / 416.6 MB, free: 11.44 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.054e-06/0.1004, allocations: 0 / 416.6 MB, free: 11.44 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0002501/0.1006, allocations: 4 kB / 416.6 MB, free: 11.44 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.02197/0.1226, allocations: 5.15 MB / 421.8 MB, free: 6.227 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.417e-05/0.1227, allocations: 12.03 kB / 421.8 MB, free: 6.215 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03679/0.1595, allocations: 2.885 MB / 424.7 MB, free: 3.324 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01203/0.1715, allocations: 2.282 MB / 427 MB, free: 0.9922 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004401/0.1719, allocations: 214 kB / 427.2 MB, free: 0.7812 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00219/0.1741, allocations: 296.2 kB / 427.4 MB, free: 0.4922 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01888/0.193, allocations: 5.714 MB / 433.2 MB, free: 9.902 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002172/0.1932, allocations: 47.62 kB / 433.2 MB, free: 9.855 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001166/0.1944, allocations: 139.9 kB / 433.3 MB, free: 9.719 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003423/0.1978, allocations: 1.646 MB / 435 MB, free: 8.066 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01194/0.2097, allocations: 2.936 MB / 437.9 MB, free: 5.129 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2309/0.4407, allocations: 41.57 MB / 479.5 MB, free: 63.42 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003718/0.4444, allocations: 1.141 MB / 480.6 MB, free: 63.09 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009238/0.4453, allocations: 491.7 kB / 481.1 MB, free: 62.96 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002527/0.4456, allocations: 89.42 kB / 481.2 MB, free: 62.95 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.289e-05/0.4456, allocations: 48.17 kB / 481.3 MB, free: 62.9 MB / 410.7 MB Notification: Performance of pre-optimization done (n=122): time 3.537e-06/0.4456, allocations: 0 / 481.3 MB, free: 62.9 MB / 410.7 MB Notification: Performance of matching and sorting (n=140): time 0.02109/0.4667, allocations: 8.539 MB / 489.8 MB, free: 59.57 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.216e-05/0.4668, allocations: 196.8 kB / 490 MB, free: 59.35 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003988/0.4707, allocations: 4.032 MB / 494 MB, free: 57.63 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001297/0.4709, allocations: 44.86 kB / 494.1 MB, free: 57.59 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001504/0.4724, allocations: 3.269 MB / 497.3 MB, free: 55.26 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006016/0.473, allocations: 0.6298 MB / 498 MB, free: 54.82 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001724/0.4747, allocations: 1.397 MB / 499.4 MB, free: 54.08 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 7.351e-05/0.4748, allocations: 481.4 kB / 499.8 MB, free: 53.61 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001605/0.4764, allocations: 0.7201 MB / 0.4888 GB, free: 53.49 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003571/0.4799, allocations: 5.959 MB / 0.4946 GB, free: 46.41 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006482/0.4864, allocations: 7.237 MB / 0.5017 GB, free: 38.6 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002492/0.4867, allocations: 33.69 kB / 0.5017 GB, free: 38.6 MB / 410.7 MB Notification: Performance of matching and sorting (n=701) (initialization): time 0.0111/0.4978, allocations: 5.197 MB / 0.5068 GB, free: 36.72 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001348/0.4979, allocations: 55.19 kB / 0.5069 GB, free: 36.72 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002147/0.4981, allocations: 117.1 kB / 0.507 GB, free: 36.72 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001632/0.4998, allocations: 494.7 kB / 0.5074 GB, free: 36.68 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003638/0.5034, allocations: 1.228 MB / 0.5086 GB, free: 36.52 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003375/0.5068, allocations: 3.131 MB / 0.5117 GB, free: 34.1 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00396/0.5107, allocations: 323 kB / 0.512 GB, free: 33.99 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007032/0.5114, allocations: 336.2 kB / 0.5123 GB, free: 33.95 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.002169/0.5136, allocations: 0.7094 MB / 0.513 GB, free: 33.42 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007127/0.5143, allocations: 325.8 kB / 0.5133 GB, free: 33.24 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003194/0.5175, allocations: 1.361 MB / 0.5147 GB, free: 32.82 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.669e-05/0.5175, allocations: 19.48 kB / 0.5147 GB, free: 32.82 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.647e-06/0.5176, allocations: 3.031 kB / 0.5147 GB, free: 32.82 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.293e-05/0.5176, allocations: 8.359 kB / 0.5147 GB, free: 32.82 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01035/0.5279, allocations: 5.46 MB / 0.52 GB, free: 28.23 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.063e-05/0.5279, allocations: 4.438 kB / 0.52 GB, free: 28.22 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009766/0.5289, allocations: 204 kB / 0.5202 GB, free: 28.06 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001352/0.5303, allocations: 317.6 kB / 0.5205 GB, free: 27.88 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001127/0.5304, allocations: 31.89 kB / 0.5206 GB, free: 27.85 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002862/0.5332, allocations: 2.806 MB / 0.5233 GB, free: 25.08 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.235e-06/0.5332, allocations: 4 kB / 0.5233 GB, free: 25.08 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004606/0.5378, allocations: 2.588 MB / 0.5258 GB, free: 22.82 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007199/0.5386, allocations: 285.6 kB / 0.5261 GB, free: 22.55 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004733/0.539, allocations: 16.8 kB / 0.5261 GB, free: 22.54 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001366/0.5404, allocations: 99.16 kB / 0.5262 GB, free: 22.48 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002894/0.5407, allocations: 117 kB / 0.5263 GB, free: 22.41 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.545e-05/0.5408, allocations: 39.8 kB / 0.5264 GB, free: 22.38 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.002831/0.5436, allocations: 1.631 MB / 0.528 GB, free: 21 MB / 410.7 MB Notification: Performance of sort global known variables: time 9e-08/0.5436, allocations: 0 / 0.528 GB, free: 21 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.004352/0.548, allocations: 0.9223 MB / 0.5289 GB, free: 20.08 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.0003931/0.5484, allocations: 157.3 kB / 0.529 GB, free: 19.92 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.005245/0.5536, allocations: 3.116 MB / 0.532 GB, free: 17.19 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 4.649e-06/0.5536, allocations: 4 kB / 0.5321 GB, free: 17.18 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001231/0.5548, allocations: 0.806 MB / 0.5328 GB, free: 16.46 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002152/0.557, allocations: 366.6 kB / 0.5332 GB, free: 16.17 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01018/0.5672, allocations: 6.672 MB / 0.5397 GB, free: 10.03 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002184/0.5694, allocations: 2.257 MB / 0.5419 GB, free: 8.164 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.002875/0.5722, allocations: 1.45 MB / 0.5433 GB, free: 6.707 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005195/0.5727, allocations: 200.4 kB / 0.5435 GB, free: 6.512 MB / 410.7 MB Notification: Performance of SimCode: time 2.275e-06/0.5727, allocations: 0 / 0.5435 GB, free: 6.512 MB / 410.7 MB Notification: Performance of Templates: time 0.05619/0.6289, allocations: 25.15 MB / 0.5681 GB, free: 13.81 MB / 442.7 MB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.DifferentiationOfForces.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.DifferentiationOfForces.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.DifferentiationOfForces.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.DifferentiationOfForces.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.DifferentiationOfForces.sim & ./ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.DifferentiationOfForces -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.DifferentiationOfForces.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.DifferentiationOfForces_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Forces/DifferentiationOfForces/DifferentiationOfForces.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.DifferentiationOfForces.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 6.803678461001255]