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.001079/0.001079, allocations: 81.91 kB / 21.42 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.001214/0.001214, allocations: 166 kB / 24.82 MB, free: 8.918 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 0.9416/0.9416, allocations: 177 MB / 205.1 MB, free: 5.465 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.2701/0.2701, allocations: 34.87 MB / 296.6 MB, free: 500 kB / 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.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.893e-06/1.893e-06, allocations: 0 / 379.2 MB, free: 1.824 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.709e-05/2.898e-05, allocations: 4.844 kB / 379.2 MB, free: 1.82 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.FrameForces): time 0.01013/0.01016, allocations: 11.95 MB / 391.2 MB, free: 5.816 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.008098/0.01825, allocations: 4.388 MB / 395.6 MB, free: 1.414 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002236/0.02049, allocations: 99.5 kB / 395.7 MB, free: 1.316 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.004798/0.02529, allocations: 3.929 MB / 399.6 MB, free: 13.38 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.005565/0.03085, allocations: 2.329 MB / 401.9 MB, free: 11.04 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00238/0.03323, allocations: 1.115 MB / 403 MB, free: 9.918 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.009075/0.04231, allocations: 6.8 MB / 409.8 MB, free: 3.105 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005661/0.04797, allocations: 4.147 MB / 414 MB, free: 14.88 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007121/0.05509, allocations: 3.985 MB / 418 MB, free: 10.89 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004561/0.05965, allocations: 2.919 MB / 420.9 MB, free: 7.965 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001561/0.06121, allocations: 424 kB / 421.3 MB, free: 7.551 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003404/0.06462, allocations: 1.385 MB / 422.7 MB, free: 6.164 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.003604/0.06822, allocations: 2.622 MB / 425.3 MB, free: 3.535 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.003146/0.07137, allocations: 1.589 MB / 426.9 MB, free: 1.941 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.006958/0.07832, allocations: 5.687 MB / 432.6 MB, free: 12.23 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.049e-06/0.07833, allocations: 4 kB / 432.6 MB, free: 12.23 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.182e-06/0.07833, allocations: 0 / 432.6 MB, free: 12.23 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0002048/0.07854, allocations: 0 / 432.6 MB, free: 12.23 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: 1726 * Number of variables: 1726 Notification: Performance of Generate backend data structure: time 0.009586/0.08812, allocations: 6.291 MB / 438.9 MB, free: 5.867 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.511e-05/0.08817, allocations: 8.031 kB / 438.9 MB, free: 5.859 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005557/0.09372, allocations: 2.112 MB / 441 MB, free: 3.742 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004581/0.09831, allocations: 2.776 MB / 443.8 MB, free: 0.918 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000179/0.09848, allocations: 279.5 kB / 444.1 MB, free: 0.6445 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007408/0.09923, allocations: 380.1 kB / 444.4 MB, free: 280 kB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2152/0.3144, allocations: 6.49 MB / 450.9 MB, free: 88.59 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001567/0.3146, allocations: 54.25 kB / 451 MB, free: 88.59 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004936/0.3151, allocations: 180.1 kB / 451.1 MB, free: 88.59 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001812/0.3169, allocations: 1.886 MB / 453 MB, free: 88.58 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00691/0.3238, allocations: 2.812 MB / 455.8 MB, free: 88.48 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03717/0.361, allocations: 51.15 MB / 0.4951 GB, free: 47.52 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003936/0.3649, allocations: 1.693 MB / 0.4968 GB, free: 47.21 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006529/0.3655, allocations: 455.6 kB / 0.4972 GB, free: 47.12 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00589/0.3714, allocations: 4.069 MB / 0.5012 GB, free: 45.1 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.26e-05/0.3715, allocations: 59.95 kB / 0.5012 GB, free: 45.04 MB / 410.7 MB Notification: Performance of pre-optimization done (n=127): time 5.43e-06/0.3715, allocations: 0 / 0.5012 GB, free: 45.04 MB / 410.7 MB Notification: Performance of matching and sorting (n=129): time 0.01199/0.3835, allocations: 4.607 MB / 0.5057 GB, free: 43.98 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.641e-05/0.3835, allocations: 201.2 kB / 0.5059 GB, free: 43.75 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005294/0.3888, allocations: 4.524 MB / 0.5103 GB, free: 41.88 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001405/0.389, allocations: 40.8 kB / 0.5104 GB, free: 41.83 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002108/0.3911, allocations: 4.216 MB / 0.5145 GB, free: 38.52 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005549/0.3916, allocations: 0.583 MB / 0.5151 GB, free: 38.11 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001258/0.3929, allocations: 1.577 MB / 0.5166 GB, free: 37.24 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.625e-05/0.3929, allocations: 481.3 kB / 0.5171 GB, free: 36.77 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001063/0.394, allocations: 0.5756 MB / 0.5176 GB, free: 36.68 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003252/0.3972, allocations: 7.398 MB / 0.5249 GB, free: 27.36 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005118/0.4024, allocations: 8.681 MB / 0.5333 GB, free: 16.18 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001544/0.4025, allocations: 44 kB / 0.5334 GB, free: 16.13 MB / 410.7 MB Notification: Performance of matching and sorting (n=908) (initialization): time 0.007314/0.4098, allocations: 5.533 MB / 0.5388 GB, free: 11.05 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.839e-05/0.4099, allocations: 76 kB / 0.5388 GB, free: 10.98 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001223/0.41, allocations: 163.9 kB / 0.539 GB, free: 10.82 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004219/0.4104, allocations: 289.3 kB / 0.5393 GB, free: 10.55 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002303/0.4127, allocations: 1.567 MB / 0.5408 GB, free: 9.152 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001461/0.4142, allocations: 3.777 MB / 0.5445 GB, free: 5.242 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003589/0.4178, allocations: 319.7 kB / 0.5448 GB, free: 4.93 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002943/0.4181, allocations: 379.8 kB / 0.5452 GB, free: 4.562 MB / 410.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.001275/0.4193, allocations: 0.7499 MB / 0.5459 GB, free: 3.801 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005588/0.4199, allocations: 433.3 kB / 0.5463 GB, free: 3.375 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007538/0.4207, allocations: 0.7606 MB / 0.5471 GB, free: 2.73 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.291e-05/0.4207, allocations: 16 kB / 0.5471 GB, free: 2.715 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.374e-06/0.4207, allocations: 4 kB / 0.5471 GB, free: 2.711 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.264e-06/0.4207, allocations: 3.891 kB / 0.5471 GB, free: 2.711 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006528/0.4272, allocations: 4.64 MB / 0.5516 GB, free: 14.57 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.173e-05/0.4272, allocations: 4 kB / 0.5516 GB, free: 14.57 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004981/0.4277, allocations: 184.4 kB / 0.5518 GB, free: 14.41 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002661/0.428, allocations: 95.25 kB / 0.5519 GB, free: 14.33 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.049e-05/0.4281, allocations: 25.97 kB / 0.5519 GB, free: 14.3 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001619/0.4297, allocations: 3.478 MB / 0.5553 GB, free: 10.66 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.071e-06/0.4297, allocations: 11.94 kB / 0.5553 GB, free: 10.64 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002098/0.4318, allocations: 1.914 MB / 0.5572 GB, free: 8.676 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007428/0.4325, allocations: 399.4 kB / 0.5576 GB, free: 8.305 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002636/0.4328, allocations: 35.03 kB / 0.5576 GB, free: 8.277 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006538/0.4334, allocations: 28 kB / 0.5576 GB, free: 8.25 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001123/0.4335, allocations: 90.22 kB / 0.5577 GB, free: 8.195 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.062e-05/0.4336, allocations: 28 kB / 0.5577 GB, free: 8.168 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.002002/0.4356, allocations: 1.829 MB / 0.5595 GB, free: 6.379 MB / 426.7 MB Notification: Performance of sort global known variables: time 8e-08/0.4356, allocations: 0 / 0.5595 GB, free: 6.379 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.004822/0.4404, allocations: 1.109 MB / 0.5606 GB, free: 5.27 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.0003888/0.4408, allocations: 186.2 kB / 0.5608 GB, free: 5.082 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.004719/0.4455, allocations: 3.053 MB / 0.5638 GB, free: 2.016 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 8.025e-06/0.4455, allocations: 4 kB / 0.5638 GB, free: 2.012 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006513/0.4462, allocations: 0.677 MB / 0.5644 GB, free: 1.297 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002717/0.4489, allocations: 0.5233 MB / 0.5649 GB, free: 0.793 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01368/0.4626, allocations: 8.624 MB / 0.5734 GB, free: 7.969 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001727/0.4643, allocations: 1.444 MB / 0.5748 GB, free: 6.496 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.001751/0.4661, allocations: 0.5748 MB / 0.5753 GB, free: 5.922 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000902/0.467, allocations: 0.6621 MB / 0.576 GB, free: 5.258 MB / 442.7 MB Notification: Performance of SimCode: time 1.783e-06/0.467, allocations: 0 / 0.576 GB, free: 5.258 MB / 442.7 MB Notification: Performance of Templates: time 0.05246/0.5194, allocations: 30.87 MB / 0.6061 GB, free: 6.754 MB / 474.7 MB " [Timeout remaining time 659] 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 -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.495840502902865]