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.001364/0.001364, allocations: 113.1 kB / 20.43 MB, free: 1.457 MB / 14.72 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.001493/0.001493, allocations: 216.3 kB / 23.75 MB, free: 4.668 MB / 14.72 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.596/1.596, allocations: 230.6 MB / 257.5 MB, free: 7.984 MB / 206.1 MB " [Timeout remaining time 178] 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.2864/0.2864, allocations: 46.94 MB / 360.9 MB, free: 4.242 MB / 286.1 MB " [Timeout remaining time 179] 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 0.002113/0.002113, allocations: 71.89 kB / 0.4966 GB, free: 7.391 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3697/0.3718, allocations: 66.03 MB / 0.5611 GB, free: 4.422 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.DifferentiationOfForces): time 0.01298/0.3848, allocations: 9.577 MB / 0.5705 GB, free: 10.8 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.009064/0.3939, allocations: 3.874 MB / 0.5743 GB, free: 6.91 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001302/0.3952, allocations: 63.69 kB / 0.5743 GB, free: 6.848 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005501/0.4007, allocations: 2.804 MB / 0.5771 GB, free: 4.035 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004923/0.4056, allocations: 1.658 MB / 0.5787 GB, free: 2.371 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002363/0.408, allocations: 0.7174 MB / 0.5794 GB, free: 1.652 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.008849/0.4168, allocations: 3.896 MB / 0.5832 GB, free: 13.75 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004176/0.421, allocations: 2.764 MB / 0.5859 GB, free: 10.92 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002837/0.4238, allocations: 1.437 MB / 0.5873 GB, free: 9.48 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003203/0.427, allocations: 2.044 MB / 0.5893 GB, free: 7.43 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008128/0.4278, allocations: 312 kB / 0.5896 GB, free: 7.125 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002479/0.4303, allocations: 1.229 MB / 0.5908 GB, free: 5.895 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002113/0.4324, allocations: 1.78 MB / 0.5925 GB, free: 4.109 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002735/0.4352, allocations: 2.012 MB / 0.5945 GB, free: 2.086 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009615/0.4448, allocations: 6.701 MB / 0.601 GB, free: 11.36 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.374e-06/0.4448, allocations: 4 kB / 0.601 GB, free: 11.36 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.114e-06/0.4448, allocations: 3.938 kB / 0.601 GB, free: 11.35 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0001486/0.4449, allocations: 0 / 0.601 GB, free: 11.35 MB / 446.1 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.009679/0.4546, allocations: 4.375 MB / 0.6053 GB, free: 6.922 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.321e-05/0.4547, allocations: 8.031 kB / 0.6053 GB, free: 6.914 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01548/0.4702, allocations: 2.463 MB / 0.6077 GB, free: 4.445 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006584/0.4767, allocations: 2.393 MB / 0.6101 GB, free: 2 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002106/0.477, allocations: 222 kB / 0.6103 GB, free: 1.781 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008791/0.4778, allocations: 292 kB / 0.6106 GB, free: 1.496 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01539/0.4932, allocations: 8.728 MB / 0.6191 GB, free: 8.125 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001327/0.4934, allocations: 47.62 kB / 0.6191 GB, free: 8.078 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003823/0.4937, allocations: 135.9 kB / 0.6192 GB, free: 7.945 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002802/0.4965, allocations: 1.657 MB / 0.6209 GB, free: 6.285 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01389/0.5104, allocations: 7.211 MB / 0.6279 GB, free: 15.07 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04776/0.5582, allocations: 33.34 MB / 0.6605 GB, free: 12.73 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005173/0.5634, allocations: 1.898 MB / 0.6623 GB, free: 10.79 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002021/0.5654, allocations: 1.182 MB / 0.6635 GB, free: 9.594 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003246/0.5657, allocations: 112.1 kB / 0.6636 GB, free: 9.484 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.004e-05/0.5658, allocations: 51.05 kB / 0.6636 GB, free: 9.426 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=122): time 3.807e-06/0.5658, allocations: 0 / 0.6636 GB, free: 9.426 MB / 0.4981 GB Notification: Performance of matching and sorting (n=140): time 0.0374/0.6032, allocations: 11.43 MB / 0.6748 GB, free: 13.93 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001747/0.6033, allocations: 192.6 kB / 0.675 GB, free: 13.7 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007407/0.6108, allocations: 3.59 MB / 0.6785 GB, free: 10.11 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0002644/0.611, allocations: 49.69 kB / 0.6785 GB, free: 10.05 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.00285/0.6139, allocations: 2.924 MB / 0.6814 GB, free: 7.102 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008676/0.6147, allocations: 0.5855 MB / 0.682 GB, free: 6.512 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002117/0.6169, allocations: 1.111 MB / 0.683 GB, free: 5.391 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001496/0.617, allocations: 305.1 kB / 0.6833 GB, free: 5.09 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00304/0.62, allocations: 1.802 MB / 0.6851 GB, free: 3.281 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006264/0.6263, allocations: 5.186 MB / 0.6902 GB, free: 12.39 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01045/0.6368, allocations: 7.525 MB / 0.6975 GB, free: 3.191 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.738e-05/0.6369, allocations: 36 kB / 0.6975 GB, free: 3.156 MB / 0.5294 GB Notification: Performance of matching and sorting (n=701) (initialization): time 0.01481/0.6517, allocations: 7.232 MB / 0.7046 GB, free: 11.91 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 9.162e-05/0.6518, allocations: 56 kB / 0.7047 GB, free: 11.86 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001711/0.6519, allocations: 120 kB / 0.7048 GB, free: 11.74 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001784/0.6537, allocations: 0.6759 MB / 0.7054 GB, free: 11.06 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004137/0.6578, allocations: 1.232 MB / 0.7066 GB, free: 9.828 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006182/0.664, allocations: 4.243 MB / 0.7108 GB, free: 5.477 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003842/0.6679, allocations: 300.2 kB / 0.7111 GB, free: 5.184 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007745/0.6686, allocations: 332 kB / 0.7114 GB, free: 4.859 MB / 0.545 GB 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.003589/0.6722, allocations: 1.959 MB / 0.7133 GB, free: 2.887 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006819/0.6729, allocations: 313.9 kB / 0.7136 GB, free: 2.578 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004935/0.6779, allocations: 2.244 MB / 0.7158 GB, free: 328 kB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.167e-05/0.6779, allocations: 16 kB / 0.7158 GB, free: 312 kB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.278e-05/0.6779, allocations: 4 kB / 0.7158 GB, free: 308 kB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.636e-05/0.6779, allocations: 7.969 kB / 0.7158 GB, free: 300 kB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01421/0.6921, allocations: 6.115 MB / 0.7218 GB, free: 10.11 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.849e-05/0.6921, allocations: 4 kB / 0.7218 GB, free: 10.11 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001143/0.6933, allocations: 215.7 kB / 0.722 GB, free: 9.895 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001629/0.6949, allocations: 0.4963 MB / 0.7225 GB, free: 9.395 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001416/0.6951, allocations: 27.98 kB / 0.7225 GB, free: 9.367 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005501/0.7006, allocations: 3.817 MB / 0.7262 GB, free: 5.434 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.575e-06/0.7006, allocations: 4 kB / 0.7262 GB, free: 5.43 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008517/0.7091, allocations: 4.412 MB / 0.7305 GB, free: 0.9922 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001185/0.7103, allocations: 293.7 kB / 0.7308 GB, free: 0.7031 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006841/0.7109, allocations: 20.06 kB / 0.7308 GB, free: 0.6836 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001524/0.7125, allocations: 83.89 kB / 0.7309 GB, free: 0.6016 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003239/0.7128, allocations: 104.3 kB / 0.731 GB, free: 0.5 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001243/0.7129, allocations: 39.98 kB / 0.7311 GB, free: 472 kB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.3221/1.035, allocations: 2.23 MB / 0.7332 GB, free: 152 MB / 0.5606 GB Notification: Performance of sort global known variables: time 2.51e-07/1.035, allocations: 0 / 0.7332 GB, free: 152 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.005237/1.04, allocations: 0.842 MB / 0.7341 GB, free: 152 MB / 0.5606 GB 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.0004326/1.041, allocations: 154.5 kB / 0.7342 GB, free: 151.9 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.006422/1.047, allocations: 4.14 MB / 0.7383 GB, free: 150.7 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 4.759e-06/1.047, allocations: 0.5938 kB / 0.7383 GB, free: 150.7 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.001566/1.049, allocations: 1.171 MB / 0.7394 GB, free: 150.2 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002371/1.051, allocations: 380.3 kB / 0.7398 GB, free: 150.1 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0117/1.063, allocations: 8.149 MB / 0.7477 GB, free: 146.6 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002552/1.065, allocations: 3.041 MB / 0.7507 GB, free: 144.8 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.003243/1.069, allocations: 1.706 MB / 0.7523 GB, free: 143.7 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004958/1.069, allocations: 217.5 kB / 0.7526 GB, free: 143.5 MB / 0.5606 GB Notification: Performance of SimCode: time 1.082e-06/1.069, allocations: 0 / 0.7526 GB, free: 143.5 MB / 0.5606 GB Notification: Performance of Templates: time 0.05421/1.123, allocations: 30.9 MB / 0.7827 GB, free: 113.5 MB / 0.5606 GB " [Timeout remaining time 659] 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=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.DifferentiationOfForces.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.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: 7.4438836560584605]