Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test2.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.0009767/0.0009767, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001163/0.002139, 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.0007325/0.0007325, allocations: 169.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008966/0.001629, 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.082/1.082, allocations: 177.2 MB / 189.6 MB, free: 5.312 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1251/1.207, allocations: 53.66 MB / 243.3 MB, free: 15.57 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.2936/0.2936, allocations: 32.8 MB / 276.8 MB, free: 15.87 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.03082/0.3244, allocations: 12.53 MB / 289.3 MB, free: 8.684 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.CombiTable1Ds.Test2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test2") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 3.226e-06/3.226e-06, allocations: 0 / 290.6 MB, free: 7.652 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.867e-05/2.189e-05, allocations: 3.078 kB / 290.6 MB, free: 7.648 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test2): time 0.002307/0.002328, allocations: 1.682 MB / 292.3 MB, free: 6.289 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009294/0.003258, allocations: 0.5401 MB / 292.8 MB, free: 5.887 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.373e-05/0.003332, allocations: 1.312 kB / 292.8 MB, free: 5.887 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001574/0.003489, allocations: 24.47 kB / 292.9 MB, free: 5.867 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002139/0.003703, allocations: 82.38 kB / 293 MB, free: 5.809 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000239/0.003942, allocations: 86.66 kB / 293 MB, free: 5.75 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001776/0.004119, allocations: 64.3 kB / 293.1 MB, free: 5.715 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000115/0.004234, allocations: 15.95 kB / 293.1 MB, free: 5.703 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001103/0.004345, allocations: 52.56 kB / 293.2 MB, free: 5.672 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.215e-05/0.004417, allocations: 10 kB / 293.2 MB, free: 5.668 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.705e-05/0.004434, allocations: 2.594 kB / 293.2 MB, free: 5.668 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.196e-05/0.004526, allocations: 36 kB / 293.2 MB, free: 5.652 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 4.76e-05/0.004573, allocations: 9.969 kB / 293.2 MB, free: 5.648 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 3.351e-05/0.004607, allocations: 15.19 kB / 293.2 MB, free: 5.641 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00017/0.004777, allocations: 68.44 kB / 293.3 MB, free: 5.602 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.761e-05/0.004795, allocations: 4 kB / 293.3 MB, free: 5.598 MB / 282.7 MB Notification: Performance of FrontEnd: time 9.32e-07/0.004796, allocations: 0 / 293.3 MB, free: 5.598 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.683e-05/0.004812, allocations: 0 / 293.3 MB, free: 5.598 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004465/0.005259, allocations: 292.8 kB / 293.6 MB, free: 5.289 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.102e-05/0.0053, allocations: 12.03 kB / 293.6 MB, free: 5.277 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.355e-05/0.005333, allocations: 4.938 kB / 293.6 MB, free: 5.273 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001529/0.005486, allocations: 133.6 kB / 293.7 MB, free: 5.117 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.014e-05/0.005496, allocations: 4.359 kB / 293.7 MB, free: 5.113 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.921e-05/0.005516, allocations: 12.38 kB / 293.8 MB, free: 5.102 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.405e-05/0.00561, allocations: 54.88 kB / 293.8 MB, free: 5.039 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.128e-06/0.005619, allocations: 192 / 293.8 MB, free: 5.039 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.245e-06/0.005627, allocations: 4.125 kB / 293.8 MB, free: 5.035 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.925e-06/0.005635, allocations: 4 kB / 293.8 MB, free: 5.031 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.478e-05/0.00566, allocations: 8 kB / 293.8 MB, free: 5.023 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001982/0.005858, allocations: 155.2 kB / 294 MB, free: 4.855 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001763/0.006034, allocations: 34.5 kB / 294 MB, free: 4.812 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.543e-05/0.00605, allocations: 4.859 kB / 294 MB, free: 4.805 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.229e-05/0.006072, allocations: 8.078 kB / 294 MB, free: 4.797 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.529e-05/0.006097, allocations: 34.56 kB / 294.1 MB, free: 4.754 MB / 282.7 MB Notification: Performance of pre-optimization done (n=3): time 7.82e-07/0.006098, allocations: 0 / 294.1 MB, free: 4.754 MB / 282.7 MB Notification: Performance of matching and sorting (n=5): time 0.0002796/0.006378, allocations: 81.48 kB / 294.1 MB, free: 4.668 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.821e-05/0.006416, allocations: 59.41 kB / 294.2 MB, free: 4.598 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001057/0.006522, allocations: 144.2 kB / 294.3 MB, free: 4.441 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.201e-05/0.006534, allocations: 25.7 kB / 294.4 MB, free: 4.41 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.685e-05/0.006571, allocations: 88.12 kB / 294.5 MB, free: 4.32 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.967e-05/0.0066, allocations: 19.84 kB / 294.5 MB, free: 4.301 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.62e-05/0.006626, allocations: 17.7 kB / 294.5 MB, free: 4.277 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 9.89e-05/0.006725, allocations: 322.8 kB / 294.8 MB, free: 3.953 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.052e-05/0.006736, allocations: 8 kB / 294.8 MB, free: 3.945 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.158e-05/0.006747, allocations: 4 kB / 294.8 MB, free: 3.941 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.342e-05/0.006781, allocations: 28.97 kB / 294.8 MB, free: 3.91 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.292e-06/0.006782, allocations: 0 / 294.8 MB, free: 3.91 MB / 282.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 5.569e-05/0.006838, allocations: 49.62 kB / 294.9 MB, free: 3.855 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.209e-05/0.00685, allocations: 4 kB / 294.9 MB, free: 3.852 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.061e-06/0.006856, allocations: 0 / 294.9 MB, free: 3.852 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.298e-06/0.006865, allocations: 3.938 kB / 294.9 MB, free: 3.848 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.661e-05/0.006922, allocations: 15.98 kB / 294.9 MB, free: 3.832 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.296e-06/0.006925, allocations: 0 / 294.9 MB, free: 3.832 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.633e-05/0.006941, allocations: 4 kB / 294.9 MB, free: 3.828 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.308e-06/0.006946, allocations: 4 kB / 294.9 MB, free: 3.824 MB / 282.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 5 * 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.597e-05/0.007012, allocations: 112.7 kB / 295 MB, free: 3.703 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.923e-05/0.007031, allocations: 15.86 kB / 295 MB, free: 3.688 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.263e-05/0.007124, allocations: 58.14 kB / 295.1 MB, free: 3.625 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.913e-06/0.007126, allocations: 0 / 295.1 MB, free: 3.625 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.804e-06/0.007127, allocations: 0 / 295.1 MB, free: 3.625 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.296e-06/0.007131, allocations: 0 / 295.1 MB, free: 3.625 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001975/0.007328, allocations: 218.8 kB / 295.3 MB, free: 3.387 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.218e-06/0.007332, allocations: 3.938 kB / 295.3 MB, free: 3.383 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.101e-05/0.007363, allocations: 16 kB / 295.3 MB, free: 3.367 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.734e-06/0.007371, allocations: 3.953 kB / 295.3 MB, free: 3.363 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.62e-07/0.007372, allocations: 0 / 295.3 MB, free: 3.363 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.283e-06/0.007379, allocations: 7.984 kB / 295.3 MB, free: 3.355 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.61e-07/0.00738, allocations: 0 / 295.3 MB, free: 3.355 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.024e-06/0.007382, allocations: 192 / 295.3 MB, free: 3.355 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.186e-05/0.007464, allocations: 143.5 kB / 295.5 MB, free: 3.199 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.222e-05/0.007476, allocations: 4 kB / 295.5 MB, free: 3.195 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.788e-05/0.007504, allocations: 4 kB / 295.5 MB, free: 3.191 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.462e-05/0.007528, allocations: 4.266 kB / 295.5 MB, free: 3.188 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.184e-06/0.00753, allocations: 3.938 kB / 295.5 MB, free: 3.184 MB / 282.7 MB Notification: Performance of sorting global known variables: time 3.32e-05/0.007564, allocations: 38.06 kB / 295.5 MB, free: 3.145 MB / 282.7 MB Notification: Performance of sort global known variables: time 5.1e-08/0.007564, allocations: 0 / 295.5 MB, free: 3.145 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001298/0.007694, allocations: 19.94 kB / 295.6 MB, free: 3.125 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 5 * 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 Backend phase and start with SimCode phase: time 0.001256/0.008949, allocations: 0.5346 MB / 296.1 MB, free: 2.898 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 8.665e-05/0.009036, allocations: 28.83 kB / 296.1 MB, free: 2.867 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 5.601e-06/0.009042, allocations: 0 / 296.1 MB, free: 2.867 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 2.062e-05/0.009062, allocations: 24.72 kB / 296.1 MB, free: 2.84 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001835/0.009246, allocations: 34.69 kB / 296.2 MB, free: 2.809 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004505/0.009696, allocations: 171.2 kB / 296.4 MB, free: 2.609 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.078e-05/0.009737, allocations: 63.34 kB / 296.4 MB, free: 2.527 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 2.846e-05/0.009765, allocations: 7.984 kB / 296.4 MB, free: 2.52 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.351e-05/0.009829, allocations: 63.36 kB / 296.5 MB, free: 2.457 MB / 282.7 MB Notification: Performance of SimCode: time 5.71e-07/0.00983, allocations: 0 / 296.5 MB, free: 2.457 MB / 282.7 MB Notification: Performance of Templates: time 0.003102/0.01293, allocations: 1.251 MB / 297.7 MB, free: 1.219 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test2.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test2.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test2.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test2.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test2.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test2 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test2.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test2/Test2.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.1280047334730625]