Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test31.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.0007342/0.0007342, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009458/0.00168, 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.0007299/0.0007299, allocations: 169.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008729/0.001603, 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 0.9899/0.9899, allocations: 177.2 MB / 189.6 MB, free: 5.316 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08792/1.078, allocations: 53.66 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.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.2863/0.2863, allocations: 34.25 MB / 278.2 MB, free: 15.29 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02823/0.3145, allocations: 13.09 MB / 291.3 MB, free: 7.367 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.CombiTable2Dv.Test31,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test31") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test31,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test31") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.914e-06/1.914e-06, allocations: 0 / 292.6 MB, free: 6.281 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.305e-05/2.497e-05, allocations: 7.891 kB / 292.6 MB, free: 6.273 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test31): time 0.002965/0.00299, allocations: 1.747 MB / 294.4 MB, free: 4.52 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001891/0.00488, allocations: 1.34 MB / 295.7 MB, free: 3.172 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.648e-05/0.004957, allocations: 0 / 295.7 MB, free: 3.172 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000172/0.005129, allocations: 27.83 kB / 295.8 MB, free: 3.145 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000397/0.005526, allocations: 84.2 kB / 295.8 MB, free: 3.062 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004492/0.005975, allocations: 176.5 kB / 296 MB, free: 2.891 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001419/0.006117, allocations: 87.7 kB / 296.1 MB, free: 2.805 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.446e-05/0.006201, allocations: 12 kB / 296.1 MB, free: 2.793 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.144e-05/0.006293, allocations: 55.89 kB / 296.2 MB, free: 2.738 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.652e-05/0.006389, allocations: 27.91 kB / 296.2 MB, free: 2.711 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.478e-05/0.006404, allocations: 4 kB / 296.2 MB, free: 2.707 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001948/0.006599, allocations: 107.8 kB / 296.3 MB, free: 2.602 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 4.166e-05/0.006641, allocations: 15.92 kB / 296.3 MB, free: 2.586 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 2.991e-05/0.006671, allocations: 12 kB / 296.3 MB, free: 2.574 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001964/0.006867, allocations: 127.5 kB / 296.5 MB, free: 2.449 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.666e-05/0.006884, allocations: 0 / 296.5 MB, free: 2.449 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.743e-06/0.006885, allocations: 0 / 296.5 MB, free: 2.449 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.755e-05/0.006903, allocations: 4 kB / 296.5 MB, free: 2.445 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0008342/0.007737, allocations: 329.1 kB / 296.8 MB, free: 2.102 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.67e-05/0.007774, allocations: 8.031 kB / 296.8 MB, free: 2.094 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.813e-05/0.007812, allocations: 12.86 kB / 296.8 MB, free: 2.082 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001539/0.007966, allocations: 137.6 kB / 296.9 MB, free: 1.922 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.229e-05/0.007978, allocations: 4.375 kB / 296.9 MB, free: 1.918 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.649e-05/0.007995, allocations: 4.359 kB / 296.9 MB, free: 1.914 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000125/0.00812, allocations: 102.3 kB / 297 MB, free: 1.793 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.816e-06/0.008128, allocations: 4.188 kB / 297 MB, free: 1.789 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.859e-06/0.008138, allocations: 4.125 kB / 297 MB, free: 1.785 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.189e-06/0.008143, allocations: 0 / 297 MB, free: 1.785 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.828e-05/0.008172, allocations: 15.97 kB / 297.1 MB, free: 1.77 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002453/0.008417, allocations: 179 kB / 297.2 MB, free: 1.578 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.512e-05/0.008472, allocations: 30.56 kB / 297.3 MB, free: 1.539 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.703e-05/0.008489, allocations: 12.86 kB / 297.3 MB, free: 1.523 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.081e-05/0.00851, allocations: 4 kB / 297.3 MB, free: 1.52 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.075e-05/0.008531, allocations: 34.5 kB / 297.3 MB, free: 1.477 MB / 282.7 MB Notification: Performance of pre-optimization done (n=4): time 9.12e-07/0.008532, allocations: 0 / 297.3 MB, free: 1.477 MB / 282.7 MB Notification: Performance of matching and sorting (n=7): time 0.0003097/0.008841, allocations: 109.7 kB / 297.4 MB, free: 1.363 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.695e-05/0.008868, allocations: 59.34 kB / 297.5 MB, free: 1.293 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.495e-05/0.008953, allocations: 136.4 kB / 297.6 MB, free: 1.148 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.1e-05/0.008964, allocations: 29.7 kB / 297.6 MB, free: 1.113 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.024e-05/0.008994, allocations: 104 kB / 297.7 MB, free: 1.008 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.841e-05/0.009013, allocations: 15.86 kB / 297.8 MB, free: 0.9922 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.623e-05/0.009039, allocations: 17.72 kB / 297.8 MB, free: 0.9688 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 6.727e-05/0.009106, allocations: 326.8 kB / 298.1 MB, free: 0.6406 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.261e-05/0.009119, allocations: 4 kB / 298.1 MB, free: 0.6367 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.88e-05/0.009148, allocations: 47.41 kB / 298.2 MB, free: 0.5781 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.33e-05/0.009181, allocations: 27.67 kB / 298.2 MB, free: 0.5469 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.82e-07/0.009182, allocations: 0 / 298.2 MB, free: 0.5469 MB / 282.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 5.928e-05/0.009241, allocations: 69.53 kB / 298.2 MB, free: 484 kB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.272e-05/0.009254, allocations: 4 kB / 298.2 MB, free: 480 kB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.258e-06/0.009258, allocations: 0 / 298.2 MB, free: 480 kB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.756e-06/0.009267, allocations: 4.031 kB / 298.3 MB, free: 476 kB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.093e-05/0.009338, allocations: 19.98 kB / 298.3 MB, free: 456 kB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.685e-06/0.009341, allocations: 0 / 298.3 MB, free: 456 kB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.124e-05/0.009362, allocations: 4 kB / 298.3 MB, free: 452 kB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.919e-06/0.009367, allocations: 0 / 298.3 MB, free: 452 kB / 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 (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 5.638e-05/0.009423, allocations: 124.6 kB / 298.4 MB, free: 316 kB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.677e-05/0.00944, allocations: 7.938 kB / 298.4 MB, free: 308 kB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.589e-05/0.009536, allocations: 78.31 kB / 298.5 MB, free: 224 kB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.343e-06/0.009537, allocations: 0 / 298.5 MB, free: 224 kB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.393e-06/0.009539, allocations: 4 kB / 298.5 MB, free: 220 kB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.324e-06/0.009541, allocations: 0 / 298.5 MB, free: 220 kB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001911/0.009732, allocations: 223.1 kB / 298.7 MB, free: 15.97 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.065e-06/0.009735, allocations: 4 kB / 298.7 MB, free: 15.97 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.982e-05/0.009775, allocations: 19.92 kB / 298.7 MB, free: 15.95 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.017e-06/0.009784, allocations: 11.94 kB / 298.7 MB, free: 15.94 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.533e-06/0.009785, allocations: 0 / 298.7 MB, free: 15.94 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.939e-06/0.00979, allocations: 4 kB / 298.7 MB, free: 15.93 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.21e-07/0.009791, allocations: 0 / 298.7 MB, free: 15.93 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.32e-07/0.009792, allocations: 0 / 298.7 MB, free: 15.93 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.746e-05/0.009869, allocations: 155.5 kB / 298.9 MB, free: 15.77 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.091e-05/0.00988, allocations: 4 kB / 298.9 MB, free: 15.76 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.585e-05/0.009916, allocations: 8 kB / 298.9 MB, free: 15.75 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.522e-05/0.009941, allocations: 8.266 kB / 298.9 MB, free: 15.75 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.138e-06/0.009945, allocations: 4 kB / 298.9 MB, free: 15.74 MB / 298.7 MB Notification: Performance of sorting global known variables: time 2.541e-05/0.009971, allocations: 31.48 kB / 298.9 MB, free: 15.71 MB / 298.7 MB Notification: Performance of sort global known variables: time 7e-08/0.009971, allocations: 0 / 298.9 MB, free: 15.71 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001502/0.01012, allocations: 47.86 kB / 299 MB, free: 15.66 MB / 298.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 (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 Backend phase and start with SimCode phase: time 0.001477/0.0116, allocations: 0.6785 MB / 299.7 MB, free: 15.36 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 8.064e-05/0.01168, allocations: 44.81 kB / 299.7 MB, free: 15.31 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 6.712e-06/0.01169, allocations: 4 kB / 299.7 MB, free: 15.3 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 2.129e-05/0.01171, allocations: 20.78 kB / 299.7 MB, free: 15.28 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001695/0.01188, allocations: 42.25 kB / 299.8 MB, free: 15.24 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004313/0.01231, allocations: 206.5 kB / 300 MB, free: 15.02 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.448e-05/0.01234, allocations: 63.34 kB / 300 MB, free: 14.93 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 4.559e-05/0.01239, allocations: 16.72 kB / 300.1 MB, free: 14.91 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.229e-05/0.01245, allocations: 67.36 kB / 300.1 MB, free: 14.85 MB / 298.7 MB Notification: Performance of SimCode: time 6.61e-07/0.01245, allocations: 4 kB / 300.1 MB, free: 14.84 MB / 298.7 MB Notification: Performance of Templates: time 0.003749/0.0162, allocations: 2.187 MB / 302.3 MB, free: 12.68 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test31.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test31.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test31.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test31.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test31.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test31 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test31.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test31_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Dv/Test31/Test31.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: 2.9440912399441004]