Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test32.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.CombiTable1Dv.Test32,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test32") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test32,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test32") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001056/0.001056, allocations: 93.86 kB / 16.98 MB, free: 5.938 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.00105/0.00105, allocations: 188.2 kB / 17.88 MB, free: 5.594 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.458/1.458, allocations: 223.2 MB / 241.8 MB, free: 14.64 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.2313/0.2313, allocations: 44.22 MB / 337.1 MB, free: 2.66 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003812/0.0003816, allocations: 8 kB / 409.5 MB, free: 27.68 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1439/0.1443, allocations: 61.92 MB / 471.4 MB, free: 13.73 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test32): time 0.002824/0.1472, allocations: 1.275 MB / 472.7 MB, free: 12.44 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009984/0.1483, allocations: 383.5 kB / 473.1 MB, free: 12.06 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.78e-05/0.1483, allocations: 0 / 473.1 MB, free: 12.06 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003638/0.1487, allocations: 103.7 kB / 473.2 MB, free: 11.96 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002055/0.1489, allocations: 67.83 kB / 473.3 MB, free: 11.89 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003723/0.1493, allocations: 98.77 kB / 473.4 MB, free: 11.8 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001858/0.1495, allocations: 47.94 kB / 473.4 MB, free: 11.75 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000121/0.1497, allocations: 20.16 kB / 473.4 MB, free: 11.73 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.04e-05/0.1497, allocations: 31.84 kB / 473.5 MB, free: 11.7 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001339/0.1499, allocations: 47.88 kB / 473.5 MB, free: 11.66 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.535e-05/0.1499, allocations: 0 / 473.5 MB, free: 11.66 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001068/0.15, allocations: 31.88 kB / 473.5 MB, free: 11.62 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.216e-05/0.1501, allocations: 19.98 kB / 473.6 MB, free: 11.61 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.786e-05/0.1502, allocations: 45.62 kB / 473.6 MB, free: 11.55 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001857/0.1504, allocations: 79.81 kB / 473.7 MB, free: 11.48 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.396e-06/0.1504, allocations: 0 / 473.7 MB, free: 11.48 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.495e-06/0.1504, allocations: 0 / 473.7 MB, free: 11.48 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.859e-06/0.1504, allocations: 0 / 473.7 MB, free: 11.48 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0006255/0.151, allocations: 403.1 kB / 474.1 MB, free: 11.04 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.491e-05/0.1511, allocations: 12.56 kB / 474.1 MB, free: 11.02 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.439e-05/0.1511, allocations: 7.906 kB / 474.1 MB, free: 11.02 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002474/0.1514, allocations: 218.6 kB / 474.3 MB, free: 10.76 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.213e-05/0.1514, allocations: 0 / 474.3 MB, free: 10.76 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.887e-05/0.1515, allocations: 4 kB / 474.3 MB, free: 10.76 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002171/0.1517, allocations: 61.62 kB / 474.4 MB, free: 10.69 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.867e-05/0.1517, allocations: 3.938 kB / 474.4 MB, free: 10.69 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.408e-05/0.1518, allocations: 0 / 474.4 MB, free: 10.69 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.122e-05/0.1518, allocations: 0 / 474.4 MB, free: 10.69 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001541/0.1519, allocations: 31.98 kB / 474.4 MB, free: 10.66 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005781/0.1525, allocations: 304.8 kB / 474.7 MB, free: 10.31 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001528/0.1527, allocations: 46.5 kB / 474.7 MB, free: 10.25 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.02e-05/0.1527, allocations: 4 kB / 474.7 MB, free: 10.25 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.482e-05/0.1528, allocations: 42.64 kB / 474.8 MB, free: 10.2 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 1.353e-06/0.1528, allocations: 0 / 474.8 MB, free: 10.2 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.001277/0.1541, allocations: 265 kB / 475 MB, free: 9.934 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.35e-05/0.1542, allocations: 55.41 kB / 475.1 MB, free: 9.867 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003258/0.1545, allocations: 242.7 kB / 475.3 MB, free: 9.613 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.883e-05/0.1545, allocations: 25.7 kB / 475.4 MB, free: 9.582 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.824e-05/0.1546, allocations: 112 kB / 475.5 MB, free: 9.469 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.251e-05/0.1547, allocations: 23.66 kB / 475.5 MB, free: 9.445 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.222e-06/0.1547, allocations: 0 / 475.5 MB, free: 9.445 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001512/0.1549, allocations: 326.8 kB / 475.8 MB, free: 9.117 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001269/0.155, allocations: 39.97 kB / 475.9 MB, free: 9.078 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001127/0.1551, allocations: 31.98 kB / 475.9 MB, free: 9.047 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001309/0.1553, allocations: 35.97 kB / 475.9 MB, free: 9.012 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.44e-06/0.1553, allocations: 4 kB / 475.9 MB, free: 9.008 MB / 350.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0003564/0.1556, allocations: 129.4 kB / 476.1 MB, free: 8.875 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.816e-05/0.1557, allocations: 4 kB / 476.1 MB, free: 8.871 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.835e-06/0.1557, allocations: 4 kB / 476.1 MB, free: 8.867 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.73e-05/0.1557, allocations: 0 / 476.1 MB, free: 8.867 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001451/0.1559, allocations: 19.98 kB / 476.1 MB, free: 8.848 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.017e-05/0.1559, allocations: 320 / 476.1 MB, free: 8.848 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.594e-05/0.156, allocations: 7.938 kB / 476.1 MB, free: 8.84 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.173e-05/0.156, allocations: 8 kB / 476.1 MB, free: 8.832 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001558/0.1562, allocations: 133.8 kB / 476.2 MB, free: 8.691 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.445e-05/0.1562, allocations: 15.84 kB / 476.2 MB, free: 8.676 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004182/0.1567, allocations: 143.3 kB / 476.4 MB, free: 8.535 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.133e-06/0.1567, allocations: 4 kB / 476.4 MB, free: 8.531 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.3e-06/0.1567, allocations: 4 kB / 476.4 MB, free: 8.527 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.099e-06/0.1567, allocations: 0 / 476.4 MB, free: 8.527 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007834/0.1575, allocations: 431.2 kB / 476.8 MB, free: 8.047 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.515e-06/0.1575, allocations: 4.031 kB / 476.8 MB, free: 8.043 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000104/0.1576, allocations: 19.98 kB / 476.8 MB, free: 8.023 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.078e-06/0.1576, allocations: 3.938 kB / 476.8 MB, free: 8.02 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.621e-05/0.1577, allocations: 8 kB / 476.8 MB, free: 8.012 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.599e-06/0.1577, allocations: 3.938 kB / 476.8 MB, free: 8.008 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/0.1577, allocations: 0 / 476.8 MB, free: 8.008 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004009/0.1581, allocations: 237.8 kB / 477.1 MB, free: 7.75 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.603e-05/0.1582, allocations: 85.02 kB / 477.2 MB, free: 7.648 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.597e-05/0.1582, allocations: 0 / 477.2 MB, free: 7.648 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001304/0.1584, allocations: 15.98 kB / 477.2 MB, free: 7.633 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.029e-05/0.1584, allocations: 11.95 kB / 477.2 MB, free: 7.621 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.815e-06/0.1584, allocations: 0 / 477.2 MB, free: 7.621 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002182/0.1587, allocations: 188.3 kB / 477.4 MB, free: 7.438 MB / 350.1 MB Notification: Performance of sort global known variables: time 2.3e-07/0.1587, allocations: 0 / 477.4 MB, free: 7.438 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004533/0.1591, allocations: 23.98 kB / 477.4 MB, free: 7.414 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001581/0.1607, allocations: 460.5 kB / 477.8 MB, free: 7.137 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0004103/0.1612, allocations: 79.95 kB / 477.9 MB, free: 7.059 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.296e-06/0.1612, allocations: 0 / 477.9 MB, free: 7.059 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001766/0.1614, allocations: 47.92 kB / 478 MB, free: 7.012 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003836/0.1618, allocations: 12.48 kB / 478 MB, free: 7 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000857/0.1626, allocations: 318 kB / 478.3 MB, free: 6.66 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004759/0.1631, allocations: 0.716 MB / 479 MB, free: 5.918 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001212/0.1633, allocations: 16.64 kB / 479 MB, free: 5.898 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.374e-05/0.1634, allocations: 19.44 kB / 479 MB, free: 5.879 MB / 350.1 MB Notification: Performance of SimCode: time 5.41e-07/0.1634, allocations: 4 kB / 479.1 MB, free: 5.875 MB / 350.1 MB Notification: Performance of Templates: time 0.006703/0.1701, allocations: 1.286 MB / 480.3 MB, free: 4.602 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test32.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test32.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test32.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test32.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test32.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test32 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test32.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test32_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test32/Test32.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test32.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches