Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.FrameTorques.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.00146/0.00146, allocations: 92.31 kB / 20.96 MB, free: 3.477 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.001671/0.001671, allocations: 165.7 kB / 24.26 MB, free: 176 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.601/1.601, allocations: 177.2 MB / 204.6 MB, free: 5.582 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.3636/0.3636, allocations: 32.8 MB / 293.9 MB, free: 1.199 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.FrameTorques,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|Revolute1.phi|Revolute1.w|Revolute2.phi|Revolute2.w",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.FrameTorques") translateModel(ModelicaTest.MultiBody.Forces.FrameTorques,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|Revolute1.phi|Revolute1.w|Revolute2.phi|Revolute2.w",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.FrameTorques") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.094e-06/2.094e-06, allocations: 0 / 375.3 MB, free: 4.965 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.52e-05/3.729e-05, allocations: 5.547 kB / 375.3 MB, free: 4.961 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.FrameTorques): time 0.02083/0.02087, allocations: 11.11 MB / 386.4 MB, free: 9.793 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.01327/0.03414, allocations: 4.294 MB / 390.7 MB, free: 5.484 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002598/0.03673, allocations: 103.5 kB / 390.8 MB, free: 5.383 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.008748/0.04548, allocations: 3.859 MB / 394.6 MB, free: 1.512 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.007038/0.05252, allocations: 2.317 MB / 397 MB, free: 15.18 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002987/0.05551, allocations: 1.119 MB / 398.1 MB, free: 14.06 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.01199/0.0675, allocations: 6.805 MB / 404.9 MB, free: 7.246 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.008198/0.07569, allocations: 4.131 MB / 409 MB, free: 3.043 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007931/0.08363, allocations: 2.986 MB / 412 MB, free: 52 kB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006041/0.08967, allocations: 2.895 MB / 414.9 MB, free: 13.15 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001634/0.0913, allocations: 424 kB / 415.3 MB, free: 12.73 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003969/0.09527, allocations: 1.404 MB / 416.7 MB, free: 11.33 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.004241/0.09951, allocations: 2.618 MB / 419.3 MB, free: 8.703 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.004388/0.1039, allocations: 1.593 MB / 420.9 MB, free: 7.105 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01383/0.1177, allocations: 8.797 MB / 429.7 MB, free: 14.28 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.631e-06/0.1177, allocations: 4 kB / 429.7 MB, free: 14.28 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.914e-06/0.1177, allocations: 0 / 429.7 MB, free: 14.28 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0003711/0.1181, allocations: 0 / 429.7 MB, free: 14.28 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: 1729 * Number of variables: 1729 Notification: Performance of Generate backend data structure: time 0.01826/0.1364, allocations: 6.193 MB / 435.9 MB, free: 8.02 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.283e-05/0.1364, allocations: 8.031 kB / 435.9 MB, free: 8.012 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01469/0.1511, allocations: 3.169 MB / 439.1 MB, free: 4.836 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01015/0.1613, allocations: 3.683 MB / 442.8 MB, free: 1.105 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003367/0.1616, allocations: 283.5 kB / 443 MB, free: 0.8281 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001635/0.1632, allocations: 384.1 kB / 443.4 MB, free: 464 kB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1932/0.3564, allocations: 11.77 MB / 455.2 MB, free: 93.6 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001502/0.3566, allocations: 55.61 kB / 455.2 MB, free: 93.57 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004732/0.3571, allocations: 178.5 kB / 455.4 MB, free: 93.49 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002932/0.36, allocations: 2.154 MB / 457.6 MB, free: 93.12 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01676/0.3767, allocations: 9.713 MB / 467.3 MB, free: 90.16 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05333/0.4301, allocations: 43.49 MB / 0.4988 GB, free: 58.85 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0104/0.4405, allocations: 3.732 MB / 0.5025 GB, free: 55.89 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00246/0.4429, allocations: 2.008 MB / 0.5044 GB, free: 54.13 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009164/0.4521, allocations: 5.364 MB / 0.5096 GB, free: 49.55 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.57e-05/0.4521, allocations: 52.39 kB / 0.5097 GB, free: 49.5 MB / 410.7 MB Notification: Performance of pre-optimization done (n=150): time 4.999e-06/0.4522, allocations: 4 kB / 0.5097 GB, free: 49.5 MB / 410.7 MB Notification: Performance of matching and sorting (n=162): time 0.04139/0.4935, allocations: 18.53 MB / 0.5278 GB, free: 31.48 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.587e-05/0.4936, allocations: 222.3 kB / 0.528 GB, free: 31.21 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005237/0.4988, allocations: 4.958 MB / 0.5329 GB, free: 26.37 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002393/0.4991, allocations: 49.14 kB / 0.5329 GB, free: 26.32 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001406/0.5005, allocations: 3.845 MB / 0.5367 GB, free: 22.5 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005572/0.501, allocations: 0.6698 MB / 0.5373 GB, free: 21.83 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001296/0.5023, allocations: 1.391 MB / 0.5387 GB, free: 20.43 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 5.269e-05/0.5024, allocations: 305.1 kB / 0.539 GB, free: 20.13 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002508/0.5049, allocations: 2.328 MB / 0.5412 GB, free: 17.8 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003867/0.5088, allocations: 6.613 MB / 0.5477 GB, free: 9.078 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008634/0.5174, allocations: 9.535 MB / 0.557 GB, free: 13.45 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001409/0.5175, allocations: 40 kB / 0.557 GB, free: 13.41 MB / 426.7 MB Notification: Performance of matching and sorting (n=892) (initialization): time 0.02087/0.5384, allocations: 9.932 MB / 0.5667 GB, free: 3.469 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001145/0.5385, allocations: 68 kB / 0.5668 GB, free: 3.402 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002149/0.5387, allocations: 152.1 kB / 0.5669 GB, free: 3.254 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003857/0.5426, allocations: 1.291 MB / 0.5682 GB, free: 1.957 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00556/0.5482, allocations: 1.556 MB / 0.5697 GB, free: 408 kB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01324/0.5614, allocations: 8.205 MB / 0.5777 GB, free: 7.992 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005697/0.5671, allocations: 437.6 kB / 0.5782 GB, free: 7.566 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001336/0.5684, allocations: 416 kB / 0.5786 GB, free: 7.16 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 680 * Number of states: 0 () * Number of discrete variables: 49 (frameTorque2.arrow.twoHeadedArrow,frameTorque2.arrow.headAtOrigin,frameTorque1.arrow.twoHeadedArrow,frameTorque1.arrow.headAtOrigin,Revolute2.cylinderColor[3],Revolute2.cylinderColor[2],Revolute2.cylinderColor[1],frameTorque2.color[3],frameTorque2.color[2],frameTorque2.color[1],frameTorque1.color[3],frameTorque1.color[2],frameTorque1.color[1],FixedRotation1.color[3],FixedRotation1.color[2],FixedRotation1.color[1],fixed2.color[3],fixed2.color[2],fixed2.color[1],body2.color[3],body2.color[2],body2.color[1],body2.body.sphereColor[3],body2.body.sphereColor[2],body2.body.sphereColor[1],fixed1.color[3],fixed1.color[2],fixed1.color[1],body1.color[3],body1.color[2],body1.color[1],body1.body.sphereColor[3],body1.body.sphereColor[2],body1.body.sphereColor[1],Revolute1.cylinderColor[3],Revolute1.cylinderColor[2],Revolute1.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 (830): * Single equations (assignments): 823 * Array equations: 5 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,14,100.0%), (2,13,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.005684/0.5741, allocations: 2.453 MB / 0.581 GB, free: 4.691 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001431/0.5755, allocations: 441.3 kB / 0.5814 GB, free: 4.258 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008199/0.5837, allocations: 3.419 MB / 0.5847 GB, free: 0.8164 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.902e-05/0.5838, allocations: 20 kB / 0.5847 GB, free: 0.7969 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.044e-05/0.5838, allocations: 4 kB / 0.5847 GB, free: 0.793 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.319e-05/0.5838, allocations: 7.922 kB / 0.5847 GB, free: 0.7852 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01902/0.6029, allocations: 7.332 MB / 0.5919 GB, free: 9.402 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.565e-05/0.6029, allocations: 4 kB / 0.5919 GB, free: 9.398 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001436/0.6043, allocations: 259.9 kB / 0.5922 GB, free: 9.145 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003662/0.608, allocations: 1.061 MB / 0.5932 GB, free: 8.078 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002638/0.6082, allocations: 38.09 kB / 0.5932 GB, free: 8.043 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01215/0.6204, allocations: 7.571 MB / 0.6006 GB, free: 288 kB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.121e-05/0.6204, allocations: 4 kB / 0.6006 GB, free: 284 kB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1889/0.8093, allocations: 5.999 MB / 0.6065 GB, free: 128.9 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001617/0.8109, allocations: 411.9 kB / 0.6069 GB, free: 128.9 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001788/0.8127, allocations: 32.55 kB / 0.6069 GB, free: 128.9 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004692/0.8174, allocations: 155.3 kB / 0.6071 GB, free: 128.9 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006221/0.818, allocations: 102.3 kB / 0.6072 GB, free: 128.9 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001902/0.8182, allocations: 45.69 kB / 0.6072 GB, free: 128.8 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.006802/0.825, allocations: 2.936 MB / 0.6101 GB, free: 127.9 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.8e-07/0.825, allocations: 0 / 0.6101 GB, free: 127.9 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.009379/0.8344, allocations: 1.284 MB / 0.6113 GB, free: 127.7 MB / 458.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * Number of states: 4 (Revolute1.phi,Revolute1.w,Revolute2.phi,Revolute2.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 (120): * Single equations (assignments): 115 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,11,100.0%), (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.0006291/0.835, allocations: 174.8 kB / 0.6115 GB, free: 127.6 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.01061/0.8457, allocations: 5.415 MB / 0.6168 GB, free: 125.8 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 9.859e-06/0.8457, allocations: 3.25 kB / 0.6168 GB, free: 125.8 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002985/0.8486, allocations: 1.571 MB / 0.6183 GB, free: 125.1 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005045/0.8537, allocations: 0.5424 MB / 0.6188 GB, free: 124.9 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01921/0.8729, allocations: 11.03 MB / 0.6296 GB, free: 120.1 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004587/0.8775, allocations: 3.258 MB / 0.6328 GB, free: 119.2 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.004729/0.8822, allocations: 2.026 MB / 0.6348 GB, free: 119 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009367/0.8832, allocations: 262 kB / 0.635 GB, free: 119 MB / 458.7 MB Notification: Performance of SimCode: time 1.303e-06/0.8832, allocations: 1.438 kB / 0.635 GB, free: 119 MB / 458.7 MB Notification: Performance of Templates: time 0.06991/0.9531, allocations: 37.28 MB / 0.6714 GB, free: 94.84 MB / 458.7 MB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.FrameTorques.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.FrameTorques.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.FrameTorques.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.FrameTorques.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.FrameTorques.sim & ./ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.FrameTorques -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.FrameTorques.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.FrameTorques_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Forces/FrameTorques/FrameTorques.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.FrameTorques.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.328248997917399]