Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test20.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.001017/0.001017, allocations: 80.05 kB / 20.72 MB, free: 3.77 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.0009822/0.0009822, allocations: 169 kB / 24.14 MB, free: 368 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.8914/0.8914, allocations: 158.6 MB / 186 MB, free: 2.766 MB / 170.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1291/0.1291, allocations: 32.39 MB / 270.7 MB, free: 14.6 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.Test20,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test20") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test20,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test20") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.122e-06/1.122e-06, allocations: 0 / 299.1 MB, free: 2.211 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.216e-05/1.329e-05, allocations: 2.312 kB / 299.1 MB, free: 2.207 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test20): time 0.002023/0.002036, allocations: 1.608 MB / 300.7 MB, free: 0.5898 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.1256/0.1277, allocations: 1.052 MB / 301.7 MB, free: 19.31 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.36e-05/0.1277, allocations: 1.625 kB / 301.7 MB, free: 19.31 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002359/0.128, allocations: 29.14 kB / 301.8 MB, free: 19.3 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002314/0.1282, allocations: 49.34 kB / 301.8 MB, free: 19.29 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001974/0.1284, allocations: 71.86 kB / 301.9 MB, free: 19.28 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001297/0.1285, allocations: 59.31 kB / 301.9 MB, free: 19.28 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.888e-05/0.1286, allocations: 11.62 kB / 301.9 MB, free: 19.28 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.62e-05/0.1287, allocations: 29.11 kB / 302 MB, free: 19.27 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.653e-05/0.1288, allocations: 21.83 kB / 302 MB, free: 19.27 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.6e-05/0.1288, allocations: 3.5 kB / 302 MB, free: 19.27 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.708e-05/0.1289, allocations: 52.52 kB / 302 MB, free: 19.26 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 3.772e-05/0.1289, allocations: 8.469 kB / 302.1 MB, free: 19.26 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 2.174e-05/0.1289, allocations: 13.75 kB / 302.1 MB, free: 19.26 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001517/0.1291, allocations: 79.55 kB / 302.1 MB, free: 19.25 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.356e-06/0.1291, allocations: 0.7969 kB / 302.1 MB, free: 19.25 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.373e-06/0.1291, allocations: 2.438 kB / 302.2 MB, free: 19.25 MB / 282.7 MB Notification: Performance of Transformations before backend: time 3.917e-06/0.1291, allocations: 0 / 302.2 MB, free: 19.25 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.000282/0.1294, allocations: 273.3 kB / 302.4 MB, free: 18.99 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.27e-05/0.1294, allocations: 9.844 kB / 302.4 MB, free: 18.99 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.968e-05/0.1294, allocations: 9.812 kB / 302.4 MB, free: 18.99 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000101/0.1295, allocations: 133.6 kB / 302.6 MB, free: 18.85 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.005e-06/0.1295, allocations: 2.812 kB / 302.6 MB, free: 18.85 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.888e-05/0.1296, allocations: 9.625 kB / 302.6 MB, free: 18.85 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.246e-05/0.1297, allocations: 89.12 kB / 302.7 MB, free: 18.76 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.885e-06/0.1297, allocations: 1.031 kB / 302.7 MB, free: 18.76 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.444e-06/0.1297, allocations: 5.375 kB / 302.7 MB, free: 18.75 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.177e-06/0.1297, allocations: 0.5625 kB / 302.7 MB, free: 18.75 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.355e-05/0.1297, allocations: 10.05 kB / 302.7 MB, free: 18.75 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001818/0.1299, allocations: 160.5 kB / 302.8 MB, free: 18.61 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001261/0.13, allocations: 28.94 kB / 302.9 MB, free: 18.58 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.338e-05/0.13, allocations: 9.906 kB / 302.9 MB, free: 18.57 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.584e-05/0.13, allocations: 1.156 kB / 302.9 MB, free: 18.57 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.546e-05/0.1301, allocations: 33.23 kB / 302.9 MB, free: 18.54 MB / 282.7 MB Notification: Performance of pre-optimization done (n=3): time 9.62e-07/0.1301, allocations: 0 / 302.9 MB, free: 18.54 MB / 282.7 MB Notification: Performance of matching and sorting (n=5): time 0.0002253/0.1303, allocations: 91.19 kB / 303 MB, free: 18.49 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.257e-05/0.1303, allocations: 79.05 kB / 303.1 MB, free: 18.4 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.593e-05/0.1304, allocations: 132 kB / 303.2 MB, free: 18.29 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 6.122e-06/0.1304, allocations: 26.89 kB / 303.2 MB, free: 18.25 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.026e-05/0.1304, allocations: 89.33 kB / 303.3 MB, free: 18.17 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.681e-05/0.1304, allocations: 19.58 kB / 303.3 MB, free: 18.16 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.375e-05/0.1304, allocations: 15.25 kB / 303.4 MB, free: 18.14 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 3.589e-05/0.1305, allocations: 324 kB / 303.7 MB, free: 17.83 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.709e-06/0.1305, allocations: 4.156 kB / 303.7 MB, free: 17.83 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.376e-05/0.1305, allocations: 46.75 kB / 303.7 MB, free: 17.78 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.871e-05/0.1305, allocations: 20.84 kB / 303.7 MB, free: 17.77 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.232e-06/0.1305, allocations: 3.281 kB / 303.7 MB, free: 17.77 MB / 282.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 5.111e-05/0.1306, allocations: 48.59 kB / 303.8 MB, free: 17.74 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.271e-05/0.1306, allocations: 6.312 kB / 303.8 MB, free: 17.74 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.547e-06/0.1306, allocations: 0 / 303.8 MB, free: 17.74 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.388e-05/0.1306, allocations: 5.562 kB / 303.8 MB, free: 17.73 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.611e-05/0.1307, allocations: 14 kB / 303.8 MB, free: 17.73 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.396e-06/0.1307, allocations: 0 / 303.8 MB, free: 17.73 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.716e-05/0.1307, allocations: 7.547 kB / 303.8 MB, free: 17.73 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.017e-06/0.1307, allocations: 1.562 kB / 303.8 MB, free: 17.73 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 3.846e-05/0.1307, allocations: 114.7 kB / 303.9 MB, free: 17.61 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.651e-05/0.1307, allocations: 12.55 kB / 303.9 MB, free: 17.61 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.712e-05/0.1308, allocations: 65.92 kB / 304 MB, free: 17.57 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.442e-06/0.1308, allocations: 0 / 304 MB, free: 17.57 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.544e-06/0.1308, allocations: 3.828 kB / 304 MB, free: 17.57 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.655e-06/0.1308, allocations: 0 / 304 MB, free: 17.57 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001565/0.131, allocations: 206.4 kB / 304.2 MB, free: 17.39 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.856e-06/0.131, allocations: 4.453 kB / 304.2 MB, free: 17.39 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.545e-05/0.131, allocations: 11.19 kB / 304.2 MB, free: 17.39 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.683e-06/0.131, allocations: 0 / 304.2 MB, free: 17.39 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.398e-06/0.131, allocations: 0 / 304.2 MB, free: 17.39 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.335e-06/0.131, allocations: 2.547 kB / 304.2 MB, free: 17.39 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.51e-07/0.131, allocations: 1.594 kB / 304.2 MB, free: 17.39 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.726e-05/0.1311, allocations: 148.2 kB / 304.4 MB, free: 17.25 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.287e-06/0.1311, allocations: 8.469 kB / 304.4 MB, free: 17.25 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.009e-05/0.1311, allocations: 1.812 kB / 304.4 MB, free: 17.25 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.017e-05/0.1311, allocations: 7.078 kB / 304.4 MB, free: 17.25 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.676e-05/0.1312, allocations: 4.5 kB / 304.4 MB, free: 17.25 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.356e-06/0.1312, allocations: 4.5 kB / 304.4 MB, free: 17.25 MB / 282.7 MB Notification: Performance of sorting global known variables: time 2.756e-05/0.1312, allocations: 27.62 kB / 304.4 MB, free: 17.23 MB / 282.7 MB Notification: Performance of sort global known variables: time 5e-08/0.1312, allocations: 0 / 304.4 MB, free: 17.23 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001548/0.1313, allocations: 23.47 kB / 304.5 MB, free: 17.23 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.001116/0.1325, allocations: 0.5607 MB / 305 MB, free: 16.93 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 8.082e-05/0.1325, allocations: 27.61 kB / 305 MB, free: 16.92 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 5.58e-06/0.1325, allocations: 4 kB / 305.1 MB, free: 16.91 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 1.771e-05/0.1326, allocations: 16.66 kB / 305.1 MB, free: 16.91 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001578/0.1327, allocations: 25.59 kB / 305.1 MB, free: 16.9 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002681/0.133, allocations: 149.2 kB / 305.2 MB, free: 16.77 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.96e-05/0.133, allocations: 58.98 kB / 305.3 MB, free: 16.7 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 3.849e-05/0.1331, allocations: 12.12 kB / 305.3 MB, free: 16.69 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.943e-05/0.1331, allocations: 67.17 kB / 305.4 MB, free: 16.64 MB / 282.7 MB Notification: Performance of SimCode: time 6.71e-07/0.1331, allocations: 0 / 305.4 MB, free: 16.64 MB / 282.7 MB Notification: Performance of Templates: time 0.003499/0.1366, allocations: 1.536 MB / 306.9 MB, free: 16.45 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test20.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test20.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test20.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test20.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test20.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test20 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test20.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test20_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1Ds/Test20/Test20.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.91573338303715]