Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test8.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.Test8,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.Test8") translateModel(ModelicaTest.Tables.CombiTable1D.Test8,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.Test8") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001073/0.001073, allocations: 108.5 kB / 16.64 MB, free: 6.816 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.001127/0.001127, allocations: 194.5 kB / 17.56 MB, free: 5.945 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.598/1.598, allocations: 205.1 MB / 223.4 MB, free: 12.45 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.239/0.239, allocations: 43.51 MB / 314.3 MB, free: 0.7109 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.001679/0.001679, allocations: 72.16 kB / 382.9 MB, free: 57 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1239/0.1256, allocations: 57.78 MB / 440.7 MB, free: 7.379 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1D.Test8): time 0.00345/0.1291, allocations: 1.612 MB / 442.3 MB, free: 5.746 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006248/0.1298, allocations: 320.2 kB / 442.6 MB, free: 5.43 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.162e-05/0.1299, allocations: 8 kB / 442.6 MB, free: 5.422 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002721/0.1302, allocations: 27.84 kB / 442.6 MB, free: 5.395 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002517/0.1305, allocations: 27.86 kB / 442.6 MB, free: 5.367 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003378/0.1308, allocations: 79.89 kB / 442.7 MB, free: 5.289 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001607/0.131, allocations: 55.84 kB / 442.8 MB, free: 5.234 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001126/0.1311, allocations: 19.94 kB / 442.8 MB, free: 5.215 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.486e-05/0.1312, allocations: 27.84 kB / 442.8 MB, free: 5.188 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.457e-05/0.1313, allocations: 15.86 kB / 442.8 MB, free: 5.172 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.921e-05/0.1313, allocations: 4 kB / 442.8 MB, free: 5.168 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.319e-05/0.1314, allocations: 32 kB / 442.9 MB, free: 5.137 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 5.326e-05/0.1314, allocations: 19.86 kB / 442.9 MB, free: 5.117 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 4.217e-05/0.1315, allocations: 19.86 kB / 442.9 MB, free: 5.098 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001591/0.1316, allocations: 55.86 kB / 443 MB, free: 5.043 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.909e-06/0.1317, allocations: 0 / 443 MB, free: 5.043 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.844e-06/0.1317, allocations: 0 / 443 MB, free: 5.043 MB / 318.1 MB Notification: Performance of Transformations before backend: time 7.564e-06/0.1317, allocations: 4 kB / 443 MB, free: 5.039 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.0004762/0.1322, allocations: 375.2 kB / 443.3 MB, free: 4.625 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.587e-05/0.1322, allocations: 15.89 kB / 443.4 MB, free: 4.609 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.683e-05/0.1323, allocations: 12.84 kB / 443.4 MB, free: 4.598 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001553/0.1324, allocations: 184.8 kB / 443.5 MB, free: 4.379 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.087e-05/0.1324, allocations: 4.375 kB / 443.6 MB, free: 4.375 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.743e-05/0.1325, allocations: 384 / 443.6 MB, free: 4.375 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001406/0.1326, allocations: 53.75 kB / 443.6 MB, free: 4.316 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.425e-05/0.1327, allocations: 4 kB / 443.6 MB, free: 4.312 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.268e-05/0.1327, allocations: 0 / 443.6 MB, free: 4.312 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.44e-06/0.1327, allocations: 4 kB / 443.6 MB, free: 4.309 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001003/0.1328, allocations: 23.97 kB / 443.6 MB, free: 4.285 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003656/0.1332, allocations: 280.8 kB / 443.9 MB, free: 3.961 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002479/0.1334, allocations: 54.48 kB / 444 MB, free: 3.898 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.892e-05/0.1335, allocations: 16.94 kB / 444 MB, free: 3.879 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.18e-05/0.1335, allocations: 0 / 444 MB, free: 3.879 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.667e-05/0.1335, allocations: 34.56 kB / 444 MB, free: 3.836 MB / 318.1 MB Notification: Performance of pre-optimization done (n=3): time 1.122e-06/0.1335, allocations: 0 / 444 MB, free: 3.836 MB / 318.1 MB Notification: Performance of matching and sorting (n=5): time 0.0006069/0.1342, allocations: 149.2 kB / 444.2 MB, free: 3.684 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.143e-05/0.1342, allocations: 59.34 kB / 444.2 MB, free: 3.613 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001452/0.1344, allocations: 156.6 kB / 444.4 MB, free: 3.453 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.213e-05/0.1344, allocations: 25.7 kB / 444.4 MB, free: 3.422 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.165e-05/0.1344, allocations: 96.12 kB / 444.5 MB, free: 3.324 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.054e-05/0.1344, allocations: 19.66 kB / 444.5 MB, free: 3.305 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.21e-05/0.1345, allocations: 21.7 kB / 444.5 MB, free: 3.277 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 5.037e-05/0.1345, allocations: 318.8 kB / 444.8 MB, free: 2.957 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.529e-05/0.1346, allocations: 23.98 kB / 444.9 MB, free: 2.934 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.845e-05/0.1347, allocations: 27.97 kB / 444.9 MB, free: 2.906 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001142/0.1348, allocations: 57.02 kB / 444.9 MB, free: 2.848 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.11e-07/0.1348, allocations: 3.938 kB / 445 MB, free: 2.844 MB / 318.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.000165/0.135, allocations: 81.58 kB / 445 MB, free: 2.758 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.649e-05/0.135, allocations: 4 kB / 445 MB, free: 2.754 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.661e-06/0.135, allocations: 4 kB / 445 MB, free: 2.75 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.676e-05/0.135, allocations: 3.938 kB / 445 MB, free: 2.746 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.272e-05/0.1351, allocations: 15.98 kB / 445.1 MB, free: 2.73 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.422e-06/0.1351, allocations: 0 / 445.1 MB, free: 2.73 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.7e-05/0.1352, allocations: 7.984 kB / 445.1 MB, free: 2.723 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.035e-06/0.1352, allocations: 3.938 kB / 445.1 MB, free: 2.719 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 7.502e-05/0.1353, allocations: 121.8 kB / 445.2 MB, free: 2.59 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.624e-05/0.1353, allocations: 11.91 kB / 445.2 MB, free: 2.578 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002267/0.1355, allocations: 101.9 kB / 445.3 MB, free: 2.477 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.324e-06/0.1356, allocations: 0 / 445.3 MB, free: 2.477 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.571e-06/0.1356, allocations: 0 / 445.3 MB, free: 2.477 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.859e-06/0.1356, allocations: 4 kB / 445.3 MB, free: 2.473 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003608/0.1359, allocations: 354.4 kB / 445.6 MB, free: 2.07 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.726e-06/0.136, allocations: 0 / 445.6 MB, free: 2.07 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.076e-05/0.136, allocations: 12 kB / 445.7 MB, free: 2.059 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.124e-06/0.136, allocations: 0 / 445.7 MB, free: 2.059 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.177e-06/0.136, allocations: 4 kB / 445.7 MB, free: 2.055 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.336e-06/0.136, allocations: 4.125 kB / 445.7 MB, free: 2.051 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.216e-06/0.1361, allocations: 7.984 kB / 445.7 MB, free: 2.043 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001983/0.1363, allocations: 171.4 kB / 445.8 MB, free: 1.859 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.734e-05/0.1363, allocations: 89 kB / 445.9 MB, free: 1.754 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.893e-05/0.1363, allocations: 4 kB / 445.9 MB, free: 1.75 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.663e-05/0.1364, allocations: 15.88 kB / 446 MB, free: 1.734 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.846e-05/0.1365, allocations: 3.984 kB / 446 MB, free: 1.73 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.188e-06/0.1365, allocations: 4 kB / 446 MB, free: 1.727 MB / 318.1 MB Notification: Performance of sorting global known variables: time 8.432e-05/0.1366, allocations: 111.3 kB / 446.1 MB, free: 1.617 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.1366, allocations: 3.938 kB / 446.1 MB, free: 1.613 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002476/0.1368, allocations: 23.98 kB / 446.1 MB, free: 1.59 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.0009918/0.1378, allocations: 399.6 kB / 446.5 MB, free: 1.273 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0002053/0.138, allocations: 55.95 kB / 446.5 MB, free: 1.219 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.138, allocations: 4 kB / 446.5 MB, free: 1.215 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 6.589e-05/0.1381, allocations: 27.92 kB / 446.6 MB, free: 1.188 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003856/0.1385, allocations: 15.98 kB / 446.6 MB, free: 1.172 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004111/0.1389, allocations: 223.3 kB / 446.8 MB, free: 0.9219 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001549/0.1391, allocations: 0.6924 MB / 447.5 MB, free: 208 kB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.771e-05/0.1391, allocations: 15.42 kB / 447.5 MB, free: 192 kB / 318.1 MB Notification: Performance of SimCode: time 6.31e-07/0.1391, allocations: 0 / 447.5 MB, free: 192 kB / 318.1 MB Notification: Performance of Templates: time 0.003637/0.1428, allocations: 1.414 MB / 448.9 MB, free: 14.77 MB / 334.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test8.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test8.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test8.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test8.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test8.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test8 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test8.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test8_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1D/Test8/Test8.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test8.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches