Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test81.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.00103/0.00103, allocations: 80.92 kB / 21.49 MB, free: 2.996 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.0009486/0.0009486, allocations: 168.2 kB / 24.91 MB, free: 9.152 MB / 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 1.053/1.053, allocations: 177.1 MB / 205.3 MB, free: 5.465 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.258/0.258, allocations: 32.8 MB / 294.6 MB, free: 1.18 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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.Tables.CombiTimeTable.Test81,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.[0-9,]+.|t_new_2.y.[0-9,]+.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test81") translateModel(ModelicaTest.Tables.CombiTimeTable.Test81,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.[0-9,]+.|t_new_2.y.[0-9,]+.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test81") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.913e-06/1.913e-06, allocations: 0 / 323.3 MB, free: 9.562 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.746e-05/2.938e-05, allocations: 4.844 kB / 323.4 MB, free: 9.559 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test81): time 0.003487/0.003517, allocations: 1.869 MB / 325.2 MB, free: 7.676 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.002572/0.006088, allocations: 1.816 MB / 327 MB, free: 5.852 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001029/0.006191, allocations: 3.938 kB / 327 MB, free: 5.848 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003524/0.006544, allocations: 59.56 kB / 327.1 MB, free: 5.789 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000466/0.00701, allocations: 135.2 kB / 327.2 MB, free: 5.656 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002565/0.007266, allocations: 107.6 kB / 327.3 MB, free: 5.551 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002759/0.007542, allocations: 211.2 kB / 327.5 MB, free: 5.344 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.038e-05/0.007602, allocations: 15.08 kB / 327.6 MB, free: 5.332 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001732/0.007776, allocations: 103.7 kB / 327.7 MB, free: 5.23 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001724/0.007948, allocations: 63.8 kB / 327.7 MB, free: 5.168 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.565e-05/0.007974, allocations: 12 kB / 327.7 MB, free: 5.156 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002307/0.008204, allocations: 111.9 kB / 327.8 MB, free: 5.047 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 6.551e-05/0.00827, allocations: 39.78 kB / 327.9 MB, free: 5.008 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 5.385e-05/0.008324, allocations: 39.91 kB / 327.9 MB, free: 4.969 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003101/0.008634, allocations: 207.2 kB / 328.1 MB, free: 4.766 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.23e-06/0.008639, allocations: 0 / 328.1 MB, free: 4.766 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.272e-06/0.00864, allocations: 0 / 328.1 MB, free: 4.766 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.529e-06/0.008645, allocations: 0 / 328.1 MB, free: 4.766 MB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0005304/0.009175, allocations: 400.8 kB / 328.5 MB, free: 4.352 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.038e-05/0.009216, allocations: 12.03 kB / 328.5 MB, free: 4.34 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.101e-05/0.009267, allocations: 20.92 kB / 328.5 MB, free: 4.32 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002723/0.009539, allocations: 181.3 kB / 328.7 MB, free: 4.117 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.276e-05/0.009562, allocations: 8.375 kB / 328.7 MB, free: 4.109 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.474e-05/0.009576, allocations: 4.375 kB / 328.7 MB, free: 4.105 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002115/0.009788, allocations: 152.6 kB / 328.9 MB, free: 3.922 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.449e-05/0.009802, allocations: 3.938 kB / 328.9 MB, free: 3.918 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.484e-05/0.009817, allocations: 11.97 kB / 328.9 MB, free: 3.906 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.462e-06/0.009824, allocations: 3.938 kB / 328.9 MB, free: 3.902 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.242e-05/0.009876, allocations: 17.64 kB / 328.9 MB, free: 3.883 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001359/0.01001, allocations: 78.39 kB / 329 MB, free: 3.785 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001436/0.01016, allocations: 82.8 kB / 329.1 MB, free: 3.684 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.071e-05/0.0102, allocations: 29.7 kB / 329.1 MB, free: 3.648 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.33e-05/0.01021, allocations: 0 / 329.1 MB, free: 3.648 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001506/0.01036, allocations: 99.84 kB / 329.2 MB, free: 3.531 MB / 298.7 MB Notification: Performance of pre-optimization done (n=10): time 1.173e-06/0.01036, allocations: 3.938 kB / 329.2 MB, free: 3.527 MB / 298.7 MB Notification: Performance of matching and sorting (n=10): time 0.000187/0.01055, allocations: 91.3 kB / 329.3 MB, free: 3.43 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.196e-05/0.01061, allocations: 144.4 kB / 329.4 MB, free: 3.258 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002151/0.01083, allocations: 217.1 kB / 329.7 MB, free: 3.031 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.152e-05/0.01085, allocations: 33.7 kB / 329.7 MB, free: 2.992 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.349e-05/0.01089, allocations: 96.61 kB / 329.8 MB, free: 2.895 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.346e-05/0.01093, allocations: 27.77 kB / 329.8 MB, free: 2.863 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.13e-05/0.01099, allocations: 37.69 kB / 329.8 MB, free: 2.82 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 9.996e-05/0.01109, allocations: 326.8 kB / 330.2 MB, free: 2.492 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.105e-05/0.01112, allocations: 10.83 kB / 330.2 MB, free: 2.48 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.667e-05/0.01119, allocations: 104.5 kB / 330.3 MB, free: 2.348 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.379e-05/0.01129, allocations: 76.34 kB / 330.3 MB, free: 2.258 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.295e-06/0.01129, allocations: 0 / 330.3 MB, free: 2.258 MB / 298.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001424/0.01143, allocations: 95.25 kB / 330.4 MB, free: 2.156 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.951e-05/0.01145, allocations: 4 kB / 330.4 MB, free: 2.152 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.945e-06/0.01146, allocations: 4 kB / 330.5 MB, free: 2.148 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.713e-05/0.01148, allocations: 7.922 kB / 330.5 MB, free: 2.141 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001054/0.01158, allocations: 19.94 kB / 330.5 MB, free: 2.121 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.518e-06/0.01159, allocations: 4 kB / 330.5 MB, free: 2.117 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.83e-05/0.01165, allocations: 16 kB / 330.5 MB, free: 2.102 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.607e-05/0.01167, allocations: 8 kB / 330.5 MB, free: 2.094 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($PRE.t_new_2.nextTimeEvent,$whenCondition2,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent,$PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.144e-05/0.01176, allocations: 124.5 kB / 330.6 MB, free: 1.961 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.148e-05/0.01179, allocations: 15.98 kB / 330.6 MB, free: 1.945 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001649/0.01196, allocations: 86.8 kB / 330.7 MB, free: 1.855 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.04e-06/0.01196, allocations: 4 kB / 330.7 MB, free: 1.852 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.416e-06/0.01197, allocations: 3.938 kB / 330.7 MB, free: 1.848 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.709e-06/0.01197, allocations: 3.938 kB / 330.7 MB, free: 1.844 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001377/0.01211, allocations: 109.8 kB / 330.8 MB, free: 1.719 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.054e-06/0.01211, allocations: 0 / 330.8 MB, free: 1.719 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.654e-05/0.01216, allocations: 15.98 kB / 330.9 MB, free: 1.703 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.226e-06/0.01216, allocations: 0 / 330.9 MB, free: 1.703 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.008e-05/0.01217, allocations: 4 kB / 330.9 MB, free: 1.699 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.014e-06/0.01217, allocations: 0 / 330.9 MB, free: 1.699 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.513e-06/0.01217, allocations: 0 / 330.9 MB, free: 1.699 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001558/0.01233, allocations: 131.2 kB / 331 MB, free: 1.547 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.457e-05/0.01236, allocations: 23.84 kB / 331 MB, free: 1.523 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.078e-05/0.0124, allocations: 4 kB / 331 MB, free: 1.52 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.077e-05/0.01246, allocations: 7.984 kB / 331 MB, free: 1.512 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.074e-05/0.0125, allocations: 11.98 kB / 331 MB, free: 1.5 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.793e-05/0.01252, allocations: 11.94 kB / 331.1 MB, free: 1.488 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001058/0.01262, allocations: 78.23 kB / 331.1 MB, free: 1.41 MB / 298.7 MB Notification: Performance of sort global known variables: time 1e-07/0.01262, allocations: 0 / 331.1 MB, free: 1.41 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002821/0.0129, allocations: 59.8 kB / 331.2 MB, free: 1.352 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition2,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001907/0.01481, allocations: 0.6264 MB / 331.8 MB, free: 1.039 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001404/0.01495, allocations: 60.7 kB / 331.9 MB, free: 0.9766 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 5.821e-06/0.01496, allocations: 4 kB / 331.9 MB, free: 0.9727 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 5.251e-05/0.01501, allocations: 37.14 kB / 331.9 MB, free: 0.9336 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002357/0.01524, allocations: 60.94 kB / 332 MB, free: 0.8711 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004726/0.01572, allocations: 276.9 kB / 332.2 MB, free: 0.5664 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.678e-05/0.01576, allocations: 75.92 kB / 332.3 MB, free: 484 kB / 298.7 MB Notification: Performance of simCode: alias equations: time 7.92e-05/0.01584, allocations: 33.39 kB / 332.3 MB, free: 452 kB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001488/0.01599, allocations: 95.34 kB / 332.4 MB, free: 356 kB / 298.7 MB Notification: Performance of SimCode: time 9.72e-07/0.01599, allocations: 0 / 332.4 MB, free: 356 kB / 298.7 MB Notification: Performance of Templates: time 0.007296/0.02329, allocations: 3.744 MB / 336.2 MB, free: 12.68 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test81.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test81.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test81.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test81.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test81.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test81 -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test81.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test81_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test81/Test81.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: 3.14368716487661]