Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Frames.AngularVelocity.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.001027/0.001027, allocations: 95.5 kB / 21.2 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.001088/0.001088, allocations: 160.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.015/1.015, allocations: 177 MB / 204.8 MB, free: 5.578 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.2863/0.2863, allocations: 34.86 MB / 296.3 MB, free: 0.543 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.Frames.AngularVelocity,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5007,variableFilter="time|body.body.Q.[0-9,]+.|body.body.frame_a.r_0.[0-9,]+.|body.body.w_a.[0-9,]+.|body.v_0.[0-9,]+.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Frames.AngularVelocity") translateModel(ModelicaTest.MultiBody.Frames.AngularVelocity,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5007,variableFilter="time|body.body.Q.[0-9,]+.|body.body.frame_a.r_0.[0-9,]+.|body.body.w_a.[0-9,]+.|body.v_0.[0-9,]+.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Frames.AngularVelocity") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.214e-06/2.214e-06, allocations: 0 / 378.8 MB, free: 2.117 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.37e-05/3.592e-05, allocations: 3.156 kB / 378.8 MB, free: 2.113 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Frames.AngularVelocity): time 0.01315/0.01318, allocations: 10.77 MB / 389.5 MB, free: 7.293 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.006994/0.02018, allocations: 4.03 MB / 393.6 MB, free: 3.25 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001633/0.02181, allocations: 83.56 kB / 393.6 MB, free: 3.168 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003686/0.02549, allocations: 3.018 MB / 396.7 MB, free: 144 kB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003796/0.02929, allocations: 1.862 MB / 398.5 MB, free: 14.27 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001261/0.03055, allocations: 0.7834 MB / 399.3 MB, free: 13.48 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.004395/0.03495, allocations: 4.061 MB / 403.4 MB, free: 9.41 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003525/0.03847, allocations: 3.226 MB / 406.6 MB, free: 6.117 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003315/0.04179, allocations: 2.304 MB / 408.9 MB, free: 3.809 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002912/0.0447, allocations: 2.163 MB / 411 MB, free: 1.641 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0008079/0.04551, allocations: 339.9 kB / 411.4 MB, free: 1.309 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001703/0.04721, allocations: 1.139 MB / 412.5 MB, free: 172 kB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001493/0.0487, allocations: 2.018 MB / 414.5 MB, free: 14.14 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001792/0.05049, allocations: 1.254 MB / 415.8 MB, free: 12.89 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004916/0.05541, allocations: 4.406 MB / 420.2 MB, free: 8.465 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.861e-06/0.05542, allocations: 3.938 kB / 420.2 MB, free: 8.461 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.164e-06/0.05542, allocations: 0 / 420.2 MB, free: 8.461 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.000195/0.05561, allocations: 3.938 kB / 420.2 MB, free: 8.457 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1475 * Number of variables: 1475 Notification: Performance of Generate backend data structure: time 0.006106/0.06172, allocations: 4.993 MB / 425.2 MB, free: 3.398 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.633e-05/0.06177, allocations: 12.02 kB / 425.2 MB, free: 3.387 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003977/0.06574, allocations: 2.436 MB / 427.6 MB, free: 0.9453 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00248/0.06822, allocations: 1.983 MB / 429.6 MB, free: 14.91 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000117/0.06834, allocations: 242.6 kB / 429.9 MB, free: 14.68 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000518/0.06886, allocations: 408.3 kB / 430.3 MB, free: 14.28 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007757/0.07661, allocations: 6.078 MB / 436.3 MB, free: 7.281 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.861e-05/0.0767, allocations: 39.69 kB / 436.4 MB, free: 7.242 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002627/0.07697, allocations: 151.9 kB / 436.5 MB, free: 7.094 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001467/0.07843, allocations: 1.767 MB / 438.3 MB, free: 5.324 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006557/0.08499, allocations: 3.32 MB / 441.6 MB, free: 1.98 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1904/0.2754, allocations: 42.14 MB / 483.8 MB, free: 56.3 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004554/0.2799, allocations: 2.236 MB / 486 MB, free: 55.9 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007607/0.2807, allocations: 0.6017 MB / 486.6 MB, free: 55.77 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005029/0.2857, allocations: 4.577 MB / 491.2 MB, free: 53.4 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.437e-05/0.2857, allocations: 55.88 kB / 491.2 MB, free: 53.35 MB / 410.7 MB Notification: Performance of pre-optimization done (n=141): time 3.817e-06/0.2857, allocations: 0 / 491.2 MB, free: 53.35 MB / 410.7 MB Notification: Performance of matching and sorting (n=148): time 0.01478/0.3005, allocations: 9.153 MB / 0.4887 GB, free: 50.14 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0008045/0.3013, allocations: 2.047 MB / 0.4907 GB, free: 48.06 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003853/0.3052, allocations: 3.28 MB / 0.4939 GB, free: 46.71 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002765/0.3055, allocations: 45.84 kB / 0.4939 GB, free: 46.67 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001452/0.3069, allocations: 3.29 MB / 0.4971 GB, free: 44.29 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007091/0.3076, allocations: 0.642 MB / 0.4977 GB, free: 43.83 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001286/0.3089, allocations: 1.258 MB / 0.499 GB, free: 43.15 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.965e-05/0.3089, allocations: 477.9 kB / 0.4994 GB, free: 42.68 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001307/0.3103, allocations: 0.6824 MB / 0.5001 GB, free: 42.59 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003204/0.3135, allocations: 6.04 MB / 0.506 GB, free: 35.29 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005378/0.3188, allocations: 7.446 MB / 0.5133 GB, free: 27.22 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000109/0.3189, allocations: 43.16 kB / 0.5133 GB, free: 27.22 MB / 410.7 MB Notification: Performance of matching and sorting (n=751) (initialization): time 0.01068/0.3296, allocations: 6.517 MB / 0.5197 GB, free: 25.24 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.636e-05/0.3297, allocations: 60.5 kB / 0.5197 GB, free: 25.24 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.00497/0.3347, allocations: 2.249 MB / 0.5219 GB, free: 25.01 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005178/0.3398, allocations: 1.831 MB / 0.5237 GB, free: 24.27 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002616/0.3424, allocations: 1.333 MB / 0.525 GB, free: 23.11 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003656/0.3461, allocations: 4.833 MB / 0.5297 GB, free: 18.48 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003296/0.3494, allocations: 443.7 kB / 0.5302 GB, free: 18.14 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005668/0.35, allocations: 359.2 kB / 0.5305 GB, free: 17.8 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 585 * Number of states: 0 () * Number of discrete variables: 41 (FrameTorque1.arrow.twoHeadedArrow,FrameTorque1.arrow.headAtOrigin,FrameTorque1.color[3],FrameTorque1.color[2],FrameTorque1.color[1],spring2.color[3],spring2.color[2],spring2.color[1],spring2.massColor[3],spring2.massColor[2],spring2.massColor[1],body.color[3],body.color[2],body.color[1],body.body.sphereColor[3],body.body.sphereColor[2],body.body.sphereColor[1],body.frameTranslation.color[3],body.frameTranslation.color[2],body.frameTranslation.color[1],spring1.color[3],spring1.color[2],spring1.color[1],spring1.massColor[3],spring1.massColor[2],spring1.massColor[1],bar2.color[3],bar2.color[2],bar2.color[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 (713): * Single equations (assignments): 704 * Array equations: 5 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 3 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(4,100.0%), (3,100.0%)} * Non-linear Jacobian (size): 1 system {4} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001494/0.3515, allocations: 0.6387 MB / 0.5311 GB, free: 17.16 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005054/0.352, allocations: 342 kB / 0.5314 GB, free: 16.82 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003253/0.3523, allocations: 345.7 kB / 0.5318 GB, free: 16.51 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.002013/0.3543, allocations: 1.201 MB / 0.5329 GB, free: 15.6 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.375e-05/0.3543, allocations: 4 kB / 0.533 GB, free: 15.59 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.272e-05/0.3543, allocations: 7.5 kB / 0.533 GB, free: 15.59 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008326/0.3627, allocations: 6.087 MB / 0.5389 GB, free: 10.23 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.615e-06/0.3627, allocations: 0 / 0.5389 GB, free: 10.23 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006375/0.3633, allocations: 250.5 kB / 0.5391 GB, free: 9.984 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001268/0.3646, allocations: 0.568 MB / 0.5397 GB, free: 9.398 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001098/0.3647, allocations: 35.97 kB / 0.5397 GB, free: 9.363 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002146/0.3668, allocations: 4.268 MB / 0.5439 GB, free: 4.855 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0004484/0.3673, allocations: 1.912 MB / 0.5458 GB, free: 2.812 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003228/0.3705, allocations: 2.664 MB / 0.5484 GB, free: 96 kB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008313/0.3713, allocations: 290.1 kB / 0.5486 GB, free: 15.8 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000231/0.3716, allocations: 24 kB / 0.5487 GB, free: 15.78 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007549/0.3723, allocations: 163.7 kB / 0.5488 GB, free: 15.62 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002004/0.3725, allocations: 96.5 kB / 0.5489 GB, free: 15.53 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.356e-05/0.3726, allocations: 43.97 kB / 0.549 GB, free: 15.49 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.001679/0.3743, allocations: 1.385 MB / 0.5503 GB, free: 14.11 MB / 426.7 MB Notification: Performance of sort global known variables: time 4e-08/0.3743, allocations: 0 / 0.5503 GB, free: 14.11 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.003855/0.3781, allocations: 1.068 MB / 0.5514 GB, free: 13.04 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 12 ($STATESET1.x[3],$STATESET1.x[2],$STATESET1.x[1],body.v_0[1],body.v_0[2],body.v_0[3],body.body.frame_a.r_0[1],body.body.frame_a.r_0[2],body.body.frame_a.r_0[3],body.body.w_a[1],body.body.w_a[2],body.body.w_a[3]) * 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 (114): * Single equations (assignments): 107 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 3 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(4,100.0%), (3,100.0%)} * Non-linear Jacobian (size): 1 system {4} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,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.0004385/0.3786, allocations: 177 kB / 0.5515 GB, free: 12.86 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.005937/0.3845, allocations: 3.574 MB / 0.555 GB, free: 9.262 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 4.318e-06/0.3845, allocations: 3.938 kB / 0.555 GB, free: 9.258 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001912/0.3864, allocations: 1.399 MB / 0.5564 GB, free: 7.816 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002347/0.3888, allocations: 408.1 kB / 0.5568 GB, free: 7.438 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01304/0.4018, allocations: 7.404 MB / 0.564 GB, free: 15.92 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001278/0.4031, allocations: 1.163 MB / 0.5651 GB, free: 14.73 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.003104/0.4062, allocations: 1.519 MB / 0.5666 GB, free: 13.21 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005454/0.4067, allocations: 212.5 kB / 0.5668 GB, free: 13 MB / 442.7 MB Notification: Performance of SimCode: time 1.843e-06/0.4067, allocations: 0 / 0.5668 GB, free: 13 MB / 442.7 MB Notification: Performance of Templates: time 0.05542/0.4622, allocations: 34.07 MB / 0.6001 GB, free: 11.44 MB / 474.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Frames.AngularVelocity.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Frames.AngularVelocity.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Frames.AngularVelocity.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Frames.AngularVelocity.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Frames.AngularVelocity.sim & ./ModelicaTest_trunk_ModelicaTest.MultiBody.Frames.AngularVelocity -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.Frames.AngularVelocity.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Frames.AngularVelocity_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Frames/AngularVelocity/AngularVelocity.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.601001541130245]