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.000762/0.000762, allocations: 76.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001086/0.001848, allocations: 457.8 kB / 10.45 MB, free: 244 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.0006945/0.0006945, allocations: 162 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.000897/0.001591, allocations: 475.6 kB / 11.82 MB, free: 2.348 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.9861/0.9861, allocations: 177.5 MB / 190 MB, free: 4.777 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09469/1.081, allocations: 53.86 MB / 243.9 MB, free: 14.85 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.2918/0.2918, allocations: 34.87 MB / 279.5 MB, free: 14.91 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.05429/0.3461, allocations: 13.24 MB / 292.8 MB, free: 6.379 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 1.663e-06/1.663e-06, allocations: 0 / 294.1 MB, free: 5.062 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.38e-05/2.546e-05, allocations: 3.078 kB / 294.1 MB, free: 5.059 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.FrameTorques): time 0.01222/0.01224, allocations: 12.12 MB / 306.2 MB, free: 8.895 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.006951/0.01919, allocations: 4.616 MB / 310.8 MB, free: 4.262 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009208/0.02011, allocations: 99.5 kB / 310.9 MB, free: 4.164 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003219/0.02333, allocations: 3.769 MB / 314.7 MB, free: 388 kB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002935/0.02627, allocations: 2.302 MB / 317 MB, free: 14.07 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001256/0.02752, allocations: 1.025 MB / 318 MB, free: 13.04 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.004714/0.03224, allocations: 6.25 MB / 324.3 MB, free: 6.789 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002894/0.03513, allocations: 3.781 MB / 328.1 MB, free: 2.918 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003865/0.039, allocations: 3.795 MB / 331.9 MB, free: 15.1 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00279/0.04179, allocations: 2.771 MB / 334.6 MB, free: 12.32 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0005306/0.04232, allocations: 420 kB / 335 MB, free: 11.91 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001869/0.04419, allocations: 1.439 MB / 336.5 MB, free: 10.47 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001725/0.04591, allocations: 2.338 MB / 338.8 MB, free: 8.129 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001326/0.04724, allocations: 1.297 MB / 340.1 MB, free: 6.828 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004786/0.05202, allocations: 5.274 MB / 345.4 MB, free: 1.535 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.084e-05/0.05203, allocations: 4 kB / 345.4 MB, free: 1.531 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.283e-06/0.05204, allocations: 0 / 345.4 MB, free: 1.531 MB / 330.7 MB Notification: Performance of Transformations before backend: time 7.706e-05/0.05211, allocations: 0 / 345.4 MB, free: 1.531 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.007659/0.05977, allocations: 6.744 MB / 352.1 MB, free: 10.71 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.26e-05/0.0598, allocations: 12.92 kB / 352.2 MB, free: 10.7 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004082/0.06389, allocations: 1.304 MB / 353.5 MB, free: 9.395 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003478/0.06736, allocations: 2.603 MB / 356.1 MB, free: 6.738 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002364/0.0676, allocations: 275.5 kB / 356.3 MB, free: 6.469 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004976/0.0681, allocations: 380.1 kB / 356.7 MB, free: 6.098 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006951/0.07505, allocations: 5.801 MB / 362.5 MB, free: 15.43 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001074/0.07516, allocations: 67.42 kB / 362.6 MB, free: 15.37 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005758/0.07573, allocations: 175.8 kB / 362.7 MB, free: 15.2 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001945/0.07768, allocations: 1.788 MB / 364.5 MB, free: 13.41 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005404/0.08308, allocations: 2.87 MB / 367.4 MB, free: 10.5 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02927/0.1124, allocations: 36.7 MB / 404.1 MB, free: 4.406 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003614/0.116, allocations: 1.748 MB / 405.8 MB, free: 2.598 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004781/0.1164, allocations: 329.9 kB / 406.2 MB, free: 2.262 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004465/0.1209, allocations: 3.838 MB / 410 MB, free: 14.39 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.402e-05/0.1209, allocations: 50.5 kB / 410.1 MB, free: 14.34 MB / 410.7 MB Notification: Performance of pre-optimization done (n=118): time 2.455e-06/0.1209, allocations: 4 kB / 410.1 MB, free: 14.33 MB / 410.7 MB Notification: Performance of matching and sorting (n=120): time 0.009073/0.13, allocations: 4.067 MB / 414.1 MB, free: 10.19 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.45e-05/0.1301, allocations: 177.7 kB / 414.3 MB, free: 9.98 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003014/0.1331, allocations: 4.048 MB / 418.3 MB, free: 5.906 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 5.205e-05/0.1331, allocations: 41.7 kB / 418.4 MB, free: 5.859 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001711/0.1349, allocations: 3.689 MB / 422.1 MB, free: 2.133 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002813/0.1351, allocations: 0.5314 MB / 422.6 MB, free: 1.598 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009138/0.136, allocations: 1.338 MB / 423.9 MB, free: 256 kB / 410.7 MB Notification: Performance of setup shared object (initialization): time 6.183e-05/0.1361, allocations: 305.1 kB / 424.2 MB, free: 15.95 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009982/0.1371, allocations: 0.7767 MB / 425 MB, free: 15.17 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002922/0.14, allocations: 5.266 MB / 430.3 MB, free: 7.586 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.1515/0.2915, allocations: 7.19 MB / 437.5 MB, free: 98.74 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001653/0.2917, allocations: 46.31 kB / 437.5 MB, free: 98.74 MB / 426.7 MB Notification: Performance of matching and sorting (n=896) (initialization): time 0.005786/0.2975, allocations: 4.728 MB / 442.3 MB, free: 98.52 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.36e-05/0.2975, allocations: 77.98 kB / 442.3 MB, free: 98.52 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001326/0.2977, allocations: 171.5 kB / 442.5 MB, free: 98.52 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003879/0.2981, allocations: 285.1 kB / 442.8 MB, free: 98.5 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002322/0.3004, allocations: 1.736 MB / 444.5 MB, free: 98.49 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001022/0.3014, allocations: 2.71 MB / 447.2 MB, free: 96.13 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002418/0.3038, allocations: 323.7 kB / 447.5 MB, free: 96.13 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002698/0.3041, allocations: 380.5 kB / 447.9 MB, free: 96.13 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 746 * 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 (870): * Single equations (assignments): 865 * 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 prepare postOptimizeDAE: time 0.001071/0.3052, allocations: 0.7099 MB / 448.6 MB, free: 95.85 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000258/0.3054, allocations: 229.6 kB / 448.8 MB, free: 95.85 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006316/0.3061, allocations: 0.6331 MB / 449.5 MB, free: 95.74 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.31e-05/0.3061, allocations: 12.25 kB / 449.5 MB, free: 95.74 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.969e-06/0.3061, allocations: 3.531 kB / 449.5 MB, free: 95.74 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.256e-06/0.3061, allocations: 12.06 kB / 449.5 MB, free: 95.74 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003484/0.3096, allocations: 3.917 MB / 453.4 MB, free: 94.9 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.206e-05/0.3096, allocations: 18 kB / 453.4 MB, free: 94.9 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000387/0.31, allocations: 183.5 kB / 453.6 MB, free: 94.89 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003016/0.3103, allocations: 379.9 kB / 454 MB, free: 94.89 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003809/0.3107, allocations: 312 kB / 454.3 MB, free: 94.84 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.242e-05/0.3107, allocations: 31.31 kB / 454.3 MB, free: 94.84 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006559/0.3114, allocations: 2.413 MB / 456.7 MB, free: 92.5 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.17e-06/0.3114, allocations: 15.5 kB / 456.8 MB, free: 92.5 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009353/0.3123, allocations: 1.624 MB / 458.4 MB, free: 91.5 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002023/0.3125, allocations: 37.47 kB / 458.4 MB, free: 91.49 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005766/0.3131, allocations: 27.48 kB / 458.4 MB, free: 91.49 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.799e-05/0.3132, allocations: 81.88 kB / 458.5 MB, free: 91.48 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.736e-05/0.3132, allocations: 35.58 kB / 458.6 MB, free: 91.48 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.001008/0.3142, allocations: 1.502 MB / 460.1 MB, free: 91.35 MB / 426.7 MB Notification: Performance of sort global known variables: time 7e-08/0.3142, allocations: 0 / 460.1 MB, free: 91.35 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.002478/0.3167, allocations: 1.109 MB / 461.2 MB, free: 91.35 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.0002533/0.3169, allocations: 156.2 kB / 461.3 MB, free: 91.26 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.002388/0.3193, allocations: 2.856 MB / 464.2 MB, free: 90.71 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 0.000198/0.3195, allocations: 129.3 kB / 464.3 MB, free: 90.69 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009442/0.3205, allocations: 1.092 MB / 465.4 MB, free: 90.33 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002508/0.323, allocations: 3.552 MB / 468.9 MB, free: 87.16 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01001/0.333, allocations: 8.727 MB / 477.7 MB, free: 79.74 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009132/0.3339, allocations: 1.438 MB / 479.1 MB, free: 78.99 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.00102/0.3349, allocations: 0.5613 MB / 479.7 MB, free: 78.58 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006394/0.3356, allocations: 0.6017 MB / 480.3 MB, free: 78.02 MB / 426.7 MB Notification: Performance of SimCode: time 1.152e-06/0.3356, allocations: 0 / 480.3 MB, free: 78.02 MB / 426.7 MB Notification: Performance of Templates: time 0.03993/0.3755, allocations: 29.57 MB / 0.4979 GB, free: 49.55 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,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.611494275741279]