Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.MultiBody.Frames.AngularVelocity.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0009621/0.0009621, allocations: 75.59 kB / 21.18 MB, free: 3.391 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0009559/0.0009559, allocations: 161 kB / 24.56 MB, free: 20 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9489/0.9489, allocations: 177.1 MB / 205 MB, free: 5.293 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2575/0.2575, allocations: 34.25 MB / 295.7 MB, free: 0.7188 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/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_4.1.0_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_4.1.0_ModelicaTest.MultiBody.Frames.AngularVelocity") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.443e-06/1.443e-06, allocations: 0 / 378 MB, free: 2.699 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.814e-05/1.959e-05, allocations: 6.25 kB / 378 MB, free: 2.691 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Frames.AngularVelocity): time 0.009208/0.009227, allocations: 10.77 MB / 388.8 MB, free: 7.871 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.005053/0.01428, allocations: 4.034 MB / 392.8 MB, free: 3.824 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006113/0.01489, allocations: 79.56 kB / 392.9 MB, free: 3.746 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003018/0.01791, allocations: 3.018 MB / 395.9 MB, free: 0.7188 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002156/0.02007, allocations: 1.866 MB / 397.8 MB, free: 14.84 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007958/0.02086, allocations: 0.7601 MB / 398.5 MB, free: 14.08 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.002703/0.02356, allocations: 4.085 MB / 402.6 MB, free: 9.988 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002219/0.02578, allocations: 3.218 MB / 405.8 MB, free: 6.703 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001835/0.02762, allocations: 2.288 MB / 408.1 MB, free: 4.41 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002051/0.02967, allocations: 2.171 MB / 410.3 MB, free: 2.234 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004795/0.03015, allocations: 340 kB / 410.6 MB, free: 1.902 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001385/0.03153, allocations: 1.135 MB / 411.8 MB, free: 0.7656 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001191/0.03272, allocations: 2.022 MB / 413.8 MB, free: 14.74 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001088/0.03381, allocations: 1.262 MB / 415.1 MB, free: 13.47 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003465/0.03728, allocations: 4.406 MB / 419.5 MB, free: 9.051 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.176e-06/0.03728, allocations: 0 / 419.5 MB, free: 9.051 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.183e-06/0.03728, allocations: 7.938 kB / 419.5 MB, free: 9.043 MB / 394.7 MB Notification: Performance of Transformations before backend: time 6.566e-05/0.03735, allocations: 0 / 419.5 MB, free: 9.043 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.005168/0.04252, allocations: 4.985 MB / 424.5 MB, free: 3.992 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.591e-05/0.04255, allocations: 12.03 kB / 424.5 MB, free: 3.98 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003932/0.04648, allocations: 2.436 MB / 426.9 MB, free: 1.539 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0021/0.04858, allocations: 1.96 MB / 428.9 MB, free: 15.53 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001167/0.0487, allocations: 246.5 kB / 429.1 MB, free: 15.29 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005014/0.0492, allocations: 400.4 kB / 429.5 MB, free: 14.9 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006442/0.05564, allocations: 6.093 MB / 435.6 MB, free: 7.883 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.844e-05/0.05571, allocations: 35.64 kB / 435.6 MB, free: 7.848 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002623/0.05597, allocations: 155.9 kB / 435.8 MB, free: 7.695 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00149/0.05746, allocations: 1.763 MB / 437.5 MB, free: 5.93 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005468/0.06293, allocations: 3.324 MB / 440.9 MB, free: 2.574 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1784/0.2414, allocations: 42.13 MB / 483 MB, free: 57 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004681/0.246, allocations: 2.235 MB / 485.2 MB, free: 56.59 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000793/0.2468, allocations: 0.6127 MB / 485.8 MB, free: 56.46 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00543/0.2523, allocations: 4.579 MB / 490.4 MB, free: 54.1 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.565e-05/0.2523, allocations: 57.3 kB / 490.5 MB, free: 54.04 MB / 410.7 MB Notification: Performance of pre-optimization done (n=141): time 4.779e-06/0.2523, allocations: 3.188 kB / 490.5 MB, free: 54.04 MB / 410.7 MB Notification: Performance of matching and sorting (n=148): time 0.01614/0.2684, allocations: 9.144 MB / 499.6 MB, free: 50.83 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.00107/0.2695, allocations: 2.044 MB / 0.4899 GB, free: 48.75 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004393/0.2739, allocations: 3.282 MB / 0.4931 GB, free: 47.4 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003907/0.2743, allocations: 46.2 kB / 0.4932 GB, free: 47.36 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001708/0.276, allocations: 3.285 MB / 0.4964 GB, free: 44.99 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006909/0.2767, allocations: 0.65 MB / 0.497 GB, free: 44.52 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001369/0.2781, allocations: 1.254 MB / 0.4982 GB, free: 43.85 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.346e-05/0.2781, allocations: 477.9 kB / 0.4987 GB, free: 43.38 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001251/0.2794, allocations: 0.6853 MB / 0.4993 GB, free: 43.29 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002896/0.2822, allocations: 6.036 MB / 0.5052 GB, free: 35.99 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004841/0.2871, allocations: 7.458 MB / 0.5125 GB, free: 27.9 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001101/0.2872, allocations: 36.09 kB / 0.5126 GB, free: 27.9 MB / 410.7 MB Notification: Performance of matching and sorting (n=751) (initialization): time 0.01141/0.2986, allocations: 6.51 MB / 0.5189 GB, free: 25.93 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.741e-05/0.2987, allocations: 60.64 kB / 0.519 GB, free: 25.93 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.005237/0.3039, allocations: 2.242 MB / 0.5212 GB, free: 25.7 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005499/0.3094, allocations: 1.834 MB / 0.523 GB, free: 24.91 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002895/0.3123, allocations: 1.324 MB / 0.5242 GB, free: 23.75 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004102/0.3164, allocations: 4.852 MB / 0.529 GB, free: 19.12 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003689/0.3201, allocations: 436.9 kB / 0.5294 GB, free: 18.78 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007056/0.3208, allocations: 364.3 kB / 0.5298 GB, free: 18.43 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.001567/0.3224, allocations: 0.6447 MB / 0.5304 GB, free: 17.79 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005223/0.3229, allocations: 341.9 kB / 0.5307 GB, free: 17.45 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003365/0.3232, allocations: 342.5 kB / 0.531 GB, free: 17.14 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.001923/0.3252, allocations: 1.202 MB / 0.5322 GB, free: 16.23 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.274e-05/0.3252, allocations: 4 kB / 0.5322 GB, free: 16.23 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.054e-05/0.3252, allocations: 7.641 kB / 0.5322 GB, free: 16.23 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008373/0.3335, allocations: 6.08 MB / 0.5382 GB, free: 10.88 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.678e-06/0.3336, allocations: 0 / 0.5382 GB, free: 10.88 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006584/0.3342, allocations: 247.6 kB / 0.5384 GB, free: 10.63 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001358/0.3356, allocations: 0.5699 MB / 0.5389 GB, free: 10.05 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001193/0.3357, allocations: 35.97 kB / 0.539 GB, free: 10.01 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002352/0.338, allocations: 4.27 MB / 0.5432 GB, free: 5.508 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0005285/0.3386, allocations: 1.913 MB / 0.545 GB, free: 3.461 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003451/0.342, allocations: 2.657 MB / 0.5476 GB, free: 0.7461 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000748/0.3428, allocations: 289.9 kB / 0.5479 GB, free: 472 kB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00024/0.343, allocations: 31.75 kB / 0.5479 GB, free: 444 kB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007916/0.3438, allocations: 155.7 kB / 0.5481 GB, free: 288 kB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001855/0.344, allocations: 96.12 kB / 0.5482 GB, free: 196 kB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.176e-05/0.3441, allocations: 55.91 kB / 0.5482 GB, free: 140 kB / 410.7 MB Notification: Performance of sorting global known variables: time 0.002005/0.3461, allocations: 1.381 MB / 0.5496 GB, free: 14.76 MB / 426.7 MB Notification: Performance of sort global known variables: time 7e-08/0.3461, allocations: 0 / 0.5496 GB, free: 14.76 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.004073/0.3501, allocations: 1.07 MB / 0.5506 GB, free: 13.7 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.0004145/0.3506, allocations: 179.4 kB / 0.5508 GB, free: 13.52 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.006035/0.3566, allocations: 3.572 MB / 0.5543 GB, free: 9.91 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 4.429e-06/0.3566, allocations: 0 / 0.5543 GB, free: 9.91 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002055/0.3586, allocations: 1.408 MB / 0.5556 GB, free: 8.453 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001856/0.3605, allocations: 390.4 kB / 0.556 GB, free: 8.09 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01054/0.371, allocations: 7.42 MB / 0.5633 GB, free: 0.5703 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001099/0.3721, allocations: 1.171 MB / 0.5644 GB, free: 15.37 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.002421/0.3746, allocations: 1.511 MB / 0.5659 GB, free: 13.86 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004578/0.375, allocations: 216.5 kB / 0.5661 GB, free: 13.65 MB / 442.7 MB Notification: Performance of SimCode: time 2.104e-06/0.375, allocations: 0 / 0.5661 GB, free: 13.65 MB / 442.7 MB Notification: Performance of Templates: time 0.04699/0.422, allocations: 33.02 MB / 0.5983 GB, free: 13.14 MB / 474.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Frames.AngularVelocity.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Frames.AngularVelocity.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.MultiBody.Frames.AngularVelocity.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.MultiBody.Frames.AngularVelocity.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.MultiBody.Frames.AngularVelocity.sim & ./ModelicaTest_4.1.0_ModelicaTest.MultiBody.Frames.AngularVelocity -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.MultiBody.Frames.AngularVelocity.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_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.639330621808767]