Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameForces.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.001107/0.001107, allocations: 80.11 kB / 9.934 MB, free: 0.75 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001856/0.002963, allocations: 449.7 kB / 10.37 MB, free: 320 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.001092/0.001092, allocations: 165.1 kB / 11.26 MB, free: 2.906 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001559/0.00265, allocations: 463.6 kB / 11.72 MB, free: 2.449 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.9793/0.9793, allocations: 177.4 MB / 189.9 MB, free: 4.82 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1391/1.118, allocations: 53.87 MB / 243.8 MB, free: 14.89 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.307/0.307, allocations: 34.86 MB / 279.3 MB, free: 14.9 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02855/0.3355, allocations: 13.23 MB / 292.6 MB, free: 6.449 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.FrameForces,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|Revolute1.phi|Revolute1.w|Revolute2.phi|Revolute2.w",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameForces") translateModel(ModelicaTest.MultiBody.Forces.FrameForces,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|Revolute1.phi|Revolute1.w|Revolute2.phi|Revolute2.w",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameForces") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.363e-06/1.363e-06, allocations: 0 / 293.9 MB, free: 5.168 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.142e-05/2.278e-05, allocations: 2.312 kB / 293.9 MB, free: 5.164 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.FrameForces): time 0.01391/0.01393, allocations: 12.1 MB / 306 MB, free: 9.02 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.01126/0.02519, allocations: 4.609 MB / 310.6 MB, free: 4.395 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003078/0.02827, allocations: 103.4 kB / 310.7 MB, free: 4.293 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.006699/0.03497, allocations: 3.773 MB / 314.5 MB, free: 0.5039 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.005044/0.04001, allocations: 2.294 MB / 316.7 MB, free: 14.2 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001499/0.04151, allocations: 1.025 MB / 317.8 MB, free: 13.17 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.005516/0.04703, allocations: 6.254 MB / 324 MB, free: 6.918 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003305/0.05033, allocations: 3.777 MB / 327.8 MB, free: 3.051 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003362/0.05369, allocations: 3.783 MB / 331.6 MB, free: 15.25 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002351/0.05604, allocations: 2.771 MB / 334.4 MB, free: 12.47 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0005839/0.05663, allocations: 420 kB / 334.8 MB, free: 12.06 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001772/0.0584, allocations: 1.428 MB / 336.2 MB, free: 10.63 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001773/0.06017, allocations: 2.346 MB / 338.5 MB, free: 8.277 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001204/0.06138, allocations: 1.297 MB / 339.8 MB, free: 6.977 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0071/0.06848, allocations: 5.27 MB / 345.1 MB, free: 1.688 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.589e-05/0.06849, allocations: 0 / 345.1 MB, free: 1.688 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.924e-06/0.0685, allocations: 4 kB / 345.1 MB, free: 1.684 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.0002813/0.06878, allocations: 0 / 345.1 MB, free: 1.684 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: 1726 * Number of variables: 1726 Notification: Performance of Generate backend data structure: time 0.01417/0.08295, allocations: 6.728 MB / 351.8 MB, free: 10.88 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.486e-05/0.08298, allocations: 12.86 kB / 351.9 MB, free: 10.87 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003473/0.08646, allocations: 1.3 MB / 353.2 MB, free: 9.566 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00426/0.09072, allocations: 2.599 MB / 355.8 MB, free: 6.914 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001436/0.09086, allocations: 275.5 kB / 356 MB, free: 6.645 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000575/0.09144, allocations: 384.1 kB / 356.4 MB, free: 6.27 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008082/0.09952, allocations: 5.78 MB / 362.2 MB, free: 15.62 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001425/0.09966, allocations: 55.55 kB / 362.2 MB, free: 15.56 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003536/0.1, allocations: 175.8 kB / 362.4 MB, free: 15.39 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001569/0.1016, allocations: 1.905 MB / 364.3 MB, free: 13.49 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005555/0.1071, allocations: 2.869 MB / 367.2 MB, free: 10.57 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0358/0.1429, allocations: 36.59 MB / 403.8 MB, free: 4.59 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00573/0.1487, allocations: 1.643 MB / 405.4 MB, free: 2.898 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001165/0.1498, allocations: 359.6 kB / 405.8 MB, free: 2.539 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008704/0.1585, allocations: 3.744 MB / 409.5 MB, free: 14.77 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.487e-05/0.1586, allocations: 43.22 kB / 409.5 MB, free: 14.71 MB / 410.7 MB Notification: Performance of pre-optimization done (n=127): time 5.931e-06/0.1586, allocations: 3.984 kB / 409.6 MB, free: 14.71 MB / 410.7 MB Notification: Performance of matching and sorting (n=129): time 0.01035/0.1689, allocations: 3.982 MB / 413.5 MB, free: 10.68 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.881e-05/0.169, allocations: 137.2 kB / 413.7 MB, free: 10.52 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00383/0.1728, allocations: 4.06 MB / 417.7 MB, free: 6.434 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 9.584e-05/0.1729, allocations: 45.69 kB / 417.8 MB, free: 6.383 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002035/0.175, allocations: 3.662 MB / 421.4 MB, free: 2.684 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004249/0.1754, allocations: 0.5701 MB / 422 MB, free: 2.109 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001004/0.1764, allocations: 1.342 MB / 423.3 MB, free: 0.7578 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 6.494e-05/0.1764, allocations: 305.1 kB / 423.6 MB, free: 468 kB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001174/0.1776, allocations: 0.7926 MB / 424.4 MB, free: 15.66 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003329/0.1809, allocations: 5.223 MB / 429.7 MB, free: 8.156 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.1804/0.3613, allocations: 6.63 MB / 436.3 MB, free: 100 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000181/0.3615, allocations: 46.44 kB / 436.3 MB, free: 100 MB / 426.7 MB Notification: Performance of matching and sorting (n=908) (initialization): time 0.007425/0.3689, allocations: 4.752 MB / 441.1 MB, free: 99.82 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.425e-05/0.369, allocations: 75.06 kB / 441.2 MB, free: 99.82 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001708/0.3692, allocations: 165.6 kB / 441.3 MB, free: 99.82 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005289/0.3697, allocations: 283.9 kB / 441.6 MB, free: 99.79 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002984/0.3727, allocations: 1.747 MB / 443.3 MB, free: 99.79 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001046/0.3737, allocations: 2.724 MB / 446.1 MB, free: 97.46 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002897/0.3766, allocations: 318.2 kB / 446.4 MB, free: 97.46 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003684/0.377, allocations: 383.1 kB / 446.8 MB, free: 97.46 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 (frameForce2.arrow.twoHeadedArrow,frameForce2.arrow.headAtOrigin,frameForce1.arrow.twoHeadedArrow,frameForce1.arrow.headAtOrigin,FixedRotation1.color[3],FixedRotation1.color[2],FixedRotation1.color[1],frameForce2.color[3],frameForce2.color[2],frameForce2.color[1],fixed2.color[3],fixed2.color[2],fixed2.color[1],BodyCylinder2.color[3],BodyCylinder2.color[2],BodyCylinder2.color[1],BodyCylinder2.body.sphereColor[3],BodyCylinder2.body.sphereColor[2],BodyCylinder2.body.sphereColor[1],Revolute2.cylinderColor[3],Revolute2.cylinderColor[2],Revolute2.cylinderColor[1],frameForce1.color[3],frameForce1.color[2],frameForce1.color[1],fixed1.color[3],fixed1.color[2],fixed1.color[1],BodyCylinder1.color[3],BodyCylinder1.color[2],BodyCylinder1.color[1],BodyCylinder1.body.sphereColor[3],BodyCylinder1.body.sphereColor[2],BodyCylinder1.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 (872): * Single equations (assignments): 865 * 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.001317/0.3783, allocations: 0.7067 MB / 447.5 MB, free: 97.22 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004535/0.3788, allocations: 231.8 kB / 447.7 MB, free: 97.22 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007946/0.3795, allocations: 0.6754 MB / 448.4 MB, free: 97.11 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.807e-05/0.3796, allocations: 14.75 kB / 448.4 MB, free: 97.11 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.48e-06/0.3796, allocations: 3.812 kB / 448.4 MB, free: 97.11 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.466e-06/0.3796, allocations: 7.734 kB / 448.4 MB, free: 97.11 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004267/0.3838, allocations: 3.863 MB / 452.3 MB, free: 96.35 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.253e-06/0.3839, allocations: 6.656 kB / 452.3 MB, free: 96.35 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004892/0.3843, allocations: 221.1 kB / 452.5 MB, free: 96.33 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004881/0.3848, allocations: 393.8 kB / 452.9 MB, free: 96.33 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004271/0.3853, allocations: 307.9 kB / 453.2 MB, free: 96.29 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.801e-05/0.3853, allocations: 30.69 kB / 453.2 MB, free: 96.29 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007821/0.3861, allocations: 2.429 MB / 455.6 MB, free: 93.94 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.1e-06/0.3861, allocations: 15.5 kB / 455.6 MB, free: 93.93 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001077/0.3872, allocations: 1.581 MB / 457.2 MB, free: 93.01 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003083/0.3875, allocations: 28.17 kB / 457.2 MB, free: 93 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006167/0.3881, allocations: 31.05 kB / 457.3 MB, free: 93 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.803e-05/0.3882, allocations: 87.06 kB / 457.4 MB, free: 92.99 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.497e-05/0.3882, allocations: 34.81 kB / 457.4 MB, free: 92.99 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.001095/0.3893, allocations: 1.513 MB / 458.9 MB, free: 92.86 MB / 426.7 MB Notification: Performance of sort global known variables: time 2.6e-07/0.3893, allocations: 5.562 kB / 458.9 MB, free: 92.86 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.00343/0.3928, allocations: 1.111 MB / 460 MB, free: 92.86 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 29 * 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 (104): * Single equations (assignments): 99 * 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.0002926/0.393, allocations: 160.6 kB / 460.2 MB, free: 92.77 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.002848/0.3959, allocations: 2.757 MB / 462.9 MB, free: 92 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 0.0001828/0.3961, allocations: 122 kB / 463.1 MB, free: 91.97 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003923/0.3965, allocations: 0.5204 MB / 463.6 MB, free: 91.7 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002259/0.3987, allocations: 1.03 MB / 464.6 MB, free: 91.65 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01281/0.4115, allocations: 8.726 MB / 473.3 MB, free: 84.28 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001218/0.4128, allocations: 1.441 MB / 474.8 MB, free: 83.52 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.001517/0.4143, allocations: 0.5726 MB / 475.3 MB, free: 83.1 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007398/0.415, allocations: 0.6156 MB / 476 MB, free: 82.54 MB / 426.7 MB Notification: Performance of SimCode: time 1.733e-06/0.415, allocations: 4 kB / 476 MB, free: 82.54 MB / 426.7 MB Notification: Performance of Templates: time 0.04478/0.4598, allocations: 31.62 MB / 0.4957 GB, free: 52.39 MB / 426.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameForces.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameForces.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameForces.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameForces.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameForces.sim & ./ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameForces -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameForces.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameForces_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Forces/FrameForces/FrameForces.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.242958876304328]