Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test3.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.001109/0.001109, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001594/0.002703, 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.001464/0.001464, allocations: 169.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001762/0.003226, 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.069/1.069, allocations: 177.2 MB / 189.6 MB, free: 5.312 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1295/1.198, 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.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.3562/0.3562, allocations: 32.81 MB / 276.8 MB, free: 15.86 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.04656/0.4028, 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.CombiTable1Ds.Test3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test3") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test3") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.894e-06/1.894e-06, allocations: 0 / 290.6 MB, free: 7.637 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.716e-05/2.906e-05, allocations: 4.312 kB / 290.6 MB, free: 7.633 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test3): time 0.003448/0.003477, allocations: 1.695 MB / 292.3 MB, free: 6.266 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008082/0.004285, allocations: 0.5445 MB / 292.9 MB, free: 5.859 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.482e-05/0.00434, allocations: 1.094 kB / 292.9 MB, free: 5.859 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001942/0.004534, allocations: 74.89 kB / 293 MB, free: 5.816 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002154/0.00475, allocations: 102.5 kB / 293.1 MB, free: 5.75 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002306/0.00498, allocations: 97.75 kB / 293.1 MB, free: 5.684 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.000216/0.005196, allocations: 79.27 kB / 293.2 MB, free: 5.641 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001094/0.005306, allocations: 21.09 kB / 293.2 MB, free: 5.625 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001475/0.005453, allocations: 60.05 kB / 293.3 MB, free: 5.594 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001215/0.005575, allocations: 45.05 kB / 293.3 MB, free: 5.559 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.886e-05/0.005594, allocations: 3.938 kB / 293.4 MB, free: 5.555 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001128/0.005706, allocations: 47.92 kB / 293.4 MB, free: 5.508 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 5.334e-05/0.00576, allocations: 15.92 kB / 293.4 MB, free: 5.492 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 3.528e-05/0.005795, allocations: 11.94 kB / 293.4 MB, free: 5.48 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002094/0.006004, allocations: 87.67 kB / 293.5 MB, free: 5.395 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.191e-05/0.006026, allocations: 0 / 293.5 MB, free: 5.395 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.402e-06/0.006028, allocations: 3.938 kB / 293.5 MB, free: 5.391 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.781e-05/0.006046, allocations: 4 kB / 293.5 MB, free: 5.387 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.0005124/0.006558, allocations: 316.7 kB / 293.8 MB, free: 5.055 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.629e-05/0.006604, allocations: 15.97 kB / 293.8 MB, free: 5.039 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.459e-05/0.006649, allocations: 8.922 kB / 293.9 MB, free: 5.031 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003646/0.007013, allocations: 138.3 kB / 294 MB, free: 4.871 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.444e-05/0.007028, allocations: 384 / 294 MB, free: 4.871 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.566e-05/0.007054, allocations: 8.359 kB / 294 MB, free: 4.863 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001403/0.007194, allocations: 58.94 kB / 294.1 MB, free: 4.797 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.244e-05/0.007206, allocations: 192 / 294.1 MB, free: 4.797 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.014e-05/0.007216, allocations: 4.125 kB / 294.1 MB, free: 4.793 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.114e-06/0.007224, allocations: 4 kB / 294.1 MB, free: 4.789 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.616e-05/0.00726, allocations: 8 kB / 294.1 MB, free: 4.781 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003013/0.007561, allocations: 175 kB / 294.2 MB, free: 4.594 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.659e-05/0.007638, allocations: 34.55 kB / 294.3 MB, free: 4.551 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.052e-05/0.007658, allocations: 8.859 kB / 294.3 MB, free: 4.539 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.798e-05/0.007686, allocations: 0 / 294.3 MB, free: 4.539 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.546e-05/0.007722, allocations: 38.5 kB / 294.3 MB, free: 4.492 MB / 282.7 MB Notification: Performance of pre-optimization done (n=4): time 1.493e-06/0.007723, allocations: 4 kB / 294.3 MB, free: 4.488 MB / 282.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005112/0.008234, allocations: 145.5 kB / 294.5 MB, free: 4.34 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.099e-05/0.008265, allocations: 51.41 kB / 294.5 MB, free: 4.277 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001213/0.008387, allocations: 180.9 kB / 294.7 MB, free: 4.082 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.037e-05/0.008397, allocations: 25.7 kB / 294.7 MB, free: 4.051 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.72e-05/0.008434, allocations: 96.11 kB / 294.8 MB, free: 3.953 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.692e-05/0.008461, allocations: 27.73 kB / 294.8 MB, free: 3.926 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.561e-05/0.008497, allocations: 25.7 kB / 294.9 MB, free: 3.895 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001002/0.008597, allocations: 322.8 kB / 295.2 MB, free: 3.57 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.415e-05/0.008611, allocations: 4 kB / 295.2 MB, free: 3.566 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.502e-05/0.008626, allocations: 7.984 kB / 295.2 MB, free: 3.559 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.917e-05/0.008665, allocations: 33.05 kB / 295.2 MB, free: 3.523 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.092e-06/0.008666, allocations: 4 kB / 295.2 MB, free: 3.52 MB / 282.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 8.065e-05/0.008747, allocations: 61.56 kB / 295.3 MB, free: 3.453 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.837e-05/0.008765, allocations: 4 kB / 295.3 MB, free: 3.449 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.024e-06/0.008772, allocations: 0 / 295.3 MB, free: 3.449 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.936e-06/0.008781, allocations: 0 / 295.3 MB, free: 3.449 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.451e-05/0.008866, allocations: 23.98 kB / 295.3 MB, free: 3.426 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.846e-06/0.008869, allocations: 0 / 295.3 MB, free: 3.426 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.413e-05/0.008893, allocations: 7.984 kB / 295.3 MB, free: 3.418 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.302e-06/0.008899, allocations: 4 kB / 295.3 MB, free: 3.414 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 (8): * Single equations (assignments): 8 * 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.765e-05/0.008957, allocations: 112.7 kB / 295.4 MB, free: 3.293 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.69e-05/0.008984, allocations: 15.88 kB / 295.5 MB, free: 3.277 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001083/0.009092, allocations: 75.11 kB / 295.5 MB, free: 3.199 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.814e-06/0.009094, allocations: 0 / 295.5 MB, free: 3.199 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.463e-06/0.009095, allocations: 0 / 295.5 MB, free: 3.199 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.625e-06/0.009098, allocations: 0 / 295.5 MB, free: 3.199 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002607/0.009359, allocations: 251.5 kB / 295.8 MB, free: 2.926 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.483e-06/0.00936, allocations: 0 / 295.8 MB, free: 2.926 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.078e-05/0.009411, allocations: 15.98 kB / 295.8 MB, free: 2.91 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.03e-05/0.009421, allocations: 7.953 kB / 295.8 MB, free: 2.902 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.944e-06/0.009423, allocations: 4.031 kB / 295.8 MB, free: 2.898 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.915e-06/0.009431, allocations: 8 kB / 295.8 MB, free: 2.891 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.282e-06/0.009432, allocations: 0 / 295.8 MB, free: 2.891 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.154e-06/0.009434, allocations: 7.922 kB / 295.8 MB, free: 2.883 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.173e-05/0.009526, allocations: 160.3 kB / 296 MB, free: 2.707 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.229e-05/0.009538, allocations: 0 / 296 MB, free: 2.707 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.999e-05/0.009588, allocations: 8 kB / 296 MB, free: 2.699 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.219e-05/0.009611, allocations: 11.92 kB / 296 MB, free: 2.688 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.777e-06/0.009614, allocations: 0 / 296 MB, free: 2.688 MB / 282.7 MB Notification: Performance of sorting global known variables: time 4.613e-05/0.00966, allocations: 48.36 kB / 296 MB, free: 2.637 MB / 282.7 MB Notification: Performance of sort global known variables: time 8e-08/0.009661, allocations: 0 / 296 MB, free: 2.637 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001961/0.009857, allocations: 27.92 kB / 296.1 MB, free: 2.609 MB / 282.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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 8 * 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.001725/0.01158, allocations: 0.6364 MB / 296.7 MB, free: 2.332 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001302/0.01171, allocations: 44.77 kB / 296.7 MB, free: 2.285 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 9.728e-06/0.01172, allocations: 0 / 296.7 MB, free: 2.285 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 3.896e-05/0.01176, allocations: 20.8 kB / 296.8 MB, free: 2.262 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002857/0.01205, allocations: 24.98 kB / 296.8 MB, free: 2.238 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007152/0.01276, allocations: 220 kB / 297 MB, free: 1.988 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.839e-05/0.01282, allocations: 67.34 kB / 297.1 MB, free: 1.902 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 6.427e-05/0.01288, allocations: 21.08 kB / 297.1 MB, free: 1.883 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.933e-05/0.01296, allocations: 59.38 kB / 297.1 MB, free: 1.824 MB / 282.7 MB Notification: Performance of SimCode: time 1.152e-06/0.01296, allocations: 0 / 297.1 MB, free: 1.824 MB / 282.7 MB Notification: Performance of Templates: time 0.004018/0.01698, allocations: 1.505 MB / 298.7 MB, free: 348 kB / 282.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test3.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test3.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test3.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test3.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test3.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test3 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test3.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test3_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test3/Test3.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.261066266335547]