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.0009818/0.0009818, allocations: 91.5 kB / 21.19 MB, free: 3.371 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.0009405/0.0009405, allocations: 156.5 kB / 24.55 MB, free: 16 kB / 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.007/1.007, allocations: 177 MB / 204.8 MB, free: 5.57 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.3439/0.3439, allocations: 34.87 MB / 296.3 MB, free: 0.5352 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.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.353e-06/1.353e-06, allocations: 0 / 378.8 MB, free: 2.078 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.387e-05/2.522e-05, allocations: 3.156 kB / 378.8 MB, free: 2.074 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.FrameTorques): time 0.009725/0.00975, allocations: 12.27 MB / 391.1 MB, free: 5.746 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.007743/0.01749, allocations: 4.43 MB / 395.5 MB, free: 1.305 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002267/0.01976, allocations: 103.5 kB / 395.6 MB, free: 1.203 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.004412/0.02417, allocations: 3.984 MB / 399.6 MB, free: 13.21 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.005079/0.02925, allocations: 2.329 MB / 401.9 MB, free: 10.87 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001748/0.031, allocations: 1.119 MB / 403 MB, free: 9.746 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.006782/0.03778, allocations: 6.798 MB / 409.8 MB, free: 2.934 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004738/0.04252, allocations: 4.162 MB / 414 MB, free: 14.7 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006569/0.04909, allocations: 3.973 MB / 418 MB, free: 10.72 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003678/0.05277, allocations: 2.93 MB / 420.9 MB, free: 7.781 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 0.00113/0.0539, allocations: 420 kB / 421.3 MB, free: 7.371 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002274/0.05617, allocations: 1.4 MB / 422.7 MB, free: 5.969 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002318/0.05849, allocations: 2.63 MB / 425.3 MB, free: 3.332 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.003219/0.06171, allocations: 1.604 MB / 426.9 MB, free: 1.723 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.007592/0.0693, allocations: 5.691 MB / 432.6 MB, free: 12.01 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.282e-06/0.06931, allocations: 0 / 432.6 MB, free: 12.01 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.683e-06/0.06931, allocations: 0 / 432.6 MB, free: 12.01 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.000253/0.06956, allocations: 3.938 kB / 432.6 MB, free: 12.01 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: 1729 * Number of variables: 1729 Notification: Performance of Generate backend data structure: time 0.009802/0.07936, allocations: 6.616 MB / 439.2 MB, free: 5.32 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.22e-05/0.07941, allocations: 8.031 kB / 439.2 MB, free: 5.312 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006459/0.08586, allocations: 3.028 MB / 442.3 MB, free: 2.277 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.1712/0.2571, allocations: 3.151 MB / 445.4 MB, free: 91.07 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001414/0.2573, allocations: 282.2 kB / 445.7 MB, free: 91.06 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005457/0.2578, allocations: 375.9 kB / 446.1 MB, free: 91.06 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008409/0.2662, allocations: 7.271 MB / 453.3 MB, free: 87.71 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001372/0.2663, allocations: 63.22 kB / 453.4 MB, free: 87.71 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000306/0.2667, allocations: 177.2 kB / 453.6 MB, free: 87.71 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001539/0.2682, allocations: 2.039 MB / 455.6 MB, free: 87.7 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007176/0.2754, allocations: 3.688 MB / 459.3 MB, free: 87.64 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03103/0.3064, allocations: 51.57 MB / 0.4989 GB, free: 45.02 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006135/0.3125, allocations: 2.018 MB / 0.5009 GB, free: 44.66 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001033/0.3136, allocations: 482.8 kB / 0.5013 GB, free: 44.53 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007782/0.3213, allocations: 4.38 MB / 0.5056 GB, free: 42.37 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.93e-05/0.3214, allocations: 55.52 kB / 0.5057 GB, free: 42.31 MB / 410.7 MB Notification: Performance of pre-optimization done (n=118): time 4.418e-06/0.3214, allocations: 0 / 0.5057 GB, free: 42.31 MB / 410.7 MB Notification: Performance of matching and sorting (n=120): time 0.01859/0.34, allocations: 9.347 MB / 0.5148 GB, free: 37.8 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.841e-05/0.34, allocations: 219.6 kB / 0.515 GB, free: 37.55 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005661/0.3457, allocations: 4.552 MB / 0.5194 GB, free: 35.15 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001626/0.3459, allocations: 41.7 kB / 0.5195 GB, free: 35.11 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001985/0.3479, allocations: 4.187 MB / 0.5236 GB, free: 31.36 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005035/0.3484, allocations: 0.556 MB / 0.5241 GB, free: 30.87 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001347/0.3497, allocations: 1.531 MB / 0.5256 GB, free: 29.44 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.791e-05/0.3497, allocations: 480.7 kB / 0.5261 GB, free: 28.96 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0012/0.3509, allocations: 0.6211 MB / 0.5267 GB, free: 28.47 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003678/0.3546, allocations: 7.405 MB / 0.5339 GB, free: 18.2 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006447/0.3611, allocations: 8.753 MB / 0.5425 GB, free: 6.508 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001312/0.3612, allocations: 48 kB / 0.5425 GB, free: 6.461 MB / 410.7 MB Notification: Performance of matching and sorting (n=896) (initialization): time 0.007714/0.3689, allocations: 5.849 MB / 0.5482 GB, free: 1.105 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.041e-05/0.369, allocations: 76.91 kB / 0.5483 GB, free: 1.031 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001058/0.3691, allocations: 164 kB / 0.5484 GB, free: 0.8711 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004665/0.3695, allocations: 281 kB / 0.5487 GB, free: 0.6055 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004216/0.3738, allocations: 1.767 MB / 0.5504 GB, free: 15.55 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00186/0.3756, allocations: 3.799 MB / 0.5541 GB, free: 11.51 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003331/0.3789, allocations: 442.6 kB / 0.5546 GB, free: 11.08 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005495/0.3795, allocations: 432 kB / 0.555 GB, free: 10.66 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.001443/0.3809, allocations: 0.7546 MB / 0.5557 GB, free: 9.891 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000645/0.3816, allocations: 429.3 kB / 0.5561 GB, free: 9.469 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009728/0.3826, allocations: 0.751 MB / 0.5569 GB, free: 8.699 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.719e-05/0.3826, allocations: 12 kB / 0.5569 GB, free: 8.688 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.181e-06/0.3826, allocations: 4 kB / 0.5569 GB, free: 8.684 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.326e-06/0.3826, allocations: 3.984 kB / 0.5569 GB, free: 8.68 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006732/0.3893, allocations: 4.747 MB / 0.5615 GB, free: 3.797 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.425e-06/0.3893, allocations: 4 kB / 0.5615 GB, free: 3.793 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004611/0.3898, allocations: 184.4 kB / 0.5617 GB, free: 3.609 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002423/0.39, allocations: 79.31 kB / 0.5618 GB, free: 3.523 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.482e-05/0.3901, allocations: 28 kB / 0.5618 GB, free: 3.496 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001705/0.3918, allocations: 3.51 MB / 0.5652 GB, free: 15.74 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.731e-06/0.3918, allocations: 11.94 kB / 0.5652 GB, free: 15.73 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001961/0.3938, allocations: 2.054 MB / 0.5672 GB, free: 13.54 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006762/0.3944, allocations: 405.1 kB / 0.5676 GB, free: 13.14 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002613/0.3947, allocations: 27.98 kB / 0.5677 GB, free: 13.12 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007116/0.3954, allocations: 91.86 kB / 0.5677 GB, free: 13.03 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000117/0.3955, allocations: 91.62 kB / 0.5678 GB, free: 12.94 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.686e-05/0.3956, allocations: 36 kB / 0.5679 GB, free: 12.9 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.002301/0.3979, allocations: 1.967 MB / 0.5698 GB, free: 10.94 MB / 442.7 MB Notification: Performance of sort global known variables: time 2.21e-07/0.3979, allocations: 0 / 0.5698 GB, free: 10.94 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.003762/0.4016, allocations: 1.101 MB / 0.5709 GB, free: 9.84 MB / 442.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.000331/0.402, allocations: 169.2 kB / 0.571 GB, free: 9.672 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.004409/0.4064, allocations: 3.161 MB / 0.5741 GB, free: 6.504 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 7.254e-06/0.4064, allocations: 4.375 kB / 0.5741 GB, free: 6.5 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006073/0.407, allocations: 0.6672 MB / 0.5748 GB, free: 5.793 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002056/0.409, allocations: 0.5214 MB / 0.5753 GB, free: 5.289 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01149/0.4205, allocations: 8.626 MB / 0.5837 GB, free: 12.47 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001225/0.4218, allocations: 1.46 MB / 0.5851 GB, free: 10.98 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.002784/0.4246, allocations: 1.775 MB / 0.5869 GB, free: 9.207 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005438/0.4251, allocations: 260.5 kB / 0.5871 GB, free: 8.949 MB / 458.7 MB Notification: Performance of SimCode: time 2.765e-06/0.4251, allocations: 0 / 0.5871 GB, free: 8.949 MB / 458.7 MB Notification: Performance of Templates: time 0.1777/0.6028, allocations: 28.49 MB / 0.6149 GB, free: 135.6 MB / 474.7 MB " [Timeout remaining time 659] 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 -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.631908589042723]