Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test33.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.Test33,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.CombiTable1Dv.Test33") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test33,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.CombiTable1Dv.Test33") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007855/0.0007856, allocations: 91.17 kB / 17.35 MB, free: 6.031 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.0007966/0.0007967, allocations: 174.5 kB / 18.26 MB, free: 5.391 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.354/1.354, allocations: 223.3 MB / 242.3 MB, free: 176 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.1904/0.1904, allocations: 44.26 MB / 337.7 MB, free: 2.652 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004125/0.0004126, allocations: 11.98 kB / 410.3 MB, free: 27.3 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1282/0.1286, allocations: 61.92 MB / 472.3 MB, free: 13.35 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test33): time 0.001806/0.1305, allocations: 1.278 MB / 473.5 MB, free: 12.06 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001313/0.1318, allocations: 0.9921 MB / 474.5 MB, free: 11.06 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.689e-05/0.1319, allocations: 0 / 474.5 MB, free: 11.06 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001754/0.1321, allocations: 15.92 kB / 474.5 MB, free: 11.05 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000135/0.1322, allocations: 35.91 kB / 474.6 MB, free: 11.01 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000248/0.1325, allocations: 106.6 kB / 474.7 MB, free: 10.91 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001173/0.1326, allocations: 51.84 kB / 474.7 MB, free: 10.86 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.551e-05/0.1327, allocations: 19.97 kB / 474.8 MB, free: 10.84 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.829e-05/0.1327, allocations: 11.94 kB / 474.8 MB, free: 10.83 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001103/0.1328, allocations: 27.8 kB / 474.8 MB, free: 10.8 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.27e-05/0.1329, allocations: 0 / 474.8 MB, free: 10.8 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.135e-05/0.133, allocations: 51.95 kB / 474.8 MB, free: 10.75 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 3.931e-05/0.133, allocations: 15.94 kB / 474.9 MB, free: 10.73 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.157e-05/0.1331, allocations: 45.56 kB / 474.9 MB, free: 10.68 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001489/0.1332, allocations: 83.77 kB / 475 MB, free: 10.6 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.118e-06/0.1332, allocations: 0 / 475 MB, free: 10.6 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.743e-06/0.1332, allocations: 0 / 475 MB, free: 10.6 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.727e-06/0.1332, allocations: 0 / 475 MB, free: 10.6 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.0003934/0.1336, allocations: 371.6 kB / 475.3 MB, free: 10.19 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.452e-05/0.1337, allocations: 8.031 kB / 475.4 MB, free: 10.18 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.16e-05/0.1337, allocations: 4.938 kB / 475.4 MB, free: 10.18 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001587/0.1339, allocations: 192.2 kB / 475.5 MB, free: 9.953 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.175e-06/0.1339, allocations: 384 / 475.5 MB, free: 9.953 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.329e-05/0.1339, allocations: 8.375 kB / 475.6 MB, free: 9.945 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001419/0.1341, allocations: 67.45 kB / 475.6 MB, free: 9.867 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.576e-06/0.1341, allocations: 0 / 475.6 MB, free: 9.867 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.267e-06/0.1341, allocations: 4 kB / 475.6 MB, free: 9.863 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.651e-06/0.1341, allocations: 0 / 475.6 MB, free: 9.863 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.769e-05/0.1342, allocations: 31.98 kB / 475.7 MB, free: 9.832 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003637/0.1346, allocations: 292.7 kB / 475.9 MB, free: 9.496 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001785/0.1348, allocations: 46.56 kB / 476 MB, free: 9.441 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.341e-05/0.1348, allocations: 20.94 kB / 476 MB, free: 9.418 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.857e-05/0.1349, allocations: 4 kB / 476 MB, free: 9.414 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.046e-05/0.1349, allocations: 30.56 kB / 476 MB, free: 9.375 MB / 350.1 MB Notification: Performance of pre-optimization done (n=3): time 9.52e-07/0.1349, allocations: 0 / 476 MB, free: 9.375 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.000541/0.1355, allocations: 173.3 kB / 476.2 MB, free: 9.199 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.341e-05/0.1355, allocations: 81.11 kB / 476.3 MB, free: 9.102 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001364/0.1357, allocations: 133.8 kB / 476.4 MB, free: 8.961 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.397e-05/0.1357, allocations: 25.7 kB / 476.4 MB, free: 8.93 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.11e-05/0.1357, allocations: 92.14 kB / 476.5 MB, free: 8.836 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.434e-05/0.1358, allocations: 23.66 kB / 476.6 MB, free: 8.812 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.474e-05/0.1358, allocations: 13.7 kB / 476.6 MB, free: 8.793 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001019/0.1359, allocations: 326.7 kB / 476.9 MB, free: 8.465 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.129e-05/0.136, allocations: 19.98 kB / 476.9 MB, free: 8.445 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.919e-05/0.1361, allocations: 45.69 kB / 477 MB, free: 8.395 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001363/0.1362, allocations: 56.83 kB / 477 MB, free: 8.336 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.11e-07/0.1362, allocations: 0 / 477 MB, free: 8.336 MB / 350.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001853/0.1364, allocations: 93.7 kB / 477.1 MB, free: 8.238 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.239e-05/0.1364, allocations: 4 kB / 477.1 MB, free: 8.234 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.09e-06/0.1364, allocations: 3.984 kB / 477.1 MB, free: 8.23 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.688e-06/0.1364, allocations: 0 / 477.1 MB, free: 8.23 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.048e-05/0.1365, allocations: 15.94 kB / 477.1 MB, free: 8.215 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.008e-06/0.1365, allocations: 0 / 477.1 MB, free: 8.215 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.317e-05/0.1366, allocations: 7.984 kB / 477.1 MB, free: 8.207 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.32e-06/0.1366, allocations: 8 kB / 477.1 MB, free: 8.199 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 7.545e-05/0.1367, allocations: 118.3 kB / 477.3 MB, free: 8.074 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.04e-05/0.1367, allocations: 7.906 kB / 477.3 MB, free: 8.066 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000225/0.137, allocations: 101.6 kB / 477.4 MB, free: 7.961 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.943e-06/0.137, allocations: 4 kB / 477.4 MB, free: 7.957 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.548e-06/0.137, allocations: 0 / 477.4 MB, free: 7.957 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.375e-06/0.137, allocations: 0 / 477.4 MB, free: 7.957 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000423/0.1374, allocations: 366.3 kB / 477.7 MB, free: 7.543 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.252e-06/0.1374, allocations: 0 / 477.7 MB, free: 7.543 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.057e-05/0.1375, allocations: 20.36 kB / 477.7 MB, free: 7.523 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.465e-06/0.1375, allocations: 3.938 kB / 477.8 MB, free: 7.52 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.257e-06/0.1375, allocations: 0 / 477.8 MB, free: 7.52 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.714e-06/0.1376, allocations: 15.88 kB / 477.8 MB, free: 7.504 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.282e-06/0.1376, allocations: 0 / 477.8 MB, free: 7.504 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002575/0.1378, allocations: 191.5 kB / 478 MB, free: 7.301 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.485e-05/0.1379, allocations: 85.02 kB / 478 MB, free: 7.199 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.494e-05/0.1379, allocations: 0 / 478 MB, free: 7.199 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.306e-05/0.138, allocations: 15.92 kB / 478.1 MB, free: 7.184 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.509e-05/0.138, allocations: 4 kB / 478.1 MB, free: 7.18 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.787e-06/0.138, allocations: 0 / 478.1 MB, free: 7.18 MB / 350.1 MB Notification: Performance of sorting global known variables: time 8.23e-05/0.1381, allocations: 108 kB / 478.2 MB, free: 7.074 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.1381, allocations: 0 / 478.2 MB, free: 7.074 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000265/0.1384, allocations: 28 kB / 478.2 MB, free: 7.047 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.0009571/0.1394, allocations: 447.6 kB / 478.6 MB, free: 6.777 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002114/0.1396, allocations: 59.91 kB / 478.7 MB, free: 6.719 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/0.1396, allocations: 0 / 478.7 MB, free: 6.719 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 8.423e-05/0.1397, allocations: 39.97 kB / 478.7 MB, free: 6.68 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003196/0.14, allocations: 8 kB / 478.7 MB, free: 6.672 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003799/0.1404, allocations: 184.6 kB / 478.9 MB, free: 6.465 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002916/0.1407, allocations: 0.6848 MB / 479.6 MB, free: 5.754 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 7.101e-05/0.1408, allocations: 19.97 kB / 479.6 MB, free: 5.734 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.9e-05/0.1408, allocations: 15.44 kB / 479.6 MB, free: 5.719 MB / 350.1 MB Notification: Performance of SimCode: time 8.11e-07/0.1409, allocations: 0 / 479.6 MB, free: 5.719 MB / 350.1 MB Notification: Performance of Templates: time 0.003919/0.1448, allocations: 1.304 MB / 480.9 MB, free: 4.422 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test33.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test33.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test33.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test33.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test33.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test33 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test33.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test33_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test33/Test33.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test33.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches