Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test34.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.Test34,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|d2_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test34") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test34,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|d2_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test34") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008454/0.0008455, allocations: 92.05 kB / 16.98 MB, free: 6.398 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.0008178/0.0008178, allocations: 183.2 kB / 17.87 MB, free: 5.957 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.443/1.443, 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.2386/0.2386, allocations: 44.22 MB / 337.1 MB, free: 2.672 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003515/0.0003517, allocations: 11.94 kB / 409.5 MB, free: 27.69 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1427/0.143, allocations: 61.91 MB / 471.4 MB, free: 13.75 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test34): time 0.002061/0.1451, allocations: 1.275 MB / 472.7 MB, free: 12.46 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006659/0.1458, allocations: 375.5 kB / 473.1 MB, free: 12.09 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.281e-05/0.1459, allocations: 0 / 473.1 MB, free: 12.09 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002583/0.1462, allocations: 71.78 kB / 473.2 MB, free: 12.02 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001642/0.1463, allocations: 59.84 kB / 473.2 MB, free: 11.96 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002745/0.1466, allocations: 91.77 kB / 473.3 MB, free: 11.87 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001381/0.1468, allocations: 43.94 kB / 473.3 MB, free: 11.83 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001097/0.1469, allocations: 16.17 kB / 473.4 MB, free: 11.81 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.18e-05/0.1469, allocations: 31.84 kB / 473.4 MB, free: 11.78 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.874e-05/0.1471, allocations: 35.89 kB / 473.4 MB, free: 11.75 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.135e-05/0.1471, allocations: 0 / 473.4 MB, free: 11.75 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.69e-05/0.1472, allocations: 35.86 kB / 473.5 MB, free: 11.71 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 3.874e-05/0.1472, allocations: 15.98 kB / 473.5 MB, free: 11.7 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.576e-05/0.1472, allocations: 41.64 kB / 473.5 MB, free: 11.65 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001476/0.1474, allocations: 75.88 kB / 473.6 MB, free: 11.57 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.855e-06/0.1474, allocations: 0 / 473.6 MB, free: 11.57 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.064e-06/0.1474, allocations: 0 / 473.6 MB, free: 11.57 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.398e-06/0.1474, allocations: 0 / 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.0005609/0.148, allocations: 395.2 kB / 474 MB, free: 11.14 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.179e-05/0.148, allocations: 12.5 kB / 474 MB, free: 11.13 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.81e-05/0.1481, allocations: 11.84 kB / 474 MB, free: 11.12 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002207/0.1483, allocations: 194.9 kB / 474.2 MB, free: 10.89 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.975e-05/0.1484, allocations: 8 kB / 474.2 MB, free: 10.88 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.135e-05/0.1484, allocations: 0 / 474.2 MB, free: 10.88 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001738/0.1486, allocations: 57.64 kB / 474.3 MB, free: 10.82 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.952e-05/0.1486, allocations: 3.906 kB / 474.3 MB, free: 10.81 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.382e-05/0.1486, allocations: 0 / 474.3 MB, free: 10.81 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.501e-06/0.1486, allocations: 0 / 474.3 MB, free: 10.81 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000106/0.1487, allocations: 35.91 kB / 474.3 MB, free: 10.78 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004824/0.1492, allocations: 304.8 kB / 474.6 MB, free: 10.43 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001266/0.1494, allocations: 46.55 kB / 474.6 MB, free: 10.38 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.607e-05/0.1494, allocations: 0 / 474.6 MB, free: 10.38 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.397e-05/0.1495, allocations: 42.5 kB / 474.7 MB, free: 10.32 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 1.172e-06/0.1495, allocations: 4 kB / 474.7 MB, free: 10.32 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0009401/0.1504, allocations: 261.1 kB / 474.9 MB, free: 10.06 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.903e-05/0.1505, allocations: 51.41 kB / 475 MB, free: 9.996 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002064/0.1507, allocations: 214.2 kB / 475.2 MB, free: 9.777 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.686e-05/0.1507, allocations: 25.7 kB / 475.2 MB, free: 9.746 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.986e-05/0.1508, allocations: 108 kB / 475.3 MB, free: 9.637 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.981e-05/0.1508, allocations: 19.66 kB / 475.4 MB, free: 9.617 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.152e-06/0.1508, allocations: 4 kB / 475.4 MB, free: 9.613 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001409/0.151, allocations: 326.8 kB / 475.7 MB, free: 9.285 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.688e-05/0.1511, allocations: 40.03 kB / 475.7 MB, free: 9.246 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.349e-05/0.1512, allocations: 31.98 kB / 475.7 MB, free: 9.215 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.836e-05/0.1513, allocations: 39.97 kB / 475.8 MB, free: 9.176 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.11e-07/0.1513, allocations: 4 kB / 475.8 MB, free: 9.172 MB / 350.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002157/0.1515, allocations: 121.4 kB / 475.9 MB, free: 9.047 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.703e-05/0.1515, allocations: 4 kB / 475.9 MB, free: 9.043 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.771e-06/0.1515, allocations: 0 / 475.9 MB, free: 9.043 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.958e-05/0.1516, allocations: 4 kB / 475.9 MB, free: 9.039 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000107/0.1517, allocations: 19.92 kB / 475.9 MB, free: 9.02 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.504e-06/0.1517, allocations: 4 kB / 475.9 MB, free: 9.016 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.447e-05/0.1517, allocations: 8 kB / 475.9 MB, free: 9.008 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.446e-06/0.1517, allocations: 432 / 475.9 MB, free: 9.008 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.0001279/0.1519, allocations: 133.8 kB / 476.1 MB, free: 8.867 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.013e-05/0.1519, allocations: 11.91 kB / 476.1 MB, free: 8.855 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002973/0.1522, allocations: 138.3 kB / 476.2 MB, free: 8.715 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.669e-06/0.1522, allocations: 3.984 kB / 476.2 MB, free: 8.711 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.939e-06/0.1523, allocations: 4 kB / 476.2 MB, free: 8.707 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.807e-06/0.1523, allocations: 0 / 476.2 MB, free: 8.707 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005504/0.1528, allocations: 427.6 kB / 476.6 MB, free: 8.23 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.933e-06/0.1528, allocations: 0 / 476.6 MB, free: 8.23 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.781e-05/0.1529, allocations: 27.95 kB / 476.7 MB, free: 8.203 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.484e-06/0.1529, allocations: 0 / 476.7 MB, free: 8.203 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.166e-06/0.1529, allocations: 0 / 476.7 MB, free: 8.203 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.553e-06/0.1529, allocations: 4.078 kB / 476.7 MB, free: 8.199 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.777e-06/0.1529, allocations: 7.984 kB / 476.7 MB, free: 8.191 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002839/0.1532, allocations: 245.9 kB / 476.9 MB, free: 7.926 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.401e-05/0.1533, allocations: 84.92 kB / 477 MB, free: 7.824 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.932e-05/0.1533, allocations: 4 kB / 477 MB, free: 7.82 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.177e-05/0.1534, allocations: 7.984 kB / 477 MB, free: 7.812 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.368e-05/0.1535, allocations: 15.94 kB / 477 MB, free: 7.797 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.263e-06/0.1535, allocations: 8 kB / 477 MB, free: 7.789 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001274/0.1536, allocations: 151.2 kB / 477.2 MB, free: 7.641 MB / 350.1 MB Notification: Performance of sort global known variables: time 4.31e-07/0.1536, allocations: 4 kB / 477.2 MB, free: 7.637 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000237/0.1539, allocations: 12 kB / 477.2 MB, free: 7.625 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.001046/0.1549, allocations: 457.1 kB / 477.7 MB, free: 7.355 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002401/0.1552, allocations: 87.88 kB / 477.7 MB, free: 7.27 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.255e-06/0.1552, allocations: 0 / 477.7 MB, free: 7.27 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001134/0.1553, allocations: 51.97 kB / 477.8 MB, free: 7.219 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00027/0.1556, allocations: 16 kB / 477.8 MB, free: 7.203 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004742/0.1561, allocations: 266.4 kB / 478.1 MB, free: 6.906 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003042/0.1564, allocations: 0.7121 MB / 478.8 MB, free: 6.168 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 6.641e-05/0.1565, allocations: 20.95 kB / 478.8 MB, free: 6.141 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.842e-05/0.1565, allocations: 15.44 kB / 478.8 MB, free: 6.129 MB / 350.1 MB Notification: Performance of SimCode: time 2.2e-07/0.1565, allocations: 0 / 478.8 MB, free: 6.129 MB / 350.1 MB Notification: Performance of Templates: time 0.003598/0.1601, allocations: 1.265 MB / 480.1 MB, free: 4.875 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test34.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test34.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test34.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test34.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test34.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test34 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test34.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test34_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test34/Test34.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test34.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches