Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test30.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.Test30,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test30") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test30,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test30") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001092/0.001092, allocations: 108.3 kB / 17.21 MB, free: 6.293 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.001137/0.001137, allocations: 194 kB / 18.12 MB, free: 5.383 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.437/1.437, allocations: 222.9 MB / 241.8 MB, free: 13.74 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.2316/0.2316, allocations: 44.17 MB / 336.1 MB, free: 2.785 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001267/0.001267, allocations: 64.44 kB / 407.7 MB, free: 27.68 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1419/0.1432, allocations: 60.84 MB / 468.5 MB, free: 14.82 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test30): time 0.003218/0.1465, allocations: 1.685 MB / 470.2 MB, free: 13.12 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007977/0.1473, allocations: 427.1 kB / 470.6 MB, free: 12.7 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.233e-05/0.1474, allocations: 0 / 470.6 MB, free: 12.7 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002954/0.1477, allocations: 67.84 kB / 470.7 MB, free: 12.63 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001652/0.1479, allocations: 59.86 kB / 470.8 MB, free: 12.57 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003228/0.1482, allocations: 111.8 kB / 470.9 MB, free: 12.46 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001539/0.1484, allocations: 79.75 kB / 470.9 MB, free: 12.38 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001184/0.1485, allocations: 16 kB / 471 MB, free: 12.37 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.104e-05/0.1486, allocations: 31.91 kB / 471 MB, free: 12.34 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000107/0.1487, allocations: 51.81 kB / 471 MB, free: 12.29 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.725e-05/0.1487, allocations: 4 kB / 471 MB, free: 12.28 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.692e-05/0.1488, allocations: 43.92 kB / 471.1 MB, free: 12.24 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 8.234e-05/0.1489, allocations: 31.89 kB / 471.1 MB, free: 12.21 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.622e-05/0.1489, allocations: 27.75 kB / 471.1 MB, free: 12.18 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001846/0.1491, allocations: 107.7 kB / 471.2 MB, free: 12.07 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.629e-06/0.1491, allocations: 3.938 kB / 471.3 MB, free: 12.07 MB / 350.1 MB Notification: Performance of FrontEnd: time 8.32e-07/0.1492, allocations: 4 kB / 471.3 MB, free: 12.07 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.118e-06/0.1492, allocations: 0 / 471.3 MB, free: 12.07 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.0005611/0.1497, allocations: 411.3 kB / 471.7 MB, free: 11.62 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.429e-05/0.1498, allocations: 11.97 kB / 471.7 MB, free: 11.61 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.796e-05/0.1498, allocations: 20.73 kB / 471.7 MB, free: 11.59 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002033/0.15, allocations: 196 kB / 471.9 MB, free: 11.36 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.262e-05/0.1501, allocations: 8.375 kB / 471.9 MB, free: 11.35 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.065e-05/0.1501, allocations: 4.375 kB / 471.9 MB, free: 11.34 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001744/0.1503, allocations: 69.8 kB / 472 MB, free: 11.27 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.236e-05/0.1503, allocations: 0 / 472 MB, free: 11.27 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.868e-06/0.1503, allocations: 0 / 472 MB, free: 11.27 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.02e-06/0.1503, allocations: 0 / 472 MB, free: 11.27 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001652/0.1505, allocations: 39.91 kB / 472 MB, free: 11.23 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004184/0.1509, allocations: 308.8 kB / 472.3 MB, free: 10.88 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002368/0.1512, allocations: 58.58 kB / 472.4 MB, free: 10.81 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.881e-05/0.1513, allocations: 24.97 kB / 472.4 MB, free: 10.79 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.087e-05/0.1513, allocations: 0 / 472.4 MB, free: 10.79 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.994e-05/0.1513, allocations: 34.56 kB / 472.4 MB, free: 10.74 MB / 350.1 MB Notification: Performance of pre-optimization done (n=5): time 9.52e-07/0.1513, allocations: 0 / 472.4 MB, free: 10.74 MB / 350.1 MB Notification: Performance of matching and sorting (n=11): time 0.001432/0.1528, allocations: 396.7 kB / 472.8 MB, free: 10.35 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.902e-05/0.1528, allocations: 55.34 kB / 472.9 MB, free: 10.28 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002159/0.153, allocations: 202.2 kB / 473.1 MB, free: 10.07 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.847e-05/0.1531, allocations: 29.7 kB / 473.1 MB, free: 10.04 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.424e-05/0.1531, allocations: 104 kB / 473.2 MB, free: 9.934 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.859e-05/0.1532, allocations: 39.45 kB / 473.2 MB, free: 9.895 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.841e-05/0.1532, allocations: 25.72 kB / 473.3 MB, free: 9.863 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001451/0.1534, allocations: 322.8 kB / 473.6 MB, free: 9.539 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001262/0.1535, allocations: 43.95 kB / 473.6 MB, free: 9.496 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001114/0.1536, allocations: 47.91 kB / 473.7 MB, free: 9.449 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002409/0.1539, allocations: 100.8 kB / 473.8 MB, free: 9.348 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.022e-06/0.1539, allocations: 0 / 473.8 MB, free: 9.348 MB / 350.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002918/0.1542, allocations: 137.5 kB / 473.9 MB, free: 9.207 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.515e-05/0.1542, allocations: 4 kB / 473.9 MB, free: 9.203 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.741e-06/0.1542, allocations: 0.5625 kB / 473.9 MB, free: 9.203 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.616e-05/0.1543, allocations: 4 kB / 473.9 MB, free: 9.199 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001153/0.1544, allocations: 39.84 kB / 473.9 MB, free: 9.16 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.613e-06/0.1544, allocations: 0 / 473.9 MB, free: 9.16 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.167e-05/0.1545, allocations: 7.984 kB / 473.9 MB, free: 9.152 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.445e-05/0.1545, allocations: 12 kB / 474 MB, free: 9.141 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 (11): * Single equations (assignments): 11 * 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.0001065/0.1546, allocations: 126.3 kB / 474.1 MB, free: 9.008 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.659e-05/0.1547, allocations: 11.81 kB / 474.1 MB, free: 8.996 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003785/0.155, allocations: 166.3 kB / 474.3 MB, free: 8.828 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.989e-06/0.1551, allocations: 7.875 kB / 474.3 MB, free: 8.82 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.891e-06/0.1551, allocations: 0 / 474.3 MB, free: 8.82 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.001e-06/0.1551, allocations: 7.984 kB / 474.3 MB, free: 8.812 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006696/0.1558, allocations: 464.1 kB / 474.7 MB, free: 8.297 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.428e-06/0.1558, allocations: 4 kB / 474.7 MB, free: 8.293 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.833e-05/0.1559, allocations: 31.92 kB / 474.8 MB, free: 8.262 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.445e-06/0.1559, allocations: 0 / 474.8 MB, free: 8.262 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.266e-05/0.1559, allocations: 4 kB / 474.8 MB, free: 8.258 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.823e-06/0.1559, allocations: 0 / 474.8 MB, free: 8.258 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.1559, allocations: 0 / 474.8 MB, free: 8.258 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003719/0.1563, allocations: 265.4 kB / 475 MB, free: 7.977 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.218e-05/0.1564, allocations: 81.02 kB / 475.1 MB, free: 7.879 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.161e-05/0.1564, allocations: 4 kB / 475.1 MB, free: 7.875 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.132e-05/0.1565, allocations: 11.98 kB / 475.1 MB, free: 7.863 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.481e-05/0.1565, allocations: 15.98 kB / 475.1 MB, free: 7.848 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.212e-06/0.1566, allocations: 0 / 475.1 MB, free: 7.848 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001363/0.1567, allocations: 155.2 kB / 475.3 MB, free: 7.695 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1567, allocations: 0 / 475.3 MB, free: 7.695 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002658/0.157, allocations: 28 kB / 475.3 MB, free: 7.668 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (11): * Single equations (assignments): 11 * 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.001058/0.158, allocations: 464.8 kB / 475.8 MB, free: 7.398 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.000327/0.1584, allocations: 115.8 kB / 475.9 MB, free: 7.285 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/0.1584, allocations: 0 / 475.9 MB, free: 7.285 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001633/0.1586, allocations: 59.91 kB / 475.9 MB, free: 7.227 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004146/0.159, allocations: 24.14 kB / 476 MB, free: 7.203 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005728/0.1596, allocations: 330 kB / 476.3 MB, free: 6.844 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003275/0.1599, allocations: 0.7121 MB / 477 MB, free: 6.105 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 8.208e-05/0.16, allocations: 24.41 kB / 477 MB, free: 6.082 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.014e-05/0.16, allocations: 11.44 kB / 477 MB, free: 6.07 MB / 350.1 MB Notification: Performance of SimCode: time 2.2e-07/0.1601, allocations: 0 / 477 MB, free: 6.07 MB / 350.1 MB Notification: Performance of Templates: time 0.004514/0.1646, allocations: 1.442 MB / 478.5 MB, free: 4.637 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test30.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test30.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test30.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test30.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test30.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test30 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test30.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test30_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test30/Test30.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test30.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches