Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Torque.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00102/0.00102, allocations: 82.59 kB / 21.43 MB, free: 3.07 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001423/0.001423, allocations: 166.1 kB / 24.82 MB, free: 9.258 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.04/1.04, allocations: 177 MB / 205.1 MB, free: 5.488 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2645/0.2645, allocations: 34.86 MB / 296.6 MB, free: 0.5078 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.MultiBody.Forces.Torque,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|Revolute1.phi|Revolute1.w|Revolute2.phi|Revolute2.w|Revolute3.phi|Revolute3.w|Revolute4.phi|Revolute4.w",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Torque") translateModel(ModelicaTest.MultiBody.Forces.Torque,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|Revolute1.phi|Revolute1.w|Revolute2.phi|Revolute2.w|Revolute3.phi|Revolute3.w|Revolute4.phi|Revolute4.w",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Torque") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.292e-06/1.292e-06, allocations: 0 / 379.2 MB, free: 1.824 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.339e-05/1.468e-05, allocations: 8.641 kB / 379.3 MB, free: 1.816 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.Torque): time 0.01002/0.01004, allocations: 14.61 MB / 393.9 MB, free: 3.137 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.006856/0.01689, allocations: 4.824 MB / 398.7 MB, free: 14.3 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001314/0.01821, allocations: 123.4 kB / 398.8 MB, free: 14.18 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.004784/0.02299, allocations: 5.292 MB / 404.1 MB, free: 8.867 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00362/0.02661, allocations: 2.663 MB / 406.8 MB, free: 6.191 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001455/0.02807, allocations: 1.185 MB / 407.9 MB, free: 5.004 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.00631/0.03438, allocations: 7.623 MB / 415.6 MB, free: 13.37 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004124/0.0385, allocations: 5.119 MB / 420.7 MB, free: 8.168 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003957/0.04246, allocations: 4.69 MB / 425.4 MB, free: 3.469 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00274/0.0452, allocations: 3.429 MB / 428.8 MB, free: 32 kB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0005572/0.04575, allocations: 0.5079 MB / 429.3 MB, free: 15.52 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001541/0.0473, allocations: 1.358 MB / 430.7 MB, free: 14.16 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001772/0.04907, allocations: 3.187 MB / 433.9 MB, free: 10.97 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001367/0.05043, allocations: 1.971 MB / 435.8 MB, free: 8.992 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005021/0.05546, allocations: 6.671 MB / 442.5 MB, free: 2.297 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.848e-06/0.05546, allocations: 0 / 442.5 MB, free: 2.297 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.464e-06/0.05546, allocations: 4 kB / 442.5 MB, free: 2.293 MB / 410.7 MB Notification: Performance of Transformations before backend: time 6.746e-05/0.05553, allocations: 0 / 442.5 MB, free: 2.293 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: 2161 * Number of variables: 2161 Notification: Performance of Generate backend data structure: time 0.1489/0.2044, allocations: 7.714 MB / 450.2 MB, free: 94.29 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.662e-05/0.2045, allocations: 14.2 kB / 450.2 MB, free: 94.29 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005471/0.2099, allocations: 2.381 MB / 452.6 MB, free: 93.82 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00324/0.2132, allocations: 3.218 MB / 455.8 MB, free: 92.92 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001301/0.2133, allocations: 356.5 kB / 456.2 MB, free: 92.8 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004115/0.2137, allocations: 485.6 kB / 456.7 MB, free: 92.68 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006508/0.2202, allocations: 7.956 MB / 464.6 MB, free: 87.97 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001045/0.2203, allocations: 64.34 kB / 464.7 MB, free: 87.96 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000314/0.2207, allocations: 227.8 kB / 464.9 MB, free: 87.86 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001535/0.2222, allocations: 2.339 MB / 467.2 MB, free: 87.42 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008633/0.2308, allocations: 3.45 MB / 470.7 MB, free: 86.84 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04518/0.276, allocations: 62 MB / 0.5202 GB, free: 35.01 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005895/0.2819, allocations: 2.376 MB / 0.5225 GB, free: 33.9 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009488/0.2828, allocations: 0.6301 MB / 0.5231 GB, free: 33.33 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006623/0.2895, allocations: 4.966 MB / 0.528 GB, free: 28.96 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.686e-05/0.2895, allocations: 58.48 kB / 0.528 GB, free: 28.89 MB / 410.7 MB Notification: Performance of pre-optimization done (n=176): time 4.028e-06/0.2895, allocations: 0 / 0.528 GB, free: 28.89 MB / 410.7 MB Notification: Performance of matching and sorting (n=185): time 0.02061/0.3101, allocations: 8.688 MB / 0.5365 GB, free: 21 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.217e-05/0.3102, allocations: 226.8 kB / 0.5367 GB, free: 20.72 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003827/0.314, allocations: 5.303 MB / 0.5419 GB, free: 15.45 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001451/0.3141, allocations: 53.7 kB / 0.542 GB, free: 15.39 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001602/0.3157, allocations: 5.072 MB / 0.5469 GB, free: 10.28 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005809/0.3163, allocations: 0.8261 MB / 0.5477 GB, free: 9.445 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001242/0.3176, allocations: 1.904 MB / 0.5496 GB, free: 7.52 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.952e-05/0.3176, allocations: 476.8 kB / 0.55 GB, free: 7.051 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001115/0.3187, allocations: 0.7856 MB / 0.5508 GB, free: 6.258 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004047/0.3228, allocations: 8.898 MB / 0.5595 GB, free: 9.656 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009021/0.3318, allocations: 10.55 MB / 0.5698 GB, free: 11.46 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002436/0.332, allocations: 56 kB / 0.5699 GB, free: 11.41 MB / 442.7 MB Notification: Performance of matching and sorting (n=1111) (initialization): time 0.01308/0.3451, allocations: 7.073 MB / 0.5768 GB, free: 4.328 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.016e-05/0.3452, allocations: 88 kB / 0.5768 GB, free: 4.242 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002014/0.3454, allocations: 192.6 kB / 0.577 GB, free: 4.055 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001628/0.347, allocations: 0.6005 MB / 0.5776 GB, free: 3.445 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003722/0.3508, allocations: 1.907 MB / 0.5795 GB, free: 1.535 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004216/0.355, allocations: 5.353 MB / 0.5847 GB, free: 11.95 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004568/0.3595, allocations: 383.6 kB / 0.5851 GB, free: 11.58 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009726/0.3605, allocations: 452 kB / 0.5855 GB, free: 11.14 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 874 * Number of states: 0 () * Number of discrete variables: 67 (torque2.torqueArrow.twoHeadedArrow,torque2.torqueArrow.headAtOrigin,torque1.torqueArrow.twoHeadedArrow,torque1.torqueArrow.headAtOrigin,fixed4.color[3],fixed4.color[2],fixed4.color[1],fixed2.color[3],fixed2.color[2],fixed2.color[1],Revolute4.cylinderColor[3],Revolute4.cylinderColor[2],Revolute4.cylinderColor[1],Revolute3.cylinderColor[3],Revolute3.cylinderColor[2],Revolute3.cylinderColor[1],Revolute2.cylinderColor[3],Revolute2.cylinderColor[2],Revolute2.cylinderColor[1],torque2.connectionLineColor[3],torque2.connectionLineColor[2],torque2.connectionLineColor[1],torque2.torqueColor[3],torque2.torqueColor[2],torque2.torqueColor[1],torque1.connectionLineColor[3],torque1.connectionLineColor[2],torque1.connectionLineColor[1],torque1.torqueColor[3],torque1.torqueColor[2],torque1.torqueColor[1],fixedRotation.color[3],fixedRotation.color[2],fixedRotation.color[1],fixed3.color[3],fixed3.color[2],fixed3.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 (1059): * Single equations (assignments): 1052 * 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 {(2,8,100.0%), (2,8,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002157/0.3627, allocations: 0.8904 MB / 0.5864 GB, free: 10.23 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001188/0.3639, allocations: 0.5203 MB / 0.5869 GB, free: 9.707 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002259/0.3661, allocations: 1.47 MB / 0.5883 GB, free: 8.223 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.287e-05/0.3661, allocations: 20 kB / 0.5883 GB, free: 8.203 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.17e-05/0.3661, allocations: 4 kB / 0.5883 GB, free: 8.199 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.447e-05/0.3662, allocations: 19.89 kB / 0.5884 GB, free: 8.18 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009873/0.376, allocations: 6.708 MB / 0.5949 GB, free: 1.293 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.016e-05/0.376, allocations: 8 kB / 0.5949 GB, free: 1.285 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006133/0.3767, allocations: 255.7 kB / 0.5952 GB, free: 1.035 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001095/0.3778, allocations: 370.9 kB / 0.5955 GB, free: 0.6641 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001063/0.3779, allocations: 36 kB / 0.5955 GB, free: 0.6289 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003493/0.3814, allocations: 4.974 MB / 0.6004 GB, free: 11.43 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.751e-06/0.3814, allocations: 12 kB / 0.6004 GB, free: 11.42 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003488/0.3848, allocations: 2.889 MB / 0.6032 GB, free: 8.383 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007699/0.3856, allocations: 460.6 kB / 0.6037 GB, free: 7.93 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002927/0.3859, allocations: 43.97 kB / 0.6037 GB, free: 7.887 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007955/0.3867, allocations: 40 kB / 0.6038 GB, free: 7.848 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001634/0.3869, allocations: 136.5 kB / 0.6039 GB, free: 7.715 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.677e-05/0.3869, allocations: 40 kB / 0.6039 GB, free: 7.676 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.002121/0.3891, allocations: 2.118 MB / 0.606 GB, free: 5.578 MB / 474.7 MB Notification: Performance of sort global known variables: time 6e-08/0.3891, allocations: 0 / 0.606 GB, free: 5.578 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.004617/0.3937, allocations: 1.48 MB / 0.6074 GB, free: 4.098 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 32 * Number of states: 8 (Revolute1.phi,Revolute1.w,Revolute3.phi,Revolute3.w,Revolute2.phi,Revolute2.w,Revolute4.phi,Revolute4.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 (150): * Single equations (assignments): 145 * 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 {(2,8,100.0%), (2,8,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003805/0.3941, allocations: 191.9 kB / 0.6076 GB, free: 3.902 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.1475/0.5415, allocations: 3.935 MB / 0.6115 GB, free: 134.6 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 1.145e-05/0.5415, allocations: 0 / 0.6115 GB, free: 134.6 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001499/0.543, allocations: 0.9695 MB / 0.6124 GB, free: 134.3 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002995/0.546, allocations: 0.596 MB / 0.613 GB, free: 134.2 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0147/0.5607, allocations: 10.89 MB / 0.6236 GB, free: 129.7 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00186/0.5626, allocations: 1.789 MB / 0.6254 GB, free: 129.5 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.00199/0.5646, allocations: 0.6888 MB / 0.6261 GB, free: 129.3 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001039/0.5656, allocations: 0.7825 MB / 0.6268 GB, free: 129.2 MB / 474.7 MB Notification: Performance of SimCode: time 1.523e-06/0.5656, allocations: 0 / 0.6268 GB, free: 129.2 MB / 474.7 MB Notification: Performance of Templates: time 0.1037/0.6693, allocations: 44.4 MB / 0.6702 GB, free: 113.7 MB / 474.7 MB " [Timeout remaining time 659] make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Torque.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Torque.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Torque.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Torque.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Torque.sim & ./ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Torque -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Torque.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Torque_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Forces/Torque/Torque.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: 4.889410233590752]