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.00132/0.00132, allocations: 87.62 kB / 21.44 MB, free: 3.129 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.007259/0.007259, allocations: 160.1 kB / 24.69 MB, free: 9.43 MB / 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.8977/0.8977, allocations: 177.1 MB / 205 MB, free: 5.738 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.2419/0.2419, allocations: 34.26 MB / 295.7 MB, free: 0.6953 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 / 443.5 MB, free: 1.141 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.14e-05/3.302e-05, allocations: 4.812 kB / 443.5 MB, free: 1.137 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.DifferentiationOfForces): time 0.1901/0.1902, allocations: 8.418 MB / 451.9 MB, free: 39.82 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.005668/0.1958, allocations: 3.638 MB / 455.5 MB, free: 37.57 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001236/0.1971, allocations: 61.53 kB / 455.6 MB, free: 37.55 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002462/0.1995, allocations: 2.824 MB / 458.4 MB, free: 36.36 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003085/0.2026, allocations: 1.708 MB / 460.1 MB, free: 35.58 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0011/0.2037, allocations: 0.776 MB / 460.9 MB, free: 35.25 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.003606/0.2073, allocations: 4.279 MB / 465.2 MB, free: 33.61 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002364/0.2097, allocations: 3.032 MB / 468.2 MB, free: 32.25 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002596/0.2123, allocations: 2.133 MB / 470.3 MB, free: 31.31 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001897/0.2142, allocations: 2.025 MB / 472.3 MB, free: 30.75 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004297/0.2146, allocations: 317.8 kB / 472.7 MB, free: 30.75 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001435/0.216, allocations: 1.143 MB / 473.8 MB, free: 30.55 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0009767/0.217, allocations: 1.853 MB / 475.7 MB, free: 29.75 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0008718/0.2179, allocations: 1.167 MB / 476.8 MB, free: 29.17 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005638/0.2235, allocations: 6.771 MB / 483.6 MB, free: 26.85 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.861e-06/0.2235, allocations: 0 / 483.6 MB, free: 26.85 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.954e-06/0.2235, allocations: 0 / 483.6 MB, free: 26.85 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0002358/0.2238, allocations: 1.906 kB / 483.6 MB, free: 26.85 MB / 410.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.009316/0.2331, allocations: 4.394 MB / 488 MB, free: 24.36 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.961e-05/0.2331, allocations: 8.875 kB / 488 MB, free: 24.36 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008409/0.2415, allocations: 2.52 MB / 490.5 MB, free: 23.99 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005336/0.2469, allocations: 2.395 MB / 492.9 MB, free: 22.8 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001435/0.247, allocations: 219.4 kB / 493.1 MB, free: 22.7 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008392/0.2479, allocations: 297.4 kB / 493.4 MB, free: 22.59 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01322/0.2611, allocations: 8.782 MB / 0.4904 GB, free: 18.02 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000104/0.2612, allocations: 36.89 kB / 0.4905 GB, free: 18 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003009/0.2615, allocations: 141 kB / 0.4906 GB, free: 17.9 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001707/0.2632, allocations: 1.653 MB / 0.4922 GB, free: 17.26 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009887/0.2731, allocations: 7.202 MB / 0.4992 GB, free: 12.09 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02575/0.2988, allocations: 31.42 MB / 0.5299 GB, free: 11.72 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002972/0.3018, allocations: 1.946 MB / 0.5318 GB, free: 9.742 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001109/0.3029, allocations: 1.185 MB / 0.533 GB, free: 8.547 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000182/0.3031, allocations: 100.4 kB / 0.5331 GB, free: 8.449 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.113e-05/0.3031, allocations: 51.11 kB / 0.5331 GB, free: 8.391 MB / 442.7 MB Notification: Performance of pre-optimization done (n=122): time 3.366e-06/0.3031, allocations: 3.938 kB / 0.5331 GB, free: 8.387 MB / 442.7 MB Notification: Performance of matching and sorting (n=140): time 0.01689/0.32, allocations: 11.73 MB / 0.5446 GB, free: 12.59 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.794e-05/0.3201, allocations: 196.6 kB / 0.5448 GB, free: 12.35 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003082/0.3232, allocations: 3.5 MB / 0.5482 GB, free: 8.832 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001802/0.3233, allocations: 57.64 kB / 0.5483 GB, free: 8.77 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001193/0.3245, allocations: 2.922 MB / 0.5511 GB, free: 5.816 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004536/0.325, allocations: 0.5738 MB / 0.5517 GB, free: 5.238 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000946/0.3259, allocations: 1.092 MB / 0.5527 GB, free: 4.137 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 6.814e-05/0.326, allocations: 301.1 kB / 0.553 GB, free: 3.84 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001761/0.3278, allocations: 1.806 MB / 0.5548 GB, free: 2.027 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003139/0.3309, allocations: 5.24 MB / 0.5599 GB, free: 11.07 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00564/0.3365, allocations: 7.508 MB / 0.5672 GB, free: 1.895 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.161e-05/0.3366, allocations: 39.94 kB / 0.5673 GB, free: 1.855 MB / 474.7 MB Notification: Performance of matching and sorting (n=701) (initialization): time 0.008082/0.3447, allocations: 7.211 MB / 0.5743 GB, free: 10.63 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.046e-05/0.3447, allocations: 56 kB / 0.5744 GB, free: 10.58 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.463e-05/0.3448, allocations: 116 kB / 0.5745 GB, free: 10.46 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009513/0.3458, allocations: 0.6777 MB / 0.5751 GB, free: 9.785 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001947/0.3477, allocations: 1.244 MB / 0.5764 GB, free: 8.539 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003332/0.351, allocations: 4.196 MB / 0.5805 GB, free: 4.25 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002376/0.3534, allocations: 332.9 kB / 0.5808 GB, free: 3.926 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000319/0.3537, allocations: 328 kB / 0.5811 GB, free: 3.605 MB / 490.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.002508/0.3563, allocations: 1.948 MB / 0.583 GB, free: 1.645 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004769/0.3567, allocations: 290 kB / 0.5833 GB, free: 1.359 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002573/0.3593, allocations: 2.218 MB / 0.5854 GB, free: 15.12 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.116e-05/0.3593, allocations: 23.98 kB / 0.5854 GB, free: 15.1 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.704e-06/0.3593, allocations: 7.938 kB / 0.5855 GB, free: 15.09 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.096e-06/0.3593, allocations: 7.812 kB / 0.5855 GB, free: 15.09 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006571/0.3659, allocations: 5.297 MB / 0.5906 GB, free: 9.75 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.372e-06/0.3659, allocations: 0 / 0.5906 GB, free: 9.75 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005442/0.3665, allocations: 211.7 kB / 0.5908 GB, free: 9.543 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008089/0.3673, allocations: 0.5041 MB / 0.5913 GB, free: 9.035 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.232e-05/0.3673, allocations: 27.98 kB / 0.5914 GB, free: 9.008 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002998/0.3703, allocations: 3.786 MB / 0.5951 GB, free: 5.125 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.673e-06/0.3703, allocations: 0 / 0.5951 GB, free: 5.125 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004498/0.3748, allocations: 4.387 MB / 0.5993 GB, free: 0.6992 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006941/0.3755, allocations: 281.8 kB / 0.5996 GB, free: 432 kB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001817/0.3757, allocations: 24 kB / 0.5996 GB, free: 408 kB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006402/0.3764, allocations: 103.8 kB / 0.5997 GB, free: 304 kB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000187/0.3765, allocations: 104.4 kB / 0.5998 GB, free: 200 kB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.176e-05/0.3766, allocations: 39.98 kB / 0.5999 GB, free: 160 kB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.002387/0.379, allocations: 2.037 MB / 0.6019 GB, free: 14.12 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.81e-07/0.379, allocations: 4 kB / 0.6019 GB, free: 14.12 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.002996/0.382, allocations: 0.9178 MB / 0.6028 GB, free: 13.2 MB / 0.5105 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.0003551/0.3823, allocations: 167 kB / 0.6029 GB, free: 13.03 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.00466/0.387, allocations: 4.145 MB / 0.607 GB, free: 8.902 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 4.84e-06/0.387, allocations: 4 kB / 0.607 GB, free: 8.898 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.001392/0.3884, allocations: 1.162 MB / 0.6081 GB, free: 7.727 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001485/0.3899, allocations: 354.2 kB / 0.6084 GB, free: 7.391 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009913/0.3998, allocations: 8.448 MB / 0.6167 GB, free: 14.89 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001921/0.4017, allocations: 2.483 MB / 0.6191 GB, free: 12.37 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006699/0.4024, allocations: 248.4 kB / 0.6194 GB, free: 12.13 MB / 0.5261 GB Notification: Performance of SimCode: time 1.733e-06/0.4024, allocations: 0 / 0.6194 GB, free: 12.13 MB / 0.5261 GB Notification: Performance of Templates: time 0.2145/0.6169, allocations: 68.48 MB / 0.6862 GB, free: 130.1 MB / 0.5261 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.560175481252372]