Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test16.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.Test16,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.Test16") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test16,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.Test16") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001172/0.001172, allocations: 102.2 kB / 16.99 MB, free: 5.941 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.001361/0.001361, allocations: 183.1 kB / 17.87 MB, free: 5.609 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.431/1.431, allocations: 223.2 MB / 241.8 MB, free: 348 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2373/0.2373, allocations: 44.23 MB / 337.1 MB, free: 2.879 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000373/0.000373, allocations: 12 kB / 409.5 MB, free: 27.7 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1342/0.1346, allocations: 61.92 MB / 471.4 MB, free: 13.75 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test16): time 0.002545/0.1371, allocations: 1.27 MB / 472.7 MB, free: 12.46 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008822/0.1381, allocations: 379.5 kB / 473.1 MB, free: 12.09 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.516e-05/0.1381, allocations: 4 kB / 473.1 MB, free: 12.09 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002577/0.1384, allocations: 67.78 kB / 473.2 MB, free: 12.02 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001907/0.1386, allocations: 55.84 kB / 473.2 MB, free: 11.96 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003733/0.139, allocations: 98.95 kB / 473.3 MB, free: 11.87 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001593/0.1392, allocations: 47.94 kB / 473.4 MB, free: 11.82 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001091/0.1393, allocations: 20.16 kB / 473.4 MB, free: 11.8 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.347e-05/0.1394, allocations: 27.86 kB / 473.4 MB, free: 11.78 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001149/0.1395, allocations: 39.89 kB / 473.4 MB, free: 11.74 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.34e-05/0.1395, allocations: 0 / 473.4 MB, free: 11.74 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001088/0.1396, allocations: 31.92 kB / 473.5 MB, free: 11.71 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.518e-05/0.1397, allocations: 15.92 kB / 473.5 MB, free: 11.69 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.967e-05/0.1397, allocations: 37.64 kB / 473.5 MB, free: 11.65 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001567/0.1399, allocations: 71.88 kB / 473.6 MB, free: 11.58 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.073e-06/0.1399, allocations: 0 / 473.6 MB, free: 11.58 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.643e-06/0.1399, allocations: 4 kB / 473.6 MB, free: 11.57 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.609e-06/0.1399, allocations: 4 kB / 473.6 MB, free: 11.57 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.0005231/0.1405, allocations: 391.3 kB / 474 MB, free: 11.14 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.894e-05/0.1405, allocations: 12.5 kB / 474 MB, free: 11.13 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.59e-05/0.1406, allocations: 11.91 kB / 474 MB, free: 11.12 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002272/0.1408, allocations: 198.8 kB / 474.2 MB, free: 10.88 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.182e-05/0.1408, allocations: 0 / 474.2 MB, free: 10.88 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.503e-05/0.1409, allocations: 8 kB / 474.2 MB, free: 10.88 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001599/0.141, allocations: 57.62 kB / 474.3 MB, free: 10.81 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.637e-05/0.1411, allocations: 7.906 kB / 474.3 MB, free: 10.8 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.302e-05/0.1411, allocations: 0 / 474.3 MB, free: 10.8 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.362e-06/0.1411, allocations: 0 / 474.3 MB, free: 10.8 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001264/0.1413, allocations: 35.97 kB / 474.3 MB, free: 10.77 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005245/0.1418, allocations: 300.8 kB / 474.6 MB, free: 10.43 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000135/0.1419, allocations: 50.55 kB / 474.7 MB, free: 10.37 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.789e-05/0.142, allocations: 0 / 474.7 MB, free: 10.37 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.623e-05/0.142, allocations: 30.56 kB / 474.7 MB, free: 10.33 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 3.497e-06/0.142, allocations: 3.984 kB / 474.7 MB, free: 10.32 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.001166/0.1432, allocations: 269.1 kB / 475 MB, free: 10.05 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.444e-05/0.1433, allocations: 55.41 kB / 475 MB, free: 9.988 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002429/0.1435, allocations: 202.2 kB / 475.2 MB, free: 9.781 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.098e-05/0.1435, allocations: 29.7 kB / 475.2 MB, free: 9.746 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.072e-05/0.1436, allocations: 112 kB / 475.3 MB, free: 9.633 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.175e-05/0.1437, allocations: 27.72 kB / 475.4 MB, free: 9.605 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.32e-06/0.1437, allocations: 0 / 475.4 MB, free: 9.605 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001383/0.1438, allocations: 326.8 kB / 475.7 MB, free: 9.277 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001109/0.1439, allocations: 35.97 kB / 475.7 MB, free: 9.242 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001038/0.144, allocations: 36.05 kB / 475.8 MB, free: 9.207 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001106/0.1442, allocations: 39.97 kB / 475.8 MB, free: 9.168 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.292e-06/0.1442, allocations: 0 / 475.8 MB, free: 9.168 MB / 350.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002953/0.1445, allocations: 121.5 kB / 475.9 MB, free: 9.043 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.588e-05/0.1445, allocations: 4 kB / 475.9 MB, free: 9.039 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.053e-06/0.1445, allocations: 4 kB / 475.9 MB, free: 9.035 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.204e-05/0.1445, allocations: 3.938 kB / 475.9 MB, free: 9.031 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001243/0.1447, allocations: 19.98 kB / 475.9 MB, free: 9.012 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.575e-06/0.1447, allocations: 0 / 475.9 MB, free: 9.012 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.701e-05/0.1448, allocations: 11.94 kB / 476 MB, free: 9 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.386e-06/0.1448, allocations: 0 / 476 MB, free: 9 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.000115/0.1449, allocations: 133.8 kB / 476.1 MB, free: 8.859 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.884e-05/0.1449, allocations: 11.91 kB / 476.1 MB, free: 8.848 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003746/0.1453, allocations: 138.3 kB / 476.2 MB, free: 8.707 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.376e-06/0.1453, allocations: 4 kB / 476.2 MB, free: 8.703 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.378e-06/0.1454, allocations: 0 / 476.2 MB, free: 8.703 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.326e-06/0.1454, allocations: 0 / 476.2 MB, free: 8.703 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007868/0.1462, allocations: 423.2 kB / 476.7 MB, free: 8.23 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.489e-06/0.1462, allocations: 7.938 kB / 476.7 MB, free: 8.223 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.158e-05/0.1463, allocations: 15.98 kB / 476.7 MB, free: 8.207 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.115e-06/0.1463, allocations: 4 kB / 476.7 MB, free: 8.203 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.228e-05/0.1463, allocations: 8.031 kB / 476.7 MB, free: 8.195 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.847e-06/0.1463, allocations: 4 kB / 476.7 MB, free: 8.191 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.106e-06/0.1463, allocations: 4 kB / 476.7 MB, free: 8.188 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003811/0.1467, allocations: 237.9 kB / 476.9 MB, free: 7.93 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.883e-05/0.1468, allocations: 88.92 kB / 477 MB, free: 7.824 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.083e-05/0.1468, allocations: 0 / 477 MB, free: 7.824 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.084e-05/0.1469, allocations: 15.98 kB / 477 MB, free: 7.809 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.569e-05/0.147, allocations: 7.953 kB / 477 MB, free: 7.801 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.494e-06/0.147, allocations: 3.984 kB / 477 MB, free: 7.797 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001211/0.1471, allocations: 155.2 kB / 477.2 MB, free: 7.645 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1471, allocations: 4 kB / 477.2 MB, free: 7.641 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002433/0.1474, allocations: 20 kB / 477.2 MB, free: 7.621 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.0008958/0.1483, allocations: 454 kB / 477.7 MB, free: 7.352 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002165/0.1485, allocations: 87.89 kB / 477.7 MB, free: 7.266 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.563e-06/0.1485, allocations: 0 / 477.7 MB, free: 7.266 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001614/0.1487, allocations: 43.97 kB / 477.8 MB, free: 7.223 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002286/0.1489, allocations: 19.3 kB / 477.8 MB, free: 7.207 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004774/0.1494, allocations: 270.3 kB / 478.1 MB, free: 6.906 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003596/0.1497, allocations: 0.716 MB / 478.8 MB, free: 6.164 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 6.355e-05/0.1498, allocations: 16.66 kB / 478.8 MB, free: 6.141 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.744e-05/0.1499, allocations: 11.44 kB / 478.8 MB, free: 6.133 MB / 350.1 MB Notification: Performance of SimCode: time 2.21e-07/0.1499, allocations: 0 / 478.8 MB, free: 6.133 MB / 350.1 MB Notification: Performance of Templates: time 0.003726/0.1536, allocations: 1.271 MB / 480.1 MB, free: 4.871 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test16.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test16.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test16.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test16.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test16.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test16 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test16.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test16_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test16/Test16.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test16.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches