Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test38.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.001102/0.001102, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001999/0.0031, allocations: 449.7 kB / 10.37 MB, free: 328 kB / 10.45 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.001131/0.001131, allocations: 169.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001679/0.002809, allocations: 455.6 kB / 11.71 MB, free: 2.461 MB / 13.93 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.169/1.169, allocations: 177.2 MB / 189.6 MB, free: 5.305 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1364/1.306, allocations: 53.64 MB / 243.3 MB, free: 15.58 MB / 250.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.3458/0.3458, allocations: 32.8 MB / 276.8 MB, free: 15.87 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.03621/0.3821, allocations: 12.53 MB / 289.3 MB, free: 8.672 MB / 282.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.Test38,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5068,variableFilter="time|t_new.y.[0-9,]+.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test38") translateModel(ModelicaTest.Tables.CombiTimeTable.Test38,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5068,variableFilter="time|t_new.y.[0-9,]+.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test38") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.644e-06/1.644e-06, allocations: 0 / 290.7 MB, free: 7.582 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.519e-05/2.683e-05, allocations: 7.609 kB / 290.7 MB, free: 7.578 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test38): time 0.002488/0.002515, allocations: 1.758 MB / 292.5 MB, free: 6.145 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001242/0.003757, allocations: 0.998 MB / 293.5 MB, free: 5.395 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.679e-05/0.003824, allocations: 0.7188 kB / 293.5 MB, free: 5.395 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002143/0.004038, allocations: 74.25 kB / 293.5 MB, free: 5.348 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000211/0.004249, allocations: 113.9 kB / 293.6 MB, free: 5.258 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001462/0.004395, allocations: 71.67 kB / 293.7 MB, free: 5.188 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001695/0.004565, allocations: 111.6 kB / 293.8 MB, free: 5.078 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.324e-05/0.004608, allocations: 8.172 kB / 293.8 MB, free: 5.07 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001254/0.004734, allocations: 83.8 kB / 293.9 MB, free: 4.988 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.499e-05/0.004829, allocations: 39.84 kB / 293.9 MB, free: 4.949 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.36e-05/0.004842, allocations: 4 kB / 293.9 MB, free: 4.945 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.085e-05/0.004923, allocations: 31.98 kB / 294 MB, free: 4.914 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 4.377e-05/0.004967, allocations: 15.94 kB / 294 MB, free: 4.898 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 3.346e-05/0.005, allocations: 15.94 kB / 294 MB, free: 4.883 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001519/0.005152, allocations: 91.59 kB / 294.1 MB, free: 4.793 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.486e-05/0.005167, allocations: 0 / 294.1 MB, free: 4.793 MB / 282.7 MB Notification: Performance of FrontEnd: time 5.61e-07/0.005167, allocations: 0 / 294.1 MB, free: 4.793 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.194e-05/0.005179, allocations: 0 / 294.1 MB, free: 4.793 MB / 282.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0004463/0.005626, allocations: 320.7 kB / 294.4 MB, free: 4.457 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.507e-05/0.005661, allocations: 8.031 kB / 294.4 MB, free: 4.449 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.945e-05/0.00569, allocations: 8.938 kB / 294.4 MB, free: 4.441 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001652/0.005855, allocations: 154.2 kB / 294.6 MB, free: 4.266 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.588e-05/0.005881, allocations: 4.359 kB / 294.6 MB, free: 4.262 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.945e-06/0.005889, allocations: 384 / 294.6 MB, free: 4.262 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001032/0.005992, allocations: 65.7 kB / 294.7 MB, free: 4.188 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.673e-06/0.005999, allocations: 3.938 kB / 294.7 MB, free: 4.184 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.552e-06/0.006006, allocations: 0 / 294.7 MB, free: 4.184 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.328e-06/0.00601, allocations: 4 kB / 294.7 MB, free: 4.18 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.486e-05/0.006035, allocations: 4 kB / 294.7 MB, free: 4.176 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.916e-05/0.006124, allocations: 70.62 kB / 294.7 MB, free: 4.09 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.15e-05/0.006205, allocations: 49.41 kB / 294.8 MB, free: 4.031 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.762e-05/0.006223, allocations: 12.86 kB / 294.8 MB, free: 4.016 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.172e-05/0.006235, allocations: 0 / 294.8 MB, free: 4.016 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.885e-05/0.006324, allocations: 66.16 kB / 294.9 MB, free: 3.938 MB / 282.7 MB Notification: Performance of pre-optimization done (n=5): time 7.41e-07/0.006324, allocations: 0 / 294.9 MB, free: 3.938 MB / 282.7 MB Notification: Performance of matching and sorting (n=5): time 0.0001111/0.006435, allocations: 53.67 kB / 294.9 MB, free: 3.879 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.146e-05/0.006467, allocations: 55.34 kB / 295 MB, free: 3.812 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001041/0.006571, allocations: 181.5 kB / 295.1 MB, free: 3.621 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.447e-05/0.006585, allocations: 25.7 kB / 295.2 MB, free: 3.59 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.074e-05/0.006616, allocations: 100 kB / 295.3 MB, free: 3.488 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.974e-05/0.006646, allocations: 19.91 kB / 295.3 MB, free: 3.469 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.178e-05/0.006678, allocations: 21.69 kB / 295.3 MB, free: 3.441 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 8.517e-05/0.006763, allocations: 322.8 kB / 295.6 MB, free: 3.117 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.511e-05/0.006778, allocations: 10.83 kB / 295.6 MB, free: 3.105 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.633e-05/0.006804, allocations: 21.7 kB / 295.7 MB, free: 3.078 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.908e-05/0.006843, allocations: 31.61 kB / 295.7 MB, free: 3.039 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/0.006845, allocations: 0 / 295.7 MB, free: 3.039 MB / 282.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 6.086e-05/0.006906, allocations: 64.44 kB / 295.7 MB, free: 2.969 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.138e-05/0.006918, allocations: 8.031 kB / 295.8 MB, free: 2.961 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.168e-06/0.006922, allocations: 0 / 295.8 MB, free: 2.961 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.486e-06/0.00693, allocations: 4 kB / 295.8 MB, free: 2.957 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.914e-05/0.006989, allocations: 15.94 kB / 295.8 MB, free: 2.941 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.895e-06/0.006992, allocations: 0 / 295.8 MB, free: 2.941 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.742e-05/0.00702, allocations: 7.984 kB / 295.8 MB, free: 2.934 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.138e-06/0.007024, allocations: 0 / 295.8 MB, free: 2.934 MB / 282.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($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 (7): * Single equations (assignments): 7 * 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 6.594e-05/0.00709, allocations: 116.6 kB / 295.9 MB, free: 2.809 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.998e-06/0.0071, allocations: 7.984 kB / 295.9 MB, free: 2.801 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.333e-05/0.007183, allocations: 66.78 kB / 296 MB, free: 2.73 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.515e-06/0.007186, allocations: 7.984 kB / 296 MB, free: 2.723 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.244e-06/0.007188, allocations: 3.938 kB / 296 MB, free: 2.719 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.005e-06/0.007191, allocations: 0 / 296 MB, free: 2.719 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.46e-05/0.007266, allocations: 81.86 kB / 296.1 MB, free: 2.621 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.312e-06/0.007267, allocations: 0 / 296.1 MB, free: 2.621 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.677e-05/0.007284, allocations: 8 kB / 296.1 MB, free: 2.613 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.335e-05/0.007297, allocations: 15.84 kB / 296.1 MB, free: 2.598 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.743e-06/0.007299, allocations: 0 / 296.1 MB, free: 2.598 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.47e-06/0.007304, allocations: 3.984 kB / 296.1 MB, free: 2.594 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.61e-07/0.007305, allocations: 3.938 kB / 296.1 MB, free: 2.59 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.165e-06/0.007307, allocations: 3.938 kB / 296.1 MB, free: 2.586 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.438e-05/0.007371, allocations: 90.77 kB / 296.2 MB, free: 2.477 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.264e-05/0.007384, allocations: 0 / 296.2 MB, free: 2.477 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.732e-05/0.007401, allocations: 192 / 296.2 MB, free: 2.477 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.882e-05/0.00743, allocations: 11.98 kB / 296.2 MB, free: 2.465 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.29e-05/0.007443, allocations: 4 kB / 296.2 MB, free: 2.461 MB / 282.7 MB Notification: Performance of sorting global known variables: time 3.968e-05/0.007483, allocations: 47.59 kB / 296.2 MB, free: 2.41 MB / 282.7 MB Notification: Performance of sort global known variables: time 7e-08/0.007483, allocations: 0 / 296.2 MB, free: 2.41 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.000113/0.007596, allocations: 23.98 kB / 296.3 MB, free: 2.387 MB / 282.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001195/0.00879, allocations: 0.556 MB / 296.8 MB, free: 2.141 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 7.817e-05/0.008868, allocations: 32.78 kB / 296.9 MB, free: 2.105 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 6.592e-06/0.008875, allocations: 4 kB / 296.9 MB, free: 2.102 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 2.384e-05/0.008899, allocations: 16.86 kB / 296.9 MB, free: 2.082 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001329/0.009032, allocations: 38.39 kB / 296.9 MB, free: 2.047 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003944/0.009426, allocations: 202.7 kB / 297.1 MB, free: 1.82 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.495e-05/0.009471, allocations: 63.34 kB / 297.2 MB, free: 1.738 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 3.259e-05/0.009504, allocations: 16.55 kB / 297.2 MB, free: 1.723 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.697e-05/0.009561, allocations: 67.36 kB / 297.3 MB, free: 1.656 MB / 282.7 MB Notification: Performance of SimCode: time 4.6e-07/0.009561, allocations: 3.938 kB / 297.3 MB, free: 1.652 MB / 282.7 MB Notification: Performance of Templates: time 0.003243/0.0128, allocations: 1.795 MB / 299.1 MB, free: 15.89 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test38.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test38.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test38.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test38.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test38.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test38 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test38.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test38_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test38/Test38.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.232615484856069]