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.001234/0.001234, allocations: 84.34 kB / 22.21 MB, free: 2.285 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.001165/0.001165, allocations: 158.9 kB / 25.61 MB, free: 8.887 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.9644/0.9644, allocations: 177 MB / 205.9 MB, free: 4.438 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.1615/0.1615, allocations: 34.87 MB / 297.4 MB, free: 13.34 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.884e-06/1.884e-06, allocations: 0 / 380 MB, free: 22.75 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.763e-05/2.952e-05, allocations: 7.297 kB / 380 MB, free: 22.74 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.FrameTorques): time 0.01133/0.01136, allocations: 11.98 MB / 392 MB, free: 10.71 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.009385/0.02075, allocations: 4.382 MB / 396.4 MB, free: 6.316 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002078/0.02282, allocations: 103.5 kB / 396.5 MB, free: 6.215 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.004955/0.02778, allocations: 3.929 MB / 400.4 MB, free: 2.273 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004271/0.03205, allocations: 2.341 MB / 402.7 MB, free: 15.92 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001832/0.03388, allocations: 1.111 MB / 403.9 MB, free: 14.8 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.007729/0.04161, allocations: 6.81 MB / 410.7 MB, free: 7.977 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006183/0.04779, allocations: 4.158 MB / 414.8 MB, free: 3.75 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005548/0.05334, allocations: 3.985 MB / 418.8 MB, free: 15.76 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003685/0.05703, allocations: 2.927 MB / 421.7 MB, free: 12.82 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0008765/0.0579, allocations: 420 kB / 422.1 MB, free: 12.41 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001996/0.0599, allocations: 1.4 MB / 423.5 MB, free: 11.01 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001618/0.06152, allocations: 2.618 MB / 426.2 MB, free: 8.387 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001317/0.06283, allocations: 1.601 MB / 427.8 MB, free: 6.781 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005257/0.06809, allocations: 5.703 MB / 433.5 MB, free: 1.059 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.801e-06/0.0681, allocations: 0 / 433.5 MB, free: 1.059 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.824e-06/0.0681, allocations: 0 / 433.5 MB, free: 1.059 MB / 346.7 MB Notification: Performance of Transformations before backend: time 7.069e-05/0.06817, allocations: 0 / 433.5 MB, free: 1.059 MB / 346.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.007083/0.07525, allocations: 6.307 MB / 439.8 MB, free: 10.68 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.981e-05/0.0753, allocations: 8.031 kB / 439.8 MB, free: 10.67 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005213/0.08051, allocations: 2.108 MB / 441.9 MB, free: 8.559 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003252/0.08377, allocations: 2.78 MB / 444.7 MB, free: 5.727 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001376/0.0839, allocations: 279.5 kB / 444.9 MB, free: 5.453 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004055/0.08431, allocations: 384.1 kB / 445.3 MB, free: 5.078 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007037/0.09135, allocations: 6.501 MB / 451.8 MB, free: 13.41 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.895e-05/0.09144, allocations: 55.52 kB / 451.9 MB, free: 13.36 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002802/0.09172, allocations: 179.8 kB / 452 MB, free: 13.18 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001913/0.09363, allocations: 1.893 MB / 453.9 MB, free: 11.29 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004474/0.0981, allocations: 2.813 MB / 456.8 MB, free: 8.449 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2511/0.3492, allocations: 51.29 MB / 0.4961 GB, free: 69.31 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004432/0.3536, allocations: 1.76 MB / 0.4979 GB, free: 69.13 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00046/0.3541, allocations: 421.6 kB / 0.4983 GB, free: 69.07 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004421/0.3585, allocations: 4.185 MB / 0.5024 GB, free: 68 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.337e-05/0.3585, allocations: 44.58 kB / 0.5024 GB, free: 67.96 MB / 410.7 MB Notification: Performance of pre-optimization done (n=118): time 2.154e-06/0.3585, allocations: 0 / 0.5024 GB, free: 67.96 MB / 410.7 MB Notification: Performance of matching and sorting (n=120): time 0.009695/0.3682, allocations: 4.615 MB / 0.5069 GB, free: 67.21 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.285e-05/0.3683, allocations: 218.7 kB / 0.5071 GB, free: 66.96 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003249/0.3715, allocations: 4.517 MB / 0.5115 GB, free: 66.3 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 5.065e-05/0.3716, allocations: 40.05 kB / 0.5116 GB, free: 66.27 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001492/0.373, allocations: 4.233 MB / 0.5157 GB, free: 64.08 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003018/0.3733, allocations: 0.5595 MB / 0.5162 GB, free: 63.8 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001034/0.3744, allocations: 1.56 MB / 0.5178 GB, free: 63.08 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.979e-05/0.3744, allocations: 476.8 kB / 0.5182 GB, free: 62.61 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008032/0.3752, allocations: 0.5579 MB / 0.5188 GB, free: 62.14 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002434/0.3777, allocations: 7.376 MB / 0.526 GB, free: 51.71 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004682/0.3823, allocations: 8.637 MB / 0.5344 GB, free: 40.7 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.886e-05/0.3824, allocations: 48 kB / 0.5344 GB, free: 40.65 MB / 410.7 MB Notification: Performance of matching and sorting (n=896) (initialization): time 0.004967/0.3874, allocations: 5.472 MB / 0.5398 GB, free: 35.17 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.951e-05/0.3874, allocations: 76 kB / 0.5399 GB, free: 35.09 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.633e-05/0.3875, allocations: 160.8 kB / 0.54 GB, free: 34.94 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003385/0.3878, allocations: 283.3 kB / 0.5403 GB, free: 34.65 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002104/0.3899, allocations: 1.544 MB / 0.5418 GB, free: 33.11 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001134/0.3911, allocations: 3.772 MB / 0.5455 GB, free: 29.12 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002337/0.3934, allocations: 319.9 kB / 0.5458 GB, free: 28.81 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002515/0.3937, allocations: 376 kB / 0.5461 GB, free: 28.44 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 (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.001015/0.3947, allocations: 0.7477 MB / 0.5469 GB, free: 27.68 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003553/0.395, allocations: 435.9 kB / 0.5473 GB, free: 27.26 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006812/0.3957, allocations: 0.6985 MB / 0.548 GB, free: 26.55 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.2e-05/0.3957, allocations: 19.98 kB / 0.548 GB, free: 26.53 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.202e-05/0.3957, allocations: 3.938 kB / 0.548 GB, free: 26.52 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.767e-06/0.3957, allocations: 7.984 kB / 0.548 GB, free: 26.52 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004832/0.4006, allocations: 4.689 MB / 0.5526 GB, free: 21.67 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.024e-06/0.4006, allocations: 4 kB / 0.5526 GB, free: 21.66 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003836/0.401, allocations: 168.5 kB / 0.5527 GB, free: 21.5 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002087/0.4012, allocations: 86.48 kB / 0.5528 GB, free: 21.41 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.242e-05/0.4012, allocations: 24 kB / 0.5528 GB, free: 21.39 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009417/0.4022, allocations: 3.474 MB / 0.5562 GB, free: 17.69 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.3e-06/0.4022, allocations: 11.94 kB / 0.5562 GB, free: 17.68 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001319/0.4035, allocations: 1.953 MB / 0.5582 GB, free: 15.59 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003717/0.4039, allocations: 385.1 kB / 0.5585 GB, free: 15.21 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002563/0.4041, allocations: 39.97 kB / 0.5586 GB, free: 15.18 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006432/0.4048, allocations: 27.94 kB / 0.5586 GB, free: 15.15 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.133e-05/0.4049, allocations: 79.69 kB / 0.5587 GB, free: 15.07 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.069e-05/0.4049, allocations: 36 kB / 0.5587 GB, free: 15.04 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.00134/0.4062, allocations: 1.818 MB / 0.5605 GB, free: 13.22 MB / 410.7 MB Notification: Performance of sort global known variables: time 6e-08/0.4062, allocations: 4 kB / 0.5605 GB, free: 13.21 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.002914/0.4091, allocations: 1.098 MB / 0.5615 GB, free: 12.12 MB / 410.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.0002703/0.4094, allocations: 170.7 kB / 0.5617 GB, free: 11.94 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.002377/0.4118, allocations: 3.02 MB / 0.5647 GB, free: 8.914 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 4.649e-06/0.4118, allocations: 0 / 0.5647 GB, free: 8.914 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000382/0.4122, allocations: 0.6391 MB / 0.5653 GB, free: 8.238 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001668/0.4138, allocations: 0.5275 MB / 0.5658 GB, free: 7.746 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008711/0.4226, allocations: 8.614 MB / 0.5742 GB, free: 14.94 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001272/0.4238, allocations: 1.448 MB / 0.5756 GB, free: 13.46 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.001199/0.425, allocations: 0.5679 MB / 0.5762 GB, free: 12.9 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008313/0.4259, allocations: 0.6665 MB / 0.5768 GB, free: 12.23 MB / 426.7 MB Notification: Performance of SimCode: time 1.483e-06/0.4259, allocations: 0 / 0.5768 GB, free: 12.23 MB / 426.7 MB Notification: Performance of Templates: time 0.04947/0.4753, allocations: 31.16 MB / 0.6073 GB, free: 13.68 MB / 458.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 -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.7424056669697165]