Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test19.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.CombiTable1Ds.Test19,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test19") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test19,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test19") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0016/0.0016, allocations: 110.1 kB / 18.3 MB, free: 4.84 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.001639/0.001639, allocations: 199.3 kB / 19.23 MB, free: 3.914 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.385/1.385, allocations: 222.9 MB / 242.9 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2226/0.2226, allocations: 44.18 MB / 337.3 MB, free: 2.77 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001317/0.001317, allocations: 64.98 kB / 409.1 MB, free: 27.24 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1224/0.1237, allocations: 60.83 MB / 469.9 MB, free: 14.38 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test19): time 0.002864/0.1266, allocations: 1.549 MB / 471.5 MB, free: 12.82 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001367/0.128, allocations: 1.012 MB / 472.5 MB, free: 11.8 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.796e-05/0.1281, allocations: 3.938 kB / 472.5 MB, free: 11.8 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002101/0.1283, allocations: 23.84 kB / 472.5 MB, free: 11.77 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001896/0.1285, allocations: 47.77 kB / 472.6 MB, free: 11.73 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002479/0.1287, allocations: 87.72 kB / 472.6 MB, free: 11.64 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001394/0.1289, allocations: 55.83 kB / 472.7 MB, free: 11.59 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.591e-05/0.129, allocations: 15.98 kB / 472.7 MB, free: 11.57 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.957e-05/0.1291, allocations: 15.94 kB / 472.7 MB, free: 11.55 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001389/0.1292, allocations: 31.78 kB / 472.8 MB, free: 11.52 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.813e-05/0.1292, allocations: 8 kB / 472.8 MB, free: 11.52 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.761e-05/0.1293, allocations: 47.97 kB / 472.8 MB, free: 11.47 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.687e-05/0.1294, allocations: 11.94 kB / 472.8 MB, free: 11.46 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.927e-05/0.1294, allocations: 27.84 kB / 472.9 MB, free: 11.43 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001915/0.1296, allocations: 79.8 kB / 472.9 MB, free: 11.35 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.863e-06/0.1297, allocations: 7.984 kB / 472.9 MB, free: 11.34 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.503e-06/0.1297, allocations: 0 / 472.9 MB, free: 11.34 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.491e-06/0.1297, allocations: 0 / 472.9 MB, free: 11.34 MB / 350.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.0004994/0.1302, allocations: 367.6 kB / 473.3 MB, free: 10.94 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.352e-05/0.1302, allocations: 12.03 kB / 473.3 MB, free: 10.93 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.47e-05/0.1303, allocations: 8.844 kB / 473.3 MB, free: 10.92 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002118/0.1305, allocations: 196.1 kB / 473.5 MB, free: 10.69 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.039e-05/0.1305, allocations: 384 / 473.5 MB, free: 10.69 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.391e-05/0.1305, allocations: 384 / 473.5 MB, free: 10.69 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001692/0.1307, allocations: 67.52 kB / 473.6 MB, free: 10.61 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.279e-05/0.1307, allocations: 4 kB / 473.6 MB, free: 10.61 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.087e-05/0.1307, allocations: 0 / 473.6 MB, free: 10.61 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.312e-06/0.1308, allocations: 4 kB / 473.6 MB, free: 10.6 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.923e-05/0.1309, allocations: 23.92 kB / 473.6 MB, free: 10.58 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003496/0.1312, allocations: 276.8 kB / 473.9 MB, free: 10.26 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001888/0.1314, allocations: 42.56 kB / 473.9 MB, free: 10.21 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.848e-05/0.1315, allocations: 12.86 kB / 473.9 MB, free: 10.19 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.633e-05/0.1315, allocations: 4 kB / 473.9 MB, free: 10.19 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.934e-05/0.1315, allocations: 38.64 kB / 474 MB, free: 10.14 MB / 350.1 MB Notification: Performance of pre-optimization done (n=3): time 1.112e-06/0.1315, allocations: 0 / 474 MB, free: 10.14 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005228/0.1321, allocations: 137.3 kB / 474.1 MB, free: 10 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.956e-05/0.1321, allocations: 77.11 kB / 474.2 MB, free: 9.906 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001319/0.1323, allocations: 148.6 kB / 474.3 MB, free: 9.754 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.596e-05/0.1323, allocations: 29.64 kB / 474.4 MB, free: 9.719 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.51e-05/0.1324, allocations: 92.14 kB / 474.5 MB, free: 9.625 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.944e-05/0.1324, allocations: 11.75 kB / 474.5 MB, free: 9.613 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.611e-05/0.1324, allocations: 21.7 kB / 474.5 MB, free: 9.586 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001114/0.1325, allocations: 322.8 kB / 474.8 MB, free: 9.262 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.739e-05/0.1326, allocations: 15.98 kB / 474.8 MB, free: 9.246 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.841e-05/0.1327, allocations: 37.7 kB / 474.9 MB, free: 9.203 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001333/0.1328, allocations: 40.83 kB / 474.9 MB, free: 9.16 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.82e-07/0.1329, allocations: 3.938 kB / 474.9 MB, free: 9.156 MB / 350.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001745/0.133, allocations: 81.58 kB / 475 MB, free: 9.07 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.637e-05/0.1331, allocations: 6.656 kB / 475 MB, free: 9.066 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.862e-06/0.1331, allocations: 3.984 kB / 475 MB, free: 9.062 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.364e-05/0.1331, allocations: 11.97 kB / 475 MB, free: 9.051 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.754e-05/0.1332, allocations: 8.25 kB / 475 MB, free: 9.043 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.119e-06/0.1332, allocations: 0 / 475 MB, free: 9.043 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.394e-05/0.1332, allocations: 11.98 kB / 475 MB, free: 9.031 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.97e-06/0.1332, allocations: 0 / 475 MB, free: 9.031 MB / 350.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 8.947e-05/0.1333, allocations: 117.8 kB / 475.1 MB, free: 8.906 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.334e-05/0.1334, allocations: 7.906 kB / 475.1 MB, free: 8.898 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002293/0.1336, allocations: 93.61 kB / 475.2 MB, free: 8.801 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.124e-06/0.1336, allocations: 0 / 475.2 MB, free: 8.801 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.071e-06/0.1336, allocations: 288 / 475.2 MB, free: 8.801 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.735e-06/0.1336, allocations: 3.938 kB / 475.2 MB, free: 8.797 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004156/0.1341, allocations: 346.5 kB / 475.6 MB, free: 8.402 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.908e-06/0.1341, allocations: 0 / 475.6 MB, free: 8.402 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.611e-05/0.1341, allocations: 19.91 kB / 475.6 MB, free: 8.383 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.884e-06/0.1341, allocations: 4 kB / 475.6 MB, free: 8.379 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.364e-06/0.1342, allocations: 0 / 475.6 MB, free: 8.379 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.715e-06/0.1342, allocations: 7.938 kB / 475.6 MB, free: 8.371 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.81e-07/0.1342, allocations: 0 / 475.6 MB, free: 8.371 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002186/0.1344, allocations: 175.4 kB / 475.8 MB, free: 8.184 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.154e-05/0.1344, allocations: 77.11 kB / 475.9 MB, free: 8.09 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.804e-05/0.1345, allocations: 3.984 kB / 475.9 MB, free: 8.086 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.225e-05/0.1345, allocations: 15.94 kB / 475.9 MB, free: 8.07 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.89e-05/0.1346, allocations: 4 kB / 475.9 MB, free: 8.066 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.517e-06/0.1346, allocations: 0 / 475.9 MB, free: 8.066 MB / 350.1 MB Notification: Performance of sorting global known variables: time 8.558e-05/0.1347, allocations: 107.2 kB / 476 MB, free: 7.961 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.91e-07/0.1347, allocations: 0 / 476 MB, free: 7.961 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002564/0.135, allocations: 19.91 kB / 476 MB, free: 7.941 MB / 350.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.001036/0.136, allocations: 451.8 kB / 476.4 MB, free: 7.664 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.000218/0.1362, allocations: 51.84 kB / 476.5 MB, free: 7.613 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.1362, allocations: 0 / 476.5 MB, free: 7.613 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 7.34e-05/0.1363, allocations: 27.97 kB / 476.5 MB, free: 7.586 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003366/0.1367, allocations: 12 kB / 476.5 MB, free: 7.574 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003677/0.137, allocations: 179.4 kB / 476.7 MB, free: 7.367 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002556/0.1373, allocations: 0.6885 MB / 477.4 MB, free: 6.652 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.969e-05/0.1374, allocations: 23.36 kB / 477.4 MB, free: 6.629 MB / 350.1 MB Notification: Performance of SimCode: time 4.31e-07/0.1374, allocations: 4 kB / 477.4 MB, free: 6.625 MB / 350.1 MB Notification: Performance of Templates: time 0.003218/0.1406, allocations: 1.569 MB / 479 MB, free: 5.07 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test19.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test19.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test19.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test19.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test19.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test19 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test19.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test19_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test19/Test19.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test19.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches