Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameTorques.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.001181/0.001181, allocations: 80.11 kB / 9.934 MB, free: 0.7539 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001763/0.002945, allocations: 449.7 kB / 10.37 MB, free: 324 kB / 10.45 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.00111/0.00111, allocations: 165.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001365/0.002476, allocations: 463.6 kB / 11.72 MB, free: 2.453 MB / 13.93 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 0.971/0.971, allocations: 177.4 MB / 189.9 MB, free: 4.844 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09178/1.063, allocations: 53.86 MB / 243.7 MB, free: 14.92 MB / 250.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.258/0.258, allocations: 34.86 MB / 279.3 MB, free: 14.92 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02546/0.2834, allocations: 13.23 MB / 292.6 MB, free: 6.484 MB / 282.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.FrameTorques,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|Revolute1.phi|Revolute1.w|Revolute2.phi|Revolute2.w",fileNamePrefix="ModelicaTest_trunk_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_trunk_ModelicaTest.MultiBody.Forces.FrameTorques") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.224e-06/2.224e-06, allocations: 4 kB / 293.9 MB, free: 5.195 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.163e-05/1.386e-05, allocations: 4 kB / 293.9 MB, free: 5.191 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.FrameTorques): time 0.009508/0.009521, allocations: 12.11 MB / 306 MB, free: 9.031 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.007527/0.01705, allocations: 4.606 MB / 310.6 MB, free: 4.41 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001157/0.01821, allocations: 103.4 kB / 310.7 MB, free: 4.309 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003677/0.02188, allocations: 3.773 MB / 314.5 MB, free: 0.5195 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004003/0.02589, allocations: 2.302 MB / 316.8 MB, free: 14.21 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001394/0.02728, allocations: 1.021 MB / 317.8 MB, free: 13.18 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.004968/0.03225, allocations: 6.27 MB / 324.1 MB, free: 6.914 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002656/0.0349, allocations: 3.777 MB / 327.8 MB, free: 3.047 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003416/0.03832, allocations: 3.791 MB / 331.6 MB, free: 15.23 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002849/0.04117, allocations: 2.786 MB / 334.4 MB, free: 12.44 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0007208/0.04189, allocations: 416 kB / 334.8 MB, free: 12.04 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00162/0.04351, allocations: 1.424 MB / 336.2 MB, free: 10.61 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001472/0.04498, allocations: 2.354 MB / 338.6 MB, free: 8.25 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001174/0.04616, allocations: 1.301 MB / 339.9 MB, free: 6.945 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004045/0.0502, allocations: 5.282 MB / 345.2 MB, free: 1.645 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.364e-05/0.05021, allocations: 0 / 345.2 MB, free: 1.645 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.454e-06/0.05022, allocations: 0 / 345.2 MB, free: 1.645 MB / 330.7 MB Notification: Performance of Transformations before backend: time 8.099e-05/0.0503, allocations: 4 kB / 345.2 MB, free: 1.641 MB / 330.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.006692/0.05699, allocations: 6.748 MB / 351.9 MB, free: 10.82 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.301e-05/0.05702, allocations: 11.44 kB / 351.9 MB, free: 10.81 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003004/0.06003, allocations: 1.3 MB / 353.2 MB, free: 9.508 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002968/0.06299, allocations: 2.607 MB / 355.9 MB, free: 6.848 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001254/0.06312, allocations: 279.5 kB / 356.1 MB, free: 6.574 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003781/0.0635, allocations: 376.1 kB / 356.5 MB, free: 6.207 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005502/0.069, allocations: 5.8 MB / 362.3 MB, free: 15.54 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.263e-05/0.06908, allocations: 59.5 kB / 362.3 MB, free: 15.48 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002719/0.06935, allocations: 175.8 kB / 362.5 MB, free: 15.31 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001444/0.0708, allocations: 1.905 MB / 364.4 MB, free: 13.41 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003977/0.07477, allocations: 2.863 MB / 367.3 MB, free: 10.49 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02392/0.09869, allocations: 36.69 MB / 404 MB, free: 4.414 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003513/0.1022, allocations: 1.748 MB / 405.7 MB, free: 2.613 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003727/0.1026, allocations: 326 kB / 406 MB, free: 2.281 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004426/0.107, allocations: 3.823 MB / 409.9 MB, free: 14.43 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.451e-05/0.107, allocations: 54.48 kB / 409.9 MB, free: 14.36 MB / 410.7 MB Notification: Performance of pre-optimization done (n=118): time 3.326e-06/0.107, allocations: 0 / 409.9 MB, free: 14.36 MB / 410.7 MB Notification: Performance of matching and sorting (n=120): time 0.008661/0.1157, allocations: 4.021 MB / 413.9 MB, free: 10.27 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.333e-05/0.1158, allocations: 181.8 kB / 414.1 MB, free: 10.05 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003792/0.1196, allocations: 4.041 MB / 418.2 MB, free: 5.988 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 6.601e-05/0.1196, allocations: 49.69 kB / 418.2 MB, free: 5.934 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001926/0.1216, allocations: 3.677 MB / 421.9 MB, free: 2.219 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003859/0.1219, allocations: 0.5431 MB / 422.4 MB, free: 1.672 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001296/0.1232, allocations: 1.326 MB / 423.8 MB, free: 344 kB / 410.7 MB Notification: Performance of setup shared object (initialization): time 8.605e-05/0.1233, allocations: 305.1 kB / 424.1 MB, free: 36 kB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001416/0.1247, allocations: 0.7806 MB / 424.8 MB, free: 15.25 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003608/0.1284, allocations: 5.203 MB / 430 MB, free: 7.766 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.165/0.2933, allocations: 6.606 MB / 436.6 MB, free: 113.6 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001984/0.2935, allocations: 45.84 kB / 436.7 MB, free: 113.6 MB / 426.7 MB Notification: Performance of matching and sorting (n=896) (initialization): time 0.006067/0.2996, allocations: 4.696 MB / 441.4 MB, free: 112.7 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.286e-05/0.2997, allocations: 72.84 kB / 441.5 MB, free: 112.7 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001098/0.2998, allocations: 161 kB / 441.6 MB, free: 112.7 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004082/0.3002, allocations: 285.8 kB / 441.9 MB, free: 112.7 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002372/0.3026, allocations: 1.711 MB / 443.6 MB, free: 112.6 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009708/0.3035, allocations: 2.696 MB / 446.3 MB, free: 110.2 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002215/0.3057, allocations: 325.4 kB / 446.6 MB, free: 110.1 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002653/0.306, allocations: 372.7 kB / 447 MB, free: 110.1 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 736 * 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 (860): * Single equations (assignments): 853 * 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,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001002/0.307, allocations: 0.7015 MB / 447.7 MB, free: 109.9 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002844/0.3073, allocations: 235.5 kB / 447.9 MB, free: 109.9 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006393/0.3079, allocations: 0.6374 MB / 448.5 MB, free: 109.8 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.235e-05/0.3079, allocations: 15.75 kB / 448.6 MB, free: 109.8 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.549e-06/0.3079, allocations: 0 / 448.6 MB, free: 109.8 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.374e-06/0.308, allocations: 7.688 kB / 448.6 MB, free: 109.8 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003694/0.3116, allocations: 3.927 MB / 452.5 MB, free: 108.9 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.891e-06/0.3117, allocations: 7.906 kB / 452.5 MB, free: 108.9 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004008/0.3121, allocations: 186.4 kB / 452.7 MB, free: 108.9 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002951/0.3123, allocations: 380.2 kB / 453.1 MB, free: 108.9 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003671/0.3127, allocations: 308.3 kB / 453.4 MB, free: 108.9 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.403e-05/0.3128, allocations: 26.19 kB / 453.4 MB, free: 108.9 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006839/0.3134, allocations: 2.412 MB / 455.8 MB, free: 106.5 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.291e-06/0.3134, allocations: 15.88 kB / 455.8 MB, free: 106.5 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001057/0.3145, allocations: 1.633 MB / 457.4 MB, free: 105.5 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002156/0.3147, allocations: 33.52 kB / 457.5 MB, free: 105.5 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005572/0.3153, allocations: 23.47 kB / 457.5 MB, free: 105.5 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.553e-05/0.3154, allocations: 81.02 kB / 457.6 MB, free: 105.5 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.886e-05/0.3154, allocations: 34.64 kB / 457.6 MB, free: 105.5 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0009614/0.3164, allocations: 1.505 MB / 459.1 MB, free: 105.4 MB / 426.7 MB Notification: Performance of sort global known variables: time 4.1e-08/0.3164, allocations: 0 / 459.1 MB, free: 105.4 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.00259/0.3189, allocations: 1.096 MB / 460.2 MB, free: 104.9 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 28 * 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 (97): * Single equations (assignments): 92 * 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,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002377/0.3192, allocations: 161.1 kB / 460.4 MB, free: 104.8 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.002027/0.3212, allocations: 2.723 MB / 463.1 MB, free: 102.6 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 0.0001532/0.3214, allocations: 119.1 kB / 463.2 MB, free: 102.5 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003151/0.3217, allocations: 0.4995 MB / 463.7 MB, free: 102 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001656/0.3233, allocations: 1.018 MB / 464.7 MB, free: 101.4 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01008/0.3334, allocations: 8.732 MB / 473.5 MB, free: 93.57 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00102/0.3344, allocations: 1.445 MB / 474.9 MB, free: 92.33 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.001143/0.3356, allocations: 0.5711 MB / 475.5 MB, free: 91.75 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006919/0.3363, allocations: 0.6075 MB / 476.1 MB, free: 91.14 MB / 426.7 MB Notification: Performance of SimCode: time 1.513e-06/0.3363, allocations: 0 / 476.1 MB, free: 91.14 MB / 426.7 MB Notification: Performance of Templates: time 0.04228/0.3785, allocations: 31.27 MB / 0.4955 GB, free: 60.44 MB / 426.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameTorques.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameTorques.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameTorques.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameTorques.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameTorques.sim & ./ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameTorques -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameTorques.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameTorques_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Forces/FrameTorques/FrameTorques.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.072155215777457]