Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test15.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.001183/0.001183, 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.001587/0.001587, 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.9865/0.9865, allocations: 177.1 MB / 205 MB, free: 5.625 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.2957/0.2957, 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.CombiTable2Ds.Test15,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test15") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test15,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test15") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.603e-06/1.603e-06, allocations: 0 / 376 MB, free: 4.664 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.113e-05/3.273e-05, allocations: 5.547 kB / 376 MB, free: 4.66 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test15): time 0.003388/0.003421, allocations: 1.696 MB / 377.7 MB, free: 2.949 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001119/0.004539, allocations: 0.7985 MB / 378.5 MB, free: 2.148 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.207e-05/0.004581, allocations: 4 kB / 378.5 MB, free: 2.145 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002853/0.004867, allocations: 35.77 kB / 378.6 MB, free: 2.109 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000247/0.005114, allocations: 39.77 kB / 378.6 MB, free: 2.07 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 3.757e-06/0.005118, allocations: 4 kB / 378.6 MB, free: 2.066 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001766/0.005294, allocations: 31.84 kB / 378.6 MB, free: 2.035 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.845e-05/0.005333, allocations: 7.984 kB / 378.6 MB, free: 2.027 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001026/0.005435, allocations: 19.92 kB / 378.7 MB, free: 2.008 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.049e-05/0.005466, allocations: 11.98 kB / 378.7 MB, free: 1.996 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.132e-05/0.005477, allocations: 0 / 378.7 MB, free: 1.996 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.326e-05/0.00553, allocations: 8 kB / 378.7 MB, free: 1.988 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 5.15e-05/0.005582, allocations: 19.92 kB / 378.7 MB, free: 1.969 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 2.63e-05/0.005608, allocations: 7.938 kB / 378.7 MB, free: 1.961 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001544/0.005763, allocations: 55.77 kB / 378.8 MB, free: 1.906 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.248e-06/0.005767, allocations: 7.938 kB / 378.8 MB, free: 1.898 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.393e-06/0.005768, allocations: 3.938 kB / 378.8 MB, free: 1.895 MB / 346.7 MB Notification: Performance of Transformations before backend: time 5.751e-06/0.005774, allocations: 4 kB / 378.8 MB, free: 1.891 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: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.0004053/0.006179, allocations: 388.4 kB / 379.2 MB, free: 1.473 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.361e-05/0.006223, allocations: 12.03 kB / 379.2 MB, free: 1.461 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.965e-05/0.006273, allocations: 8.891 kB / 379.2 MB, free: 1.453 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001675/0.00644, allocations: 124.5 kB / 379.3 MB, free: 1.305 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.12e-05/0.006451, allocations: 384 / 379.3 MB, free: 1.305 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.266e-05/0.006464, allocations: 4.359 kB / 379.3 MB, free: 1.301 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001743/0.006638, allocations: 112.3 kB / 379.4 MB, free: 1.16 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.065e-06/0.006646, allocations: 192 / 379.4 MB, free: 1.16 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.087e-05/0.006657, allocations: 4.375 kB / 379.4 MB, free: 1.156 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.378e-05/0.006711, allocations: 28.3 kB / 379.5 MB, free: 1.129 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.74e-05/0.006768, allocations: 31.83 kB / 379.5 MB, free: 1.098 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006824/0.007451, allocations: 1.203 MB / 380.7 MB, free: 15.83 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001119/0.007563, allocations: 269.4 kB / 380.9 MB, free: 15.55 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.194e-05/0.007605, allocations: 126.9 kB / 381.1 MB, free: 15.43 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.162e-05/0.007636, allocations: 119.2 kB / 381.2 MB, free: 15.31 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.334e-05/0.00769, allocations: 156.6 kB / 381.3 MB, free: 15.14 MB / 362.7 MB Notification: Performance of pre-optimization done (n=0): time 1.382e-06/0.007691, allocations: 0 / 381.3 MB, free: 15.14 MB / 362.7 MB Notification: Performance of matching and sorting (n=0): time 7.959e-05/0.007771, allocations: 45.62 kB / 381.4 MB, free: 15.09 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.495e-05/0.007845, allocations: 178.6 kB / 381.6 MB, free: 14.91 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001984/0.008044, allocations: 243 kB / 381.8 MB, free: 14.65 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.004e-05/0.008054, allocations: 25.7 kB / 381.8 MB, free: 14.62 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001067/0.008161, allocations: 210.2 kB / 382 MB, free: 14.41 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.607e-06/0.008164, allocations: 0 / 382 MB, free: 14.41 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.006e-05/0.008224, allocations: 47.33 kB / 382.1 MB, free: 14.36 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001457/0.00837, allocations: 0.5 MB / 382.6 MB, free: 13.84 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.226e-05/0.008402, allocations: 11.98 kB / 382.6 MB, free: 13.83 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001309/0.008533, allocations: 200.4 kB / 382.8 MB, free: 13.55 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002033/0.008736, allocations: 229.5 kB / 383 MB, free: 13.25 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.015e-06/0.008739, allocations: 4 kB / 383 MB, free: 13.24 MB / 362.7 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0002922/0.009032, allocations: 165.2 kB / 383.2 MB, free: 13.07 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.151e-05/0.009053, allocations: 8 kB / 383.2 MB, free: 13.07 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.045e-05/0.009064, allocations: 7.984 kB / 383.2 MB, free: 13.06 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.244e-05/0.009086, allocations: 7.938 kB / 383.2 MB, free: 13.05 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001337/0.00922, allocations: 40.55 kB / 383.2 MB, free: 13.01 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.143e-05/0.009231, allocations: 7.938 kB / 383.2 MB, free: 13 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.415e-05/0.009325, allocations: 27.84 kB / 383.3 MB, free: 12.98 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.627e-05/0.009341, allocations: 12 kB / 383.3 MB, free: 12.96 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * 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 (20): * Single equations (assignments): 20 * 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 0.0001314/0.009473, allocations: 287.6 kB / 383.6 MB, free: 12.67 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.24e-05/0.009545, allocations: 152.8 kB / 383.7 MB, free: 12.52 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.155e-05/0.009617, allocations: 164.6 kB / 383.9 MB, free: 12.35 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.149e-05/0.009698, allocations: 268 kB / 384.1 MB, free: 12.08 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.065e-05/0.009769, allocations: 268.2 kB / 384.4 MB, free: 11.81 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.712e-05/0.009856, allocations: 276 kB / 384.7 MB, free: 11.54 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002528/0.01011, allocations: 0.5116 MB / 385.2 MB, free: 10.98 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.384e-05/0.01015, allocations: 148.8 kB / 385.3 MB, free: 10.83 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.356e-05/0.0102, allocations: 152.9 kB / 385.5 MB, free: 10.67 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.534e-05/0.01027, allocations: 272.1 kB / 385.7 MB, free: 10.4 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.71e-05/0.01035, allocations: 268 kB / 386 MB, free: 10.13 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.749e-05/0.01043, allocations: 268.1 kB / 386.3 MB, free: 9.859 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.853e-05/0.0105, allocations: 276 kB / 386.5 MB, free: 9.582 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001612/0.01067, allocations: 455.9 kB / 387 MB, free: 9.109 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.123e-05/0.01072, allocations: 152.8 kB / 387.1 MB, free: 8.953 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.427e-05/0.0108, allocations: 264.1 kB / 387.4 MB, free: 8.688 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.688e-05/0.01089, allocations: 152.8 kB / 387.5 MB, free: 8.531 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.139e-05/0.01097, allocations: 276 kB / 387.8 MB, free: 8.254 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.037e-05/0.01101, allocations: 152.8 kB / 387.9 MB, free: 8.098 MB / 362.7 MB Notification: Performance of sorting global known variables: time 9.872e-05/0.01111, allocations: 159.3 kB / 388.1 MB, free: 7.941 MB / 362.7 MB Notification: Performance of sort global known variables: time 1e-07/0.01111, allocations: 0 / 388.1 MB, free: 7.941 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002999/0.01141, allocations: 16 kB / 388.1 MB, free: 7.926 MB / 362.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 (0): * Single equations (assignments): 0 * 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.0005126/0.01192, allocations: 305.5 kB / 388.4 MB, free: 7.66 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001817/0.0121, allocations: 72.47 kB / 388.5 MB, free: 7.586 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.475e-06/0.01211, allocations: 0 / 388.5 MB, free: 7.586 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 1.853e-06/0.01211, allocations: 256 / 388.5 MB, free: 7.586 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004283/0.01254, allocations: 0.7101 MB / 389.2 MB, free: 6.871 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003668/0.0129, allocations: 283.8 kB / 389.5 MB, free: 6.562 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.881e-05/0.01295, allocations: 63.84 kB / 389.5 MB, free: 6.48 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001149/0.01307, allocations: 49.06 kB / 389.6 MB, free: 6.434 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.042e-05/0.0131, allocations: 20.48 kB / 389.6 MB, free: 6.414 MB / 362.7 MB Notification: Performance of SimCode: time 6.92e-07/0.0131, allocations: 0 / 389.6 MB, free: 6.414 MB / 362.7 MB Notification: Performance of Templates: time 0.003233/0.01633, allocations: 0.757 MB / 390.4 MB, free: 5.668 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test15.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test15.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test15.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test15.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test15.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test15 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test15.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test15_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test15/Test15.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.0266589201055467]