Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test6.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.00146/0.00146, allocations: 80.05 kB / 20.72 MB, free: 3.766 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.00203/0.00203, allocations: 169.3 kB / 24.14 MB, free: 364 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.9035/0.9035, allocations: 158.6 MB / 186 MB, free: 2.77 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.1316/0.1316, allocations: 32.37 MB / 270.7 MB, free: 14.61 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.Test6,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y|d_t_new2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test6") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test6,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y|d_t_new2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test6") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.373e-06/1.373e-06, allocations: 0 / 299.1 MB, free: 2.203 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.134e-05/2.271e-05, allocations: 2.312 kB / 299.1 MB, free: 2.199 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test6): time 0.002546/0.002569, allocations: 1.612 MB / 300.7 MB, free: 0.5781 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005356/0.003105, allocations: 327.3 kB / 301 MB, free: 260 kB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.104e-05/0.003156, allocations: 0 / 301 MB, free: 260 kB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000262/0.003418, allocations: 95.62 kB / 301.1 MB, free: 164 kB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001609/0.003579, allocations: 75.72 kB / 301.2 MB, free: 88 kB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000182/0.003761, allocations: 67.84 kB / 301.2 MB, free: 20 kB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.1306/0.1344, allocations: 73.14 kB / 301.3 MB, free: 19.32 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001613/0.1345, allocations: 15.61 kB / 301.3 MB, free: 19.32 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000128/0.1347, allocations: 45.81 kB / 301.4 MB, free: 19.32 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001167/0.1348, allocations: 48.52 kB / 301.4 MB, free: 19.32 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.105e-05/0.1348, allocations: 2.531 kB / 301.4 MB, free: 19.32 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001431/0.1349, allocations: 32.19 kB / 301.4 MB, free: 19.32 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 5.594e-05/0.135, allocations: 26.09 kB / 301.5 MB, free: 19.31 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 3.682e-05/0.135, allocations: 15.27 kB / 301.5 MB, free: 19.3 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000202/0.1352, allocations: 88.72 kB / 301.6 MB, free: 19.3 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.61e-06/0.1352, allocations: 0.7031 kB / 301.6 MB, free: 19.3 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.552e-06/0.1352, allocations: 0 / 301.6 MB, free: 19.3 MB / 282.7 MB Notification: Performance of Transformations before backend: time 5.521e-06/0.1352, allocations: 1.219 kB / 301.6 MB, free: 19.3 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0003621/0.1356, allocations: 319.2 kB / 301.9 MB, free: 19.03 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.794e-05/0.1356, allocations: 13.41 kB / 301.9 MB, free: 19.03 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.872e-05/0.1357, allocations: 10.02 kB / 301.9 MB, free: 19.03 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001319/0.1358, allocations: 147 kB / 302.1 MB, free: 18.89 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.033e-05/0.1358, allocations: 1.781 kB / 302.1 MB, free: 18.89 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.18e-05/0.1358, allocations: 2.438 kB / 302.1 MB, free: 18.89 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001076/0.136, allocations: 58.36 kB / 302.1 MB, free: 18.84 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.036e-05/0.136, allocations: 2.906 kB / 302.1 MB, free: 18.84 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.575e-06/0.136, allocations: 7.375 kB / 302.1 MB, free: 18.84 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.821e-06/0.136, allocations: 2.281 kB / 302.1 MB, free: 18.84 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.103e-05/0.136, allocations: 12.67 kB / 302.1 MB, free: 18.84 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002413/0.1363, allocations: 177.2 kB / 302.3 MB, free: 18.69 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.269e-05/0.1363, allocations: 32.39 kB / 302.3 MB, free: 18.66 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.805e-05/0.1363, allocations: 16.16 kB / 302.4 MB, free: 18.66 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.987e-05/0.1364, allocations: 3.5 kB / 302.4 MB, free: 18.66 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.842e-05/0.1364, allocations: 36.78 kB / 302.4 MB, free: 18.61 MB / 282.7 MB Notification: Performance of pre-optimization done (n=5): time 1.854e-06/0.1364, allocations: 0 / 302.4 MB, free: 18.61 MB / 282.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003475/0.1367, allocations: 103.1 kB / 302.5 MB, free: 18.58 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.525e-05/0.1368, allocations: 52.94 kB / 302.6 MB, free: 18.52 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001392/0.1369, allocations: 188.7 kB / 302.7 MB, free: 18.4 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 6.643e-06/0.1369, allocations: 26.55 kB / 302.8 MB, free: 18.37 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.335e-05/0.1369, allocations: 94.92 kB / 302.9 MB, free: 18.29 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.343e-05/0.1369, allocations: 31.11 kB / 302.9 MB, free: 18.27 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.937e-05/0.137, allocations: 22.55 kB / 302.9 MB, free: 18.25 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 3.825e-05/0.137, allocations: 323.7 kB / 303.2 MB, free: 17.94 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.641e-05/0.137, allocations: 13.36 kB / 303.2 MB, free: 17.94 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.343e-05/0.137, allocations: 7.094 kB / 303.2 MB, free: 17.94 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.733e-05/0.1371, allocations: 25.28 kB / 303.3 MB, free: 17.93 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.522e-06/0.1371, allocations: 0 / 303.3 MB, free: 17.93 MB / 282.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 7.85e-05/0.1372, allocations: 61.41 kB / 303.3 MB, free: 17.89 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.298e-05/0.1372, allocations: 9.531 kB / 303.3 MB, free: 17.89 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.181e-06/0.1372, allocations: 1.984 kB / 303.3 MB, free: 17.89 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.557e-05/0.1372, allocations: 1.062 kB / 303.3 MB, free: 17.89 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.763e-05/0.1373, allocations: 18.11 kB / 303.4 MB, free: 17.89 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.516e-06/0.1373, allocations: 5.828 kB / 303.4 MB, free: 17.89 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.923e-05/0.1373, allocations: 7.656 kB / 303.4 MB, free: 17.89 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.41e-06/0.1373, allocations: 2.094 kB / 303.4 MB, free: 17.89 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 4.742e-05/0.1374, allocations: 115.8 kB / 303.5 MB, free: 17.77 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.972e-05/0.1374, allocations: 11.66 kB / 303.5 MB, free: 17.77 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000113/0.1375, allocations: 74.47 kB / 303.6 MB, free: 17.73 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.356e-06/0.1375, allocations: 2.469 kB / 303.6 MB, free: 17.73 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.412e-06/0.1375, allocations: 0 / 303.6 MB, free: 17.73 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.767e-06/0.1375, allocations: 1.109 kB / 303.6 MB, free: 17.73 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00021/0.1377, allocations: 243.3 kB / 303.8 MB, free: 17.55 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.743e-06/0.1377, allocations: 0 / 303.8 MB, free: 17.55 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.138e-05/0.1377, allocations: 14.61 kB / 303.8 MB, free: 17.55 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.013e-06/0.1377, allocations: 0 / 303.8 MB, free: 17.55 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.831e-06/0.1378, allocations: 4.656 kB / 303.8 MB, free: 17.55 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.894e-06/0.1378, allocations: 3.438 kB / 303.8 MB, free: 17.55 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.383e-06/0.1378, allocations: 1.25 kB / 303.8 MB, free: 17.55 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.982e-05/0.1378, allocations: 159 kB / 304 MB, free: 17.42 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.08e-05/0.1378, allocations: 14.95 kB / 304 MB, free: 17.41 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.009e-05/0.1379, allocations: 1.094 kB / 304 MB, free: 17.41 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.474e-05/0.1379, allocations: 6.531 kB / 304 MB, free: 17.41 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.857e-05/0.1379, allocations: 7.344 kB / 304 MB, free: 17.41 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.406e-06/0.1379, allocations: 1.156 kB / 304 MB, free: 17.41 MB / 282.7 MB Notification: Performance of sorting global known variables: time 5.57e-05/0.138, allocations: 62.73 kB / 304.1 MB, free: 17.39 MB / 282.7 MB Notification: Performance of sort global known variables: time 5e-08/0.138, allocations: 0 / 304.1 MB, free: 17.39 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001525/0.1381, allocations: 28.72 kB / 304.1 MB, free: 17.39 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 (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.001121/0.1393, allocations: 0.4913 MB / 304.6 MB, free: 17.12 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 9.636e-05/0.1393, allocations: 31.25 kB / 304.6 MB, free: 17.12 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 5.811e-06/0.1394, allocations: 11.72 kB / 304.6 MB, free: 17.11 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 2.206e-05/0.1394, allocations: 19.38 kB / 304.7 MB, free: 17.11 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001807/0.1396, allocations: 23.08 kB / 304.7 MB, free: 17.1 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000323/0.1399, allocations: 219.5 kB / 304.9 MB, free: 16.94 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.641e-05/0.1399, allocations: 75.8 kB / 305 MB, free: 16.86 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 3.84e-05/0.14, allocations: 10.38 kB / 305 MB, free: 16.86 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.382e-05/0.14, allocations: 61.83 kB / 305 MB, free: 16.82 MB / 282.7 MB Notification: Performance of SimCode: time 8.22e-07/0.14, allocations: 0 / 305 MB, free: 16.82 MB / 282.7 MB Notification: Performance of Templates: time 0.00377/0.1438, allocations: 1.347 MB / 306.4 MB, free: 16.65 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test6.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test6.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test6.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test6.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test6.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test6 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test6.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test6_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1Ds/Test6/Test6.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.041482241358608]