Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test7.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.Test7,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.Test7") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test7,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.Test7") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008716/0.0008716, allocations: 95.34 kB / 17.35 MB, free: 6.344 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.0007954/0.0007955, allocations: 173.8 kB / 18.25 MB, free: 5.504 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.375/1.375, allocations: 223.3 MB / 242.3 MB, free: 14.48 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.2027/0.2027, allocations: 44.25 MB / 337.7 MB, free: 2.441 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004234/0.0004233, allocations: 12 kB / 410.3 MB, free: 27.29 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1459/0.1463, allocations: 61.93 MB / 472.3 MB, free: 13.33 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test7): time 0.002761/0.1491, allocations: 1.27 MB / 473.5 MB, free: 12.05 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001053/0.1502, allocations: 391.4 kB / 473.9 MB, free: 11.66 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.966e-05/0.1503, allocations: 7.938 kB / 473.9 MB, free: 11.65 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002355/0.1505, allocations: 19.92 kB / 473.9 MB, free: 11.63 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001752/0.1507, allocations: 27.91 kB / 474 MB, free: 11.61 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003345/0.1511, allocations: 79.84 kB / 474 MB, free: 11.53 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001696/0.1512, allocations: 51.84 kB / 474.1 MB, free: 11.48 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000129/0.1514, allocations: 8 kB / 474.1 MB, free: 11.47 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.193e-05/0.1515, allocations: 19.86 kB / 474.1 MB, free: 11.45 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.643e-05/0.1516, allocations: 19.88 kB / 474.1 MB, free: 11.43 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.041e-05/0.1516, allocations: 4 kB / 474.1 MB, free: 11.43 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.787e-05/0.1517, allocations: 27.97 kB / 474.2 MB, free: 11.4 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.7e-05/0.1518, allocations: 11.92 kB / 474.2 MB, free: 11.39 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.811e-05/0.1518, allocations: 41.58 kB / 474.2 MB, free: 11.34 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001905/0.152, allocations: 71.8 kB / 474.3 MB, free: 11.27 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.232e-06/0.152, allocations: 3.984 kB / 474.3 MB, free: 11.27 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.405e-06/0.1521, allocations: 0 / 474.3 MB, free: 11.27 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.064e-06/0.1521, allocations: 0 / 474.3 MB, free: 11.27 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.0005973/0.1527, allocations: 383.4 kB / 474.7 MB, free: 10.84 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.632e-05/0.1527, allocations: 8.031 kB / 474.7 MB, free: 10.84 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.44e-05/0.1528, allocations: 12.78 kB / 474.7 MB, free: 10.82 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002334/0.153, allocations: 186.8 kB / 474.9 MB, free: 10.61 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.167e-06/0.1531, allocations: 384 / 474.9 MB, free: 10.61 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.244e-05/0.1531, allocations: 4.375 kB / 474.9 MB, free: 10.6 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001746/0.1533, allocations: 53.81 kB / 474.9 MB, free: 10.54 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.533e-05/0.1533, allocations: 3.906 kB / 474.9 MB, free: 10.54 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.133e-05/0.1533, allocations: 0 / 474.9 MB, free: 10.54 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.22e-06/0.1533, allocations: 4 kB / 474.9 MB, free: 10.54 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001465/0.1535, allocations: 35.91 kB / 475 MB, free: 10.5 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004381/0.154, allocations: 268.9 kB / 475.2 MB, free: 10.19 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002694/0.1542, allocations: 46.56 kB / 475.3 MB, free: 10.13 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.661e-05/0.1543, allocations: 20.94 kB / 475.3 MB, free: 10.11 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.196e-05/0.1544, allocations: 0 / 475.3 MB, free: 10.11 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.756e-05/0.1544, allocations: 34.5 kB / 475.3 MB, free: 10.07 MB / 350.1 MB Notification: Performance of pre-optimization done (n=3): time 1.082e-06/0.1544, allocations: 0 / 475.3 MB, free: 10.07 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.0007589/0.1552, allocations: 161.2 kB / 475.5 MB, free: 9.902 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.16e-05/0.1552, allocations: 51.41 kB / 475.5 MB, free: 9.84 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002175/0.1555, allocations: 153.8 kB / 475.7 MB, free: 9.68 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.849e-05/0.1555, allocations: 29.7 kB / 475.7 MB, free: 9.645 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.542e-05/0.1556, allocations: 92.14 kB / 475.8 MB, free: 9.551 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.599e-05/0.1556, allocations: 15.8 kB / 475.8 MB, free: 9.535 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.33e-05/0.1557, allocations: 13.72 kB / 475.8 MB, free: 9.516 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001655/0.1558, allocations: 326.8 kB / 476.2 MB, free: 9.188 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.1e-05/0.1559, allocations: 19.92 kB / 476.2 MB, free: 9.168 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.599e-05/0.156, allocations: 27.98 kB / 476.2 MB, free: 9.141 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001882/0.1562, allocations: 48.84 kB / 476.3 MB, free: 9.09 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.062e-06/0.1563, allocations: 4 kB / 476.3 MB, free: 9.086 MB / 350.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002589/0.1565, allocations: 93.5 kB / 476.3 MB, free: 8.988 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.869e-05/0.1565, allocations: 4 kB / 476.4 MB, free: 8.984 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.241e-06/0.1566, allocations: 0 / 476.4 MB, free: 8.984 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.895e-05/0.1566, allocations: 4 kB / 476.4 MB, free: 8.98 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.963e-05/0.1567, allocations: 8 kB / 476.4 MB, free: 8.973 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.985e-06/0.1567, allocations: 7.984 kB / 476.4 MB, free: 8.965 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.466e-05/0.1568, allocations: 4 kB / 476.4 MB, free: 8.961 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.586e-06/0.1568, allocations: 7.938 kB / 476.4 MB, free: 8.953 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 0.000135/0.1569, allocations: 122.3 kB / 476.5 MB, free: 8.824 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.499e-05/0.157, allocations: 8.188 kB / 476.5 MB, free: 8.816 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003115/0.1573, allocations: 101.9 kB / 476.6 MB, free: 8.711 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.128e-06/0.1573, allocations: 7.984 kB / 476.6 MB, free: 8.703 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.23e-06/0.1573, allocations: 0 / 476.6 MB, free: 8.703 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.318e-06/0.1573, allocations: 4 kB / 476.6 MB, free: 8.699 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006015/0.158, allocations: 350.8 kB / 477 MB, free: 8.301 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.82e-06/0.158, allocations: 8 kB / 477 MB, free: 8.293 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.879e-05/0.1581, allocations: 19.98 kB / 477 MB, free: 8.273 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.805e-06/0.1581, allocations: 0 / 477 MB, free: 8.273 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.319e-05/0.1581, allocations: 4 kB / 477 MB, free: 8.27 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.754e-06/0.1581, allocations: 3.938 kB / 477 MB, free: 8.266 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.993e-06/0.1581, allocations: 3.938 kB / 477 MB, free: 8.262 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003209/0.1585, allocations: 183.4 kB / 477.2 MB, free: 8.066 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.985e-05/0.1585, allocations: 85 kB / 477.3 MB, free: 7.965 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.157e-05/0.1586, allocations: 4 kB / 477.3 MB, free: 7.961 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001134/0.1587, allocations: 11.94 kB / 477.3 MB, free: 7.949 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.135e-05/0.1587, allocations: 3.984 kB / 477.3 MB, free: 7.945 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.054e-06/0.1588, allocations: 4 kB / 477.3 MB, free: 7.941 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.000135/0.1589, allocations: 117.1 kB / 477.4 MB, free: 7.828 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.1589, allocations: 0 / 477.4 MB, free: 7.828 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000365/0.1593, allocations: 27.91 kB / 477.4 MB, free: 7.801 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.001405/0.1607, allocations: 394.8 kB / 477.8 MB, free: 7.566 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002715/0.161, allocations: 55.91 kB / 477.9 MB, free: 7.512 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 5.531e-06/0.161, allocations: 4 kB / 477.9 MB, free: 7.508 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001129/0.1611, allocations: 27.98 kB / 477.9 MB, free: 7.48 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004876/0.1616, allocations: 15.98 kB / 477.9 MB, free: 7.465 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005313/0.1622, allocations: 196.6 kB / 478.1 MB, free: 7.246 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003852/0.1626, allocations: 0.6965 MB / 478.8 MB, free: 6.523 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 5.683e-05/0.1626, allocations: 7.984 kB / 478.8 MB, free: 6.516 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.2e-05/0.1627, allocations: 19.36 kB / 478.8 MB, free: 6.496 MB / 350.1 MB Notification: Performance of SimCode: time 4.71e-07/0.1627, allocations: 3.938 kB / 478.8 MB, free: 6.492 MB / 350.1 MB Notification: Performance of Templates: time 0.004923/0.1676, allocations: 1.03 MB / 479.9 MB, free: 5.469 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test7.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test7.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test7.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test7.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test7.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test7 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test7.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test7_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test7/Test7.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test7.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches