Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses.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.001502/0.001502, allocations: 91.33 kB / 20.43 MB, free: 4.145 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.001389/0.001389, allocations: 165 kB / 23.8 MB, free: 0.7773 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.906/0.906, allocations: 158.6 MB / 185.7 MB, free: 2.93 MB / 170.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1427/0.1427, allocations: 32.37 MB / 270.4 MB, free: 14.71 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.Forces.ForceWithTwoMasses,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|revolute.phi|revolute.w",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses") translateModel(ModelicaTest.MultiBody.Forces.ForceWithTwoMasses,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|revolute.phi|revolute.w",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.654e-06/1.654e-06, allocations: 0 / 347.7 MB, free: 9.449 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.3e-05/2.466e-05, allocations: 8.219 kB / 347.7 MB, free: 9.441 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.ForceWithTwoMasses): time 0.006784/0.006809, allocations: 10.09 MB / 357.8 MB, free: 15.31 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.006133/0.01294, allocations: 3.799 MB / 361.6 MB, free: 11.5 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001342/0.01428, allocations: 71.62 kB / 361.6 MB, free: 11.43 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002503/0.01679, allocations: 2.231 MB / 363.9 MB, free: 9.188 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003105/0.01989, allocations: 1.808 MB / 365.7 MB, free: 7.371 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001077/0.02097, allocations: 0.7677 MB / 366.4 MB, free: 6.602 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.003811/0.02478, allocations: 4.169 MB / 370.6 MB, free: 2.422 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00266/0.02744, allocations: 2.511 MB / 373.1 MB, free: 15.86 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002863/0.0303, allocations: 2.304 MB / 375.4 MB, free: 13.55 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002542/0.03284, allocations: 2.03 MB / 377.5 MB, free: 11.51 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0007215/0.03357, allocations: 272 kB / 377.7 MB, free: 11.25 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001866/0.03543, allocations: 1.139 MB / 378.9 MB, free: 10.11 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.00136/0.03679, allocations: 1.808 MB / 380.7 MB, free: 8.293 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001377/0.03817, allocations: 1.094 MB / 381.8 MB, free: 7.195 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00442/0.04259, allocations: 4.297 MB / 386.1 MB, free: 2.883 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.518e-06/0.04259, allocations: 0 / 386.1 MB, free: 2.883 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.072e-06/0.04259, allocations: 0 / 386.1 MB, free: 2.883 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0001551/0.04275, allocations: 0 / 386.1 MB, free: 2.883 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1319 * Number of variables: 1319 Notification: Performance of Generate backend data structure: time 0.006081/0.04883, allocations: 4.661 MB / 390.7 MB, free: 14.16 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.715e-05/0.04887, allocations: 8.031 kB / 390.7 MB, free: 14.15 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007536/0.0564, allocations: 2.877 MB / 393.6 MB, free: 11.27 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003323/0.05973, allocations: 2.063 MB / 395.7 MB, free: 9.148 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001425/0.05987, allocations: 193.3 kB / 395.9 MB, free: 8.957 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005729/0.06044, allocations: 272.5 kB / 396.1 MB, free: 8.691 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008733/0.06917, allocations: 5.296 MB / 401.4 MB, free: 2.531 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001132/0.06929, allocations: 43.66 kB / 401.5 MB, free: 2.488 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003186/0.06961, allocations: 127.9 kB / 401.6 MB, free: 2.363 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002034/0.07164, allocations: 1.684 MB / 403.3 MB, free: 0.6797 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007604/0.07924, allocations: 2.716 MB / 406 MB, free: 13.96 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0316/0.1108, allocations: 37.63 MB / 443.6 MB, free: 7.066 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005093/0.1159, allocations: 1.73 MB / 445.3 MB, free: 5.285 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001294/0.1172, allocations: 0.4942 MB / 445.8 MB, free: 4.777 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006025/0.1233, allocations: 3.894 MB / 449.7 MB, free: 0.8516 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.248e-05/0.1233, allocations: 50.39 kB / 449.8 MB, free: 0.793 MB / 378.7 MB Notification: Performance of pre-optimization done (n=137): time 3.577e-06/0.1233, allocations: 4 kB / 449.8 MB, free: 0.7891 MB / 378.7 MB Notification: Performance of matching and sorting (n=169): time 0.1672/0.2905, allocations: 11.83 MB / 461.6 MB, free: 97.12 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.611e-05/0.2906, allocations: 200.2 kB / 461.8 MB, free: 96.9 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002844/0.2934, allocations: 3.417 MB / 465.2 MB, free: 96.37 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 8.267e-05/0.2935, allocations: 51.17 kB / 465.3 MB, free: 96.34 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001075/0.2946, allocations: 3.139 MB / 468.4 MB, free: 94.67 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003688/0.2949, allocations: 0.7029 MB / 469.1 MB, free: 94.28 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009211/0.2959, allocations: 1.294 MB / 470.4 MB, free: 93.91 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 4.571e-05/0.2959, allocations: 484.2 kB / 470.9 MB, free: 93.43 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009338/0.2968, allocations: 0.6632 MB / 471.6 MB, free: 93.09 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002127/0.299, allocations: 6.176 MB / 477.7 MB, free: 84.67 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003834/0.3028, allocations: 7.495 MB / 485.2 MB, free: 75.11 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.377e-05/0.3028, allocations: 40 kB / 485.3 MB, free: 75.07 MB / 378.7 MB Notification: Performance of matching and sorting (n=783) (initialization): time 0.007288/0.3101, allocations: 5.654 MB / 490.9 MB, free: 69.66 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.36e-05/0.3102, allocations: 62.66 kB / 491 MB, free: 69.6 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.616e-05/0.3103, allocations: 132 kB / 491.1 MB, free: 69.47 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002077/0.3124, allocations: 0.913 MB / 492 MB, free: 68.56 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002403/0.3148, allocations: 1.341 MB / 493.4 MB, free: 67.21 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003799/0.3186, allocations: 3.911 MB / 497.3 MB, free: 63.19 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002921/0.3215, allocations: 359.5 kB / 497.6 MB, free: 62.84 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003832/0.3219, allocations: 368 kB / 498 MB, free: 62.48 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 593 * Number of states: 0 () * Number of discrete variables: 36 (FixedTranslation2.color[3],FixedTranslation2.color[2],FixedTranslation2.color[1],force.massColor[3],force.massColor[2],force.massColor[1],force.color_b[3],force.color_b[2],force.color_b[1],force.color_a[3],force.color_a[2],force.color_a[1],FixedTranslation1.color[3],FixedTranslation1.color[2],FixedTranslation1.color[1],BodyBox1.color[3],BodyBox1.color[2],BodyBox1.color[1],BodyBox1.body.sphereColor[3],BodyBox1.body.sphereColor[2],BodyBox1.body.sphereColor[1],revolute.cylinderColor[3],revolute.cylinderColor[2],revolute.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 (730): * Single equations (assignments): 726 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,29,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001075/0.323, allocations: 0.6512 MB / 498.6 MB, free: 61.82 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004472/0.3234, allocations: 361.9 kB / 499 MB, free: 61.47 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002419/0.3258, allocations: 1.63 MB / 0.4889 GB, free: 59.82 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.688e-05/0.3258, allocations: 20 kB / 0.4889 GB, free: 59.8 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.205e-06/0.3258, allocations: 4 kB / 0.4889 GB, free: 59.8 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.839e-06/0.3259, allocations: 11.97 kB / 0.4889 GB, free: 59.79 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006375/0.3322, allocations: 4.82 MB / 0.4936 GB, free: 54.93 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.674e-06/0.3322, allocations: 0 / 0.4936 GB, free: 54.93 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005404/0.3328, allocations: 239.9 kB / 0.4939 GB, free: 54.69 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001688/0.3345, allocations: 0.7078 MB / 0.4945 GB, free: 53.98 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000109/0.3346, allocations: 34.17 kB / 0.4946 GB, free: 53.95 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002957/0.3375, allocations: 3.461 MB / 0.498 GB, free: 50.38 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.108e-06/0.3375, allocations: 11.56 kB / 0.498 GB, free: 50.37 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003264/0.3408, allocations: 2.626 MB / 0.5005 GB, free: 47.68 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007481/0.3415, allocations: 481.6 kB / 0.501 GB, free: 47.21 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002246/0.3418, allocations: 31.98 kB / 0.501 GB, free: 47.18 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006538/0.3424, allocations: 121.9 kB / 0.5011 GB, free: 47.07 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001956/0.3426, allocations: 100.8 kB / 0.5012 GB, free: 46.96 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.799e-05/0.3427, allocations: 47.98 kB / 0.5013 GB, free: 46.92 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.001416/0.3441, allocations: 1.453 MB / 0.5027 GB, free: 45.47 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.7e-07/0.3441, allocations: 0 / 0.5027 GB, free: 45.47 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.00304/0.3471, allocations: 0.9764 MB / 0.5037 GB, free: 44.5 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * Number of states: 2 (revolute.phi,revolute.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 (122): * Single equations (assignments): 118 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,24,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003577/0.3475, allocations: 188.8 kB / 0.5038 GB, free: 44.31 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.003253/0.3508, allocations: 3.034 MB / 0.5068 GB, free: 41.28 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 4.588e-06/0.3508, allocations: 4 kB / 0.5068 GB, free: 41.28 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006719/0.3514, allocations: 0.7877 MB / 0.5076 GB, free: 40.46 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001176/0.3526, allocations: 345.7 kB / 0.5079 GB, free: 40.13 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006666/0.3593, allocations: 6.587 MB / 0.5143 GB, free: 33.46 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006719/0.3599, allocations: 1.108 MB / 0.5154 GB, free: 32.33 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.001953/0.3619, allocations: 1.558 MB / 0.5169 GB, free: 30.77 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003412/0.3622, allocations: 212.5 kB / 0.5171 GB, free: 30.56 MB / 378.7 MB Notification: Performance of SimCode: time 1.853e-06/0.3622, allocations: 4 kB / 0.5171 GB, free: 30.56 MB / 378.7 MB Notification: Performance of Templates: time 0.04603/0.4083, allocations: 30.35 MB / 0.5468 GB, free: 392 kB / 378.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses.sim & ./ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Forces/ForceWithTwoMasses/ForceWithTwoMasses.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.319511998910457]