Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test32.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.001423/0.001423, allocations: 83.59 kB / 21.18 MB, free: 3.383 MB / 18.57 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.001687/0.001687, allocations: 165 kB / 24.56 MB, free: 12 kB / 18.57 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.9373/0.9373, allocations: 177.1 MB / 205 MB, free: 5.609 MB / 186.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.2729/0.2729, allocations: 32.81 MB / 294.3 MB, free: 1.273 MB / 266.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.Test32,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.Test32") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test32,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.Test32") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.252e-06/1.252e-06, allocations: 0 / 376 MB, free: 4.633 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.095e-05/2.22e-05, allocations: 9.484 kB / 376 MB, free: 4.625 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test32): time 0.002064/0.002087, allocations: 1.661 MB / 377.7 MB, free: 2.949 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009031/0.00299, allocations: 0.5415 MB / 378.2 MB, free: 2.402 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.301e-05/0.003043, allocations: 3.938 kB / 378.3 MB, free: 2.398 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002692/0.003312, allocations: 103.7 kB / 378.4 MB, free: 2.297 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002793/0.003591, allocations: 123.4 kB / 378.5 MB, free: 2.176 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002123/0.003804, allocations: 91.69 kB / 378.6 MB, free: 2.086 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001481/0.003952, allocations: 95.67 kB / 378.7 MB, free: 1.992 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.539e-05/0.004037, allocations: 11.98 kB / 378.7 MB, free: 1.98 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.48e-05/0.004102, allocations: 55.88 kB / 378.7 MB, free: 1.926 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.499e-05/0.004197, allocations: 67.86 kB / 378.8 MB, free: 1.859 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.398e-05/0.004211, allocations: 4 kB / 378.8 MB, free: 1.855 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.414e-05/0.004285, allocations: 43.92 kB / 378.8 MB, free: 1.812 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 4.212e-05/0.004327, allocations: 19.92 kB / 378.9 MB, free: 1.793 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 2.944e-05/0.004357, allocations: 23.86 kB / 378.9 MB, free: 1.77 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001513/0.004508, allocations: 95.59 kB / 379 MB, free: 1.676 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.894e-06/0.00451, allocations: 0 / 379 MB, free: 1.676 MB / 346.7 MB Notification: Performance of FrontEnd: time 7.62e-07/0.004511, allocations: 0 / 379 MB, free: 1.676 MB / 346.7 MB Notification: Performance of Transformations before backend: time 3.927e-06/0.004514, allocations: 0 / 379 MB, free: 1.676 MB / 346.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.0003984/0.004913, allocations: 463.8 kB / 379.4 MB, free: 1.188 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.146e-05/0.004944, allocations: 12.03 kB / 379.4 MB, free: 1.176 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.342e-05/0.004988, allocations: 16.84 kB / 379.5 MB, free: 1.16 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00013/0.005118, allocations: 149.2 kB / 379.6 MB, free: 0.9844 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.878e-06/0.005128, allocations: 4.375 kB / 379.6 MB, free: 0.9805 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.883e-05/0.005147, allocations: 8.312 kB / 379.6 MB, free: 0.9727 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001049/0.005251, allocations: 58.95 kB / 379.7 MB, free: 0.9062 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.758e-06/0.005261, allocations: 192 / 379.7 MB, free: 0.9062 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.356e-06/0.005269, allocations: 4.125 kB / 379.7 MB, free: 0.9023 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.873e-06/0.005276, allocations: 0 / 379.7 MB, free: 0.9023 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.008e-05/0.005306, allocations: 11.98 kB / 379.7 MB, free: 0.8906 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002841/0.005591, allocations: 299.7 kB / 380 MB, free: 0.5625 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.957e-05/0.00566, allocations: 46.98 kB / 380 MB, free: 0.5039 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.362e-05/0.005684, allocations: 19.61 kB / 380 MB, free: 492 kB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.659e-05/0.0057, allocations: 0 / 380 MB, free: 492 kB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.348e-05/0.005724, allocations: 41.39 kB / 380.1 MB, free: 440 kB / 346.7 MB Notification: Performance of pre-optimization done (n=4): time 1.102e-06/0.005725, allocations: 0 / 380.1 MB, free: 440 kB / 346.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005148/0.00624, allocations: 173.4 kB / 380.3 MB, free: 260 kB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.924e-05/0.006269, allocations: 55.34 kB / 380.3 MB, free: 192 kB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001661/0.006435, allocations: 271.1 kB / 380.6 MB, free: 15.91 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.282e-05/0.006448, allocations: 25.7 kB / 380.6 MB, free: 15.88 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.817e-05/0.006506, allocations: 162.9 kB / 380.8 MB, free: 15.71 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.216e-05/0.006528, allocations: 27.75 kB / 380.8 MB, free: 15.68 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.076e-05/0.006559, allocations: 27.36 kB / 380.8 MB, free: 15.65 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001059/0.006665, allocations: 0.504 MB / 381.3 MB, free: 15.13 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.013e-05/0.006685, allocations: 8 kB / 381.3 MB, free: 15.12 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.662e-05/0.006702, allocations: 7.984 kB / 381.3 MB, free: 15.12 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.632e-05/0.006748, allocations: 35.91 kB / 381.4 MB, free: 15.08 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.81e-07/0.006749, allocations: 7.938 kB / 381.4 MB, free: 15.07 MB / 362.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 9.129e-05/0.00684, allocations: 85.52 kB / 381.5 MB, free: 14.98 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.426e-05/0.006854, allocations: 8 kB / 381.5 MB, free: 14.97 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.867e-06/0.006858, allocations: 0 / 381.5 MB, free: 14.97 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.283e-05/0.006871, allocations: 0 / 381.5 MB, free: 14.97 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.695e-05/0.006948, allocations: 15.98 kB / 381.5 MB, free: 14.96 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.449e-06/0.006952, allocations: 0 / 381.5 MB, free: 14.96 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.932e-05/0.006972, allocations: 4 kB / 381.5 MB, free: 14.95 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.979e-06/0.006977, allocations: 0 / 381.5 MB, free: 14.95 MB / 362.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 6.444e-05/0.007041, allocations: 168.5 kB / 381.6 MB, free: 14.78 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.129e-05/0.007062, allocations: 15.91 kB / 381.7 MB, free: 14.76 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001279/0.00719, allocations: 91.08 kB / 381.8 MB, free: 14.67 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.713e-06/0.007192, allocations: 0 / 381.8 MB, free: 14.67 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.978e-06/0.007196, allocations: 8 kB / 381.8 MB, free: 14.66 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.925e-06/0.007199, allocations: 0 / 381.8 MB, free: 14.66 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002939/0.007493, allocations: 388.9 kB / 382.1 MB, free: 14.23 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.202e-06/0.007494, allocations: 0 / 382.1 MB, free: 14.23 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.945e-05/0.007533, allocations: 15.98 kB / 382.2 MB, free: 14.22 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.425e-06/0.007536, allocations: 0 / 382.2 MB, free: 14.22 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.724e-06/0.007544, allocations: 4 kB / 382.2 MB, free: 14.21 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.503e-06/0.007545, allocations: 0 / 382.2 MB, free: 14.21 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.007546, allocations: 4.031 kB / 382.2 MB, free: 14.21 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001196/0.007666, allocations: 243.4 kB / 382.4 MB, free: 13.95 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.709e-06/0.007675, allocations: 11.91 kB / 382.4 MB, free: 13.94 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.331e-05/0.007689, allocations: 4 kB / 382.4 MB, free: 13.93 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.27e-05/0.007721, allocations: 0 / 382.4 MB, free: 13.93 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.098e-05/0.007752, allocations: 11.92 kB / 382.4 MB, free: 13.92 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.911e-06/0.007758, allocations: 8 kB / 382.4 MB, free: 13.91 MB / 362.7 MB Notification: Performance of sorting global known variables: time 7.933e-05/0.007838, allocations: 179.1 kB / 382.6 MB, free: 13.74 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.007838, allocations: 0 / 382.6 MB, free: 13.74 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001713/0.008009, allocations: 20 kB / 382.6 MB, free: 13.72 MB / 362.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.000888/0.008897, allocations: 444.5 kB / 383.1 MB, free: 13.44 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001167/0.009014, allocations: 43.61 kB / 383.1 MB, free: 13.39 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.009016, allocations: 4 kB / 383.1 MB, free: 13.39 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 3.049e-05/0.009047, allocations: 27.61 kB / 383.1 MB, free: 13.36 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000215/0.009262, allocations: 23.98 kB / 383.2 MB, free: 13.34 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003554/0.009617, allocations: 245.5 kB / 383.4 MB, free: 13.07 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.505e-05/0.009662, allocations: 71.33 kB / 383.5 MB, free: 12.98 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 3.444e-05/0.009697, allocations: 25.08 kB / 383.5 MB, free: 12.95 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.946e-05/0.009726, allocations: 12.5 kB / 383.5 MB, free: 12.94 MB / 362.7 MB Notification: Performance of SimCode: time 5.01e-07/0.009727, allocations: 4 kB / 383.5 MB, free: 12.93 MB / 362.7 MB Notification: Performance of Templates: time 0.003139/0.01287, allocations: 1.503 MB / 385 MB, free: 11.45 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test32.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test32.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test32.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test32.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test32.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test32 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test32.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test32_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test32/Test32.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.0539063164032996]