Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test5.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTable1D.Test5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test5") translateModel(ModelicaTest.Tables.CombiTable1D.Test5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test5") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001299/0.001299, allocations: 97.42 kB / 15.98 MB, free: 6.309 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001217/0.001217, allocations: 195.2 kB / 16.9 MB, free: 6.152 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.719/1.719, allocations: 205.1 MB / 222.8 MB, free: 12.44 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2489/0.2489, allocations: 43.52 MB / 313.6 MB, free: 0.707 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001471/0.001471, allocations: 68.44 kB / 382.2 MB, free: 56.98 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1401/0.1416, allocations: 57.79 MB / 440 MB, free: 7.359 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1D.Test5): time 0.003854/0.1455, allocations: 1.611 MB / 441.6 MB, free: 5.73 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007017/0.1463, allocations: 328.1 kB / 441.9 MB, free: 5.406 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.764e-05/0.1464, allocations: 3.938 kB / 441.9 MB, free: 5.402 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004013/0.1468, allocations: 83.81 kB / 442 MB, free: 5.32 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000227/0.147, allocations: 71.8 kB / 442.1 MB, free: 5.25 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002905/0.1473, allocations: 79.84 kB / 442.2 MB, free: 5.172 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001801/0.1475, allocations: 67.88 kB / 442.2 MB, free: 5.105 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001524/0.1477, allocations: 19.92 kB / 442.3 MB, free: 5.086 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.463e-05/0.1478, allocations: 31.91 kB / 442.3 MB, free: 5.055 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001131/0.1479, allocations: 51.77 kB / 442.3 MB, free: 5.004 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.821e-05/0.1479, allocations: 4 kB / 442.3 MB, free: 5 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.177e-05/0.148, allocations: 31.98 kB / 442.4 MB, free: 4.969 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 7.343e-05/0.1481, allocations: 23.91 kB / 442.4 MB, free: 4.945 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 5e-05/0.1481, allocations: 27.75 kB / 442.4 MB, free: 4.918 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001884/0.1483, allocations: 87.72 kB / 442.5 MB, free: 4.832 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.602e-06/0.1483, allocations: 0 / 442.5 MB, free: 4.832 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.645e-06/0.1484, allocations: 0 / 442.5 MB, free: 4.832 MB / 318.1 MB Notification: Performance of Transformations before backend: time 8.266e-06/0.1484, allocations: 4 kB / 442.5 MB, free: 4.828 MB / 318.1 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.0005698/0.1489, allocations: 402.2 kB / 442.9 MB, free: 4.391 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.287e-05/0.149, allocations: 15.89 kB / 442.9 MB, free: 4.375 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.257e-05/0.1491, allocations: 20.83 kB / 442.9 MB, free: 4.355 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001768/0.1492, allocations: 200.7 kB / 443.1 MB, free: 4.121 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.51e-05/0.1493, allocations: 4.375 kB / 443.1 MB, free: 4.117 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.472e-05/0.1493, allocations: 4.312 kB / 443.2 MB, free: 4.113 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001532/0.1495, allocations: 53.8 kB / 443.2 MB, free: 4.055 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.542e-05/0.1495, allocations: 0 / 443.2 MB, free: 4.055 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.191e-05/0.1495, allocations: 0 / 443.2 MB, free: 4.055 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.362e-06/0.1495, allocations: 4 kB / 443.2 MB, free: 4.051 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.647e-05/0.1496, allocations: 23.98 kB / 443.2 MB, free: 4.027 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003973/0.15, allocations: 292.8 kB / 443.5 MB, free: 3.691 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002468/0.1503, allocations: 38.56 kB / 443.6 MB, free: 3.645 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.023e-05/0.1503, allocations: 24.94 kB / 443.6 MB, free: 3.617 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.602e-05/0.1504, allocations: 0 / 443.6 MB, free: 3.617 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.548e-05/0.1504, allocations: 34.56 kB / 443.6 MB, free: 3.574 MB / 318.1 MB Notification: Performance of pre-optimization done (n=3): time 1.032e-06/0.1504, allocations: 0 / 443.6 MB, free: 3.574 MB / 318.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005994/0.151, allocations: 153.4 kB / 443.8 MB, free: 3.418 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.598e-05/0.1511, allocations: 59.41 kB / 443.8 MB, free: 3.348 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000207/0.1513, allocations: 227.6 kB / 444 MB, free: 3.117 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.319e-05/0.1513, allocations: 25.7 kB / 444.1 MB, free: 3.086 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.312e-05/0.1513, allocations: 108 kB / 444.2 MB, free: 2.977 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.747e-05/0.1514, allocations: 19.73 kB / 444.2 MB, free: 2.957 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.15e-05/0.1514, allocations: 17.72 kB / 444.2 MB, free: 2.934 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 9.216e-05/0.1515, allocations: 326.8 kB / 444.5 MB, free: 2.605 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.882e-05/0.1516, allocations: 19.98 kB / 444.5 MB, free: 2.586 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.32e-05/0.1517, allocations: 27.92 kB / 444.6 MB, free: 2.559 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001113/0.1518, allocations: 52.83 kB / 444.6 MB, free: 2.504 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.82e-07/0.1518, allocations: 0 / 444.6 MB, free: 2.504 MB / 318.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001509/0.1519, allocations: 85.66 kB / 444.7 MB, free: 2.414 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.767e-05/0.152, allocations: 9.25 kB / 444.7 MB, free: 2.406 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.881e-06/0.152, allocations: 3.984 kB / 444.7 MB, free: 2.402 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.811e-05/0.152, allocations: 0 / 444.7 MB, free: 2.402 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.619e-05/0.1521, allocations: 16.23 kB / 444.7 MB, free: 2.387 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.736e-06/0.1521, allocations: 0 / 444.7 MB, free: 2.387 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.776e-05/0.1521, allocations: 8 kB / 444.7 MB, free: 2.379 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.903e-06/0.1521, allocations: 7.938 kB / 444.8 MB, free: 2.371 MB / 318.1 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 9.101e-05/0.1522, allocations: 133.7 kB / 444.9 MB, free: 2.23 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.965e-05/0.1523, allocations: 15.81 kB / 444.9 MB, free: 2.215 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002186/0.1525, allocations: 106.6 kB / 445 MB, free: 2.109 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.134e-06/0.1525, allocations: 3.938 kB / 445 MB, free: 2.105 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.779e-06/0.1525, allocations: 0 / 445 MB, free: 2.105 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.767e-06/0.1525, allocations: 0 / 445 MB, free: 2.105 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003303/0.1528, allocations: 366.4 kB / 445.4 MB, free: 1.691 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.182e-06/0.1529, allocations: 0 / 445.4 MB, free: 1.691 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.512e-05/0.1529, allocations: 11.98 kB / 445.4 MB, free: 1.68 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.733e-06/0.1529, allocations: 0 / 445.4 MB, free: 1.68 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.145e-06/0.1529, allocations: 8 kB / 445.4 MB, free: 1.672 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.944e-06/0.1529, allocations: 3.938 kB / 445.4 MB, free: 1.668 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.61e-07/0.1529, allocations: 0 / 445.4 MB, free: 1.668 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000173/0.1531, allocations: 183.4 kB / 445.6 MB, free: 1.473 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.075e-05/0.1532, allocations: 88.92 kB / 445.7 MB, free: 1.367 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.756e-05/0.1532, allocations: 0 / 445.7 MB, free: 1.367 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.239e-05/0.1533, allocations: 19.92 kB / 445.7 MB, free: 1.348 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.622e-05/0.1533, allocations: 0 / 445.7 MB, free: 1.348 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.138e-06/0.1533, allocations: 4.188 kB / 445.7 MB, free: 1.344 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001004/0.1534, allocations: 171.2 kB / 445.8 MB, free: 1.176 MB / 318.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1534, allocations: 0 / 445.8 MB, free: 1.176 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002246/0.1536, allocations: 12 kB / 445.9 MB, free: 1.164 MB / 318.1 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.0008286/0.1545, allocations: 402 kB / 446.3 MB, free: 0.8477 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0001951/0.1547, allocations: 59.91 kB / 446.3 MB, free: 0.7891 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 1.943e-06/0.1547, allocations: 0 / 446.3 MB, free: 0.7891 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 7.693e-05/0.1548, allocations: 27.97 kB / 446.3 MB, free: 0.7617 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003871/0.1552, allocations: 19.94 kB / 446.4 MB, free: 0.7422 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004209/0.1556, allocations: 266.5 kB / 446.6 MB, free: 468 kB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002585/0.1559, allocations: 0.7117 MB / 447.3 MB, free: 15.72 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 5.14e-05/0.1559, allocations: 16.22 kB / 447.3 MB, free: 15.7 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.735e-05/0.156, allocations: 11.44 kB / 447.4 MB, free: 15.69 MB / 334.1 MB Notification: Performance of SimCode: time 2.21e-07/0.156, allocations: 4 kB / 447.4 MB, free: 15.69 MB / 334.1 MB Notification: Performance of Templates: time 0.003776/0.1597, allocations: 1.101 MB / 448.5 MB, free: 14.59 MB / 334.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test5.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test5.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test5.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test5.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test5.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test5 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test5.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test5_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1D/Test5/Test5.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test5.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches