Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test1.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.CombiTable2Ds.Test1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock.y|const.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test1") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock.y|const.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001067/0.001067, allocations: 107.1 kB / 18.39 MB, free: 4.629 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.001088/0.001088, allocations: 184.1 kB / 19.33 MB, free: 3.699 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.502/1.502, allocations: 222.9 MB / 243 MB, free: 15.08 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.2104/0.2104, allocations: 44.19 MB / 337.4 MB, free: 2.66 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001293/0.001293, allocations: 65.14 kB / 409.9 MB, free: 26.5 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1232/0.1245, allocations: 60.82 MB / 470.7 MB, free: 13.62 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test1): time 0.00297/0.1275, allocations: 1.626 MB / 472.3 MB, free: 11.98 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007838/0.1283, allocations: 431.1 kB / 472.7 MB, free: 11.56 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.194e-05/0.1284, allocations: 0 / 472.7 MB, free: 11.56 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005588/0.129, allocations: 455.1 kB / 473.2 MB, free: 11.11 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003845/0.1294, allocations: 255.4 kB / 473.4 MB, free: 10.86 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003217/0.1297, allocations: 130.5 kB / 473.6 MB, free: 10.74 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002384/0.1299, allocations: 163.7 kB / 473.7 MB, free: 10.58 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001191/0.1301, allocations: 19.98 kB / 473.7 MB, free: 10.56 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001188/0.1302, allocations: 111.8 kB / 473.9 MB, free: 10.45 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002382/0.1304, allocations: 207.6 kB / 474.1 MB, free: 10.25 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.38e-05/0.1305, allocations: 4 kB / 474.1 MB, free: 10.24 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001078/0.1306, allocations: 51.97 kB / 474.1 MB, free: 10.19 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001247/0.1307, allocations: 87.69 kB / 474.2 MB, free: 10.11 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 8.187e-05/0.1308, allocations: 103 kB / 474.3 MB, free: 10 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002903/0.1311, allocations: 263 kB / 474.6 MB, free: 9.746 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.254e-06/0.1311, allocations: 3.984 kB / 474.6 MB, free: 9.742 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.733e-06/0.1311, allocations: 3.938 kB / 474.6 MB, free: 9.738 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.293e-06/0.1311, allocations: 0 / 474.6 MB, free: 9.738 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0006699/0.1318, allocations: 0.6336 MB / 475.2 MB, free: 9.055 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.583e-05/0.1318, allocations: 8.031 kB / 475.2 MB, free: 9.047 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.531e-05/0.1319, allocations: 44.38 kB / 475.3 MB, free: 9.004 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002712/0.1322, allocations: 300.1 kB / 475.5 MB, free: 8.668 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.058e-05/0.1322, allocations: 4.375 kB / 475.5 MB, free: 8.664 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.079e-05/0.1322, allocations: 4.375 kB / 475.6 MB, free: 8.66 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001462/0.1324, allocations: 65.73 kB / 475.6 MB, free: 8.59 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.056e-05/0.1324, allocations: 0 / 475.6 MB, free: 8.59 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.186e-06/0.1324, allocations: 0 / 475.6 MB, free: 8.59 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.252e-06/0.1324, allocations: 4 kB / 475.6 MB, free: 8.586 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.826e-05/0.1325, allocations: 27.97 kB / 475.6 MB, free: 8.559 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004483/0.133, allocations: 396.6 kB / 476 MB, free: 8.121 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.24e-05/0.1331, allocations: 42.56 kB / 476.1 MB, free: 8.07 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.894e-05/0.1331, allocations: 16.94 kB / 476.1 MB, free: 8.051 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.685e-05/0.1332, allocations: 0 / 476.1 MB, free: 8.051 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.241e-05/0.1332, allocations: 34.56 kB / 476.1 MB, free: 8.008 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 8.62e-07/0.1332, allocations: 0 / 476.1 MB, free: 8.008 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0008303/0.134, allocations: 315.8 kB / 476.4 MB, free: 7.691 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.451e-05/0.1341, allocations: 55.34 kB / 476.5 MB, free: 7.625 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007118/0.1348, allocations: 0.8574 MB / 477.3 MB, free: 6.758 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.442e-05/0.1348, allocations: 25.7 kB / 477.4 MB, free: 6.727 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001431/0.135, allocations: 220.1 kB / 477.6 MB, free: 6.508 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.642e-05/0.135, allocations: 27.56 kB / 477.6 MB, free: 6.48 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.816e-05/0.135, allocations: 25.64 kB / 477.6 MB, free: 6.449 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001336/0.1352, allocations: 362.8 kB / 478 MB, free: 6.086 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.719e-05/0.1352, allocations: 19.98 kB / 478 MB, free: 6.066 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.033e-05/0.1353, allocations: 27.97 kB / 478 MB, free: 6.039 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001368/0.1355, allocations: 68.83 kB / 478.1 MB, free: 5.969 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.895e-06/0.1355, allocations: 0 / 478.1 MB, free: 5.969 MB / 350.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001999/0.1357, allocations: 133.2 kB / 478.2 MB, free: 5.832 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.195e-05/0.1357, allocations: 4 kB / 478.2 MB, free: 5.828 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.857e-06/0.1357, allocations: 0 / 478.2 MB, free: 5.828 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.337e-05/0.1357, allocations: 4 kB / 478.2 MB, free: 5.824 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.941e-05/0.1358, allocations: 15.98 kB / 478.3 MB, free: 5.809 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.826e-06/0.1358, allocations: 8 kB / 478.3 MB, free: 5.801 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.985e-05/0.1359, allocations: 12 kB / 478.3 MB, free: 5.789 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.297e-06/0.1359, allocations: 7.984 kB / 478.3 MB, free: 5.781 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 (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 0.0001666/0.1361, allocations: 209.8 kB / 478.5 MB, free: 5.566 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.82e-05/0.1361, allocations: 35.53 kB / 478.5 MB, free: 5.531 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002788/0.1364, allocations: 165.3 kB / 478.7 MB, free: 5.359 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.033e-06/0.1364, allocations: 0 / 478.7 MB, free: 5.359 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.53e-06/0.1364, allocations: 7.938 kB / 478.7 MB, free: 5.352 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.565e-06/0.1364, allocations: 0 / 478.7 MB, free: 5.352 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005347/0.137, allocations: 0.4914 MB / 479.2 MB, free: 4.801 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.856e-06/0.137, allocations: 3.938 kB / 479.2 MB, free: 4.797 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.987e-05/0.137, allocations: 15.98 kB / 479.2 MB, free: 4.781 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.096e-06/0.1371, allocations: 4 kB / 479.2 MB, free: 4.777 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.306e-06/0.1371, allocations: 4 kB / 479.2 MB, free: 4.773 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.413e-06/0.1371, allocations: 4.031 kB / 479.2 MB, free: 4.77 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.074e-06/0.1371, allocations: 3.984 kB / 479.2 MB, free: 4.766 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002318/0.1373, allocations: 231.8 kB / 479.5 MB, free: 4.52 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.39e-05/0.1374, allocations: 116.6 kB / 479.6 MB, free: 4.387 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.321e-05/0.1374, allocations: 4 kB / 479.6 MB, free: 4.383 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.126e-05/0.1375, allocations: 12 kB / 479.6 MB, free: 4.371 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.177e-05/0.1376, allocations: 3.984 kB / 479.6 MB, free: 4.367 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.618e-06/0.1376, allocations: 4 kB / 479.6 MB, free: 4.363 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0005118/0.1381, allocations: 0.6472 MB / 480.2 MB, free: 3.719 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1381, allocations: 0 / 480.2 MB, free: 3.719 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002419/0.1383, allocations: 28 kB / 480.3 MB, free: 3.691 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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.0009515/0.1393, allocations: 465.6 kB / 480.7 MB, free: 3.414 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001892/0.1395, allocations: 67.89 kB / 480.8 MB, free: 3.348 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.904e-06/0.1395, allocations: 0 / 480.8 MB, free: 3.348 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 7.634e-05/0.1396, allocations: 36.14 kB / 480.8 MB, free: 3.312 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003248/0.1399, allocations: 37.14 kB / 480.9 MB, free: 3.281 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009001/0.1408, allocations: 0.8079 MB / 481.7 MB, free: 2.438 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003635/0.1412, allocations: 0.826 MB / 482.5 MB, free: 1.586 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 4.569e-05/0.1413, allocations: 12.67 kB / 482.5 MB, free: 1.57 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.168e-05/0.1413, allocations: 11.44 kB / 482.5 MB, free: 1.559 MB / 350.1 MB Notification: Performance of SimCode: time 2.5e-07/0.1413, allocations: 0 / 482.5 MB, free: 1.559 MB / 350.1 MB Notification: Performance of Templates: time 0.4847/0.626, allocations: 1.696 MB / 484.2 MB, free: 15.88 MB / 366.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test1.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test1.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test1.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test1.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test1.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test1 -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test1.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test1_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test1/Test1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches