Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.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.0006989/0.0006989, allocations: 77.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001133/0.001832, allocations: 449.8 kB / 10.44 MB, free: 252 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.0006731/0.0006731, allocations: 165.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009414/0.001615, allocations: 479.5 kB / 11.82 MB, free: 2.344 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 0.9644/0.9644, allocations: 177.2 MB / 189.8 MB, free: 5.238 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1216/1.086, allocations: 53.66 MB / 243.4 MB, free: 15.49 MB / 250.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.2578/0.2578, allocations: 34.26 MB / 278.4 MB, free: 15.28 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0237/0.2815, allocations: 13.11 MB / 291.5 MB, free: 7.32 MB / 282.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.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.1.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.1.0_ModelicaTest.Tables.CombiTable1Ds.Test2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.233e-06/1.233e-06, allocations: 0 / 292.9 MB, free: 6.172 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.762e-05/1.886e-05, allocations: 2.312 kB / 292.9 MB, free: 6.168 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test2): time 0.002072/0.002091, allocations: 1.681 MB / 294.5 MB, free: 4.48 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007468/0.002838, allocations: 0.5452 MB / 295.1 MB, free: 3.93 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.065e-05/0.002888, allocations: 4 kB / 295.1 MB, free: 3.926 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001528/0.003041, allocations: 27.72 kB / 295.1 MB, free: 3.898 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002105/0.003252, allocations: 75.56 kB / 295.2 MB, free: 3.824 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002585/0.00351, allocations: 99.56 kB / 295.3 MB, free: 3.727 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001304/0.003641, allocations: 59.86 kB / 295.3 MB, free: 3.668 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.891e-05/0.003719, allocations: 11.97 kB / 295.4 MB, free: 3.656 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.305e-05/0.003813, allocations: 47.84 kB / 295.4 MB, free: 3.609 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.925e-05/0.003872, allocations: 19.92 kB / 295.4 MB, free: 3.59 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.458e-05/0.003886, allocations: 4 kB / 295.4 MB, free: 3.586 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.755e-05/0.003954, allocations: 35.92 kB / 295.5 MB, free: 3.551 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 3.869e-05/0.003993, allocations: 11.94 kB / 295.5 MB, free: 3.539 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 2.224e-05/0.004015, allocations: 11.94 kB / 295.5 MB, free: 3.527 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001511/0.004166, allocations: 71.69 kB / 295.6 MB, free: 3.457 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.056e-05/0.004176, allocations: 0 / 295.6 MB, free: 3.457 MB / 282.7 MB Notification: Performance of FrontEnd: time 9.22e-07/0.004177, allocations: 0 / 295.6 MB, free: 3.457 MB / 282.7 MB Notification: Performance of Transformations before backend: time 8.226e-06/0.004186, allocations: 0 / 295.6 MB, free: 3.457 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.0003267/0.004512, allocations: 293.4 kB / 295.8 MB, free: 3.148 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.468e-05/0.004547, allocations: 11.97 kB / 295.9 MB, free: 3.137 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.865e-05/0.004576, allocations: 4.938 kB / 295.9 MB, free: 3.133 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003285/0.004904, allocations: 133.6 kB / 296 MB, free: 2.977 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.077e-05/0.004915, allocations: 4.375 kB / 296 MB, free: 2.973 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.138e-05/0.004936, allocations: 4.375 kB / 296 MB, free: 2.969 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.655e-05/0.005033, allocations: 54.88 kB / 296 MB, free: 2.906 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.464e-06/0.00504, allocations: 192 / 296 MB, free: 2.906 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.346e-06/0.005049, allocations: 8.125 kB / 296.1 MB, free: 2.898 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.958e-06/0.005053, allocations: 4 kB / 296.1 MB, free: 2.895 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.873e-05/0.005071, allocations: 4 kB / 296.1 MB, free: 2.891 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002183/0.00529, allocations: 155.1 kB / 296.2 MB, free: 2.723 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001161/0.005406, allocations: 30.56 kB / 296.2 MB, free: 2.684 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.737e-05/0.005423, allocations: 16.78 kB / 296.3 MB, free: 2.664 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.802e-05/0.005441, allocations: 4.094 kB / 296.3 MB, free: 2.66 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.426e-05/0.005465, allocations: 34.55 kB / 296.3 MB, free: 2.617 MB / 282.7 MB Notification: Performance of pre-optimization done (n=3): time 9.72e-07/0.005466, allocations: 0 / 296.3 MB, free: 2.617 MB / 282.7 MB Notification: Performance of matching and sorting (n=5): time 0.000324/0.00579, allocations: 89.55 kB / 296.4 MB, free: 2.523 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.885e-05/0.005819, allocations: 51.41 kB / 296.4 MB, free: 2.461 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001353/0.005954, allocations: 148.2 kB / 296.6 MB, free: 2.301 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.105e-05/0.005966, allocations: 25.7 kB / 296.6 MB, free: 2.27 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.05e-05/0.005996, allocations: 92.12 kB / 296.7 MB, free: 2.176 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.061e-05/0.006017, allocations: 19.84 kB / 296.7 MB, free: 2.156 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.379e-05/0.00604, allocations: 17.72 kB / 296.7 MB, free: 2.133 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 7.256e-05/0.006113, allocations: 318.8 kB / 297 MB, free: 1.812 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.082e-05/0.006124, allocations: 8 kB / 297.1 MB, free: 1.805 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.157e-06/0.006133, allocations: 4.188 kB / 297.1 MB, free: 1.801 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.696e-05/0.00616, allocations: 20.84 kB / 297.1 MB, free: 1.777 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.923e-06/0.006162, allocations: 4 kB / 297.1 MB, free: 1.773 MB / 282.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 5.187e-05/0.006214, allocations: 49.56 kB / 297.1 MB, free: 1.719 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.078e-05/0.006224, allocations: 4 kB / 297.1 MB, free: 1.715 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.867e-06/0.006228, allocations: 0 / 297.1 MB, free: 1.715 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.968e-06/0.006238, allocations: 4 kB / 297.1 MB, free: 1.711 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.466e-05/0.006293, allocations: 15.98 kB / 297.2 MB, free: 1.695 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.294e-06/0.006295, allocations: 0 / 297.2 MB, free: 1.695 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.611e-05/0.006311, allocations: 7.938 kB / 297.2 MB, free: 1.688 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.079e-06/0.006316, allocations: 4 kB / 297.2 MB, free: 1.684 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 5.479e-05/0.006371, allocations: 120.6 kB / 297.3 MB, free: 1.555 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.559e-05/0.006387, allocations: 7.938 kB / 297.3 MB, free: 1.547 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.438e-05/0.006481, allocations: 66.08 kB / 297.4 MB, free: 1.473 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.483e-06/0.006483, allocations: 0 / 297.4 MB, free: 1.473 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.132e-06/0.006484, allocations: 0 / 297.4 MB, free: 1.473 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.545e-06/0.006486, allocations: 0 / 297.4 MB, free: 1.473 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003436/0.00683, allocations: 206.8 kB / 297.6 MB, free: 1.246 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.815e-06/0.006833, allocations: 3.938 kB / 297.6 MB, free: 1.242 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.319e-05/0.006866, allocations: 15.94 kB / 297.6 MB, free: 1.227 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.702e-06/0.006873, allocations: 3.953 kB / 297.6 MB, free: 1.223 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.055e-06/0.006876, allocations: 4 kB / 297.6 MB, free: 1.219 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.28e-06/0.006881, allocations: 4.172 kB / 297.6 MB, free: 1.215 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.244e-06/0.006883, allocations: 4 kB / 297.6 MB, free: 1.211 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.006884, allocations: 0 / 297.6 MB, free: 1.211 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.044e-05/0.006955, allocations: 147.5 kB / 297.7 MB, free: 1.051 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.947e-06/0.006964, allocations: 0 / 297.7 MB, free: 1.051 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.867e-05/0.006992, allocations: 4 kB / 297.7 MB, free: 1.047 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.023e-05/0.007012, allocations: 7.984 kB / 297.7 MB, free: 1.039 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.775e-06/0.007015, allocations: 0 / 297.7 MB, free: 1.039 MB / 282.7 MB Notification: Performance of sorting global known variables: time 3.102e-05/0.007046, allocations: 34.08 kB / 297.8 MB, free: 1.004 MB / 282.7 MB Notification: Performance of sort global known variables: time 6e-08/0.007046, allocations: 0 / 297.8 MB, free: 1.004 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001294/0.007176, allocations: 19.92 kB / 297.8 MB, free: 0.9844 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.001239/0.008415, allocations: 0.5558 MB / 298.4 MB, free: 0.7305 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 6.637e-05/0.008481, allocations: 20.8 kB / 298.4 MB, free: 0.707 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 6.633e-06/0.008488, allocations: 4 kB / 298.4 MB, free: 0.7031 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 2.559e-05/0.008513, allocations: 20.84 kB / 298.4 MB, free: 0.6797 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001958/0.008709, allocations: 79.33 kB / 298.5 MB, free: 0.5898 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000415/0.009124, allocations: 171.2 kB / 298.6 MB, free: 400 kB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.461e-05/0.009159, allocations: 59.34 kB / 298.7 MB, free: 320 kB / 282.7 MB Notification: Performance of simCode: alias equations: time 2.989e-05/0.009189, allocations: 11.98 kB / 298.7 MB, free: 308 kB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.161e-05/0.00924, allocations: 55.38 kB / 298.8 MB, free: 252 kB / 282.7 MB Notification: Performance of SimCode: time 1.112e-06/0.009241, allocations: 4 kB / 298.8 MB, free: 248 kB / 282.7 MB Notification: Performance of Templates: time 0.003004/0.01225, allocations: 1.26 MB / 300 MB, free: 15 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test2.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test2.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test2.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test2.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test2.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test2 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test2.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Ds/Test2/Test2.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.8399237068369985]