Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test20.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.Test20,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.Test20") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test20,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.Test20") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00102/0.00102, allocations: 92.2 kB / 17 MB, free: 6.535 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.001421/0.001421, allocations: 186.2 kB / 17.89 MB, free: 5.941 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.54/1.54, allocations: 223.2 MB / 241.9 MB, free: 220 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.2357/0.2357, allocations: 44.26 MB / 337.3 MB, free: 2.742 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003094/0.0003094, allocations: 12 kB / 409.7 MB, free: 27.65 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1408/0.1412, allocations: 61.93 MB / 471.6 MB, free: 13.69 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test20): time 0.002132/0.1434, allocations: 1.262 MB / 472.9 MB, free: 12.41 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001364/0.1447, allocations: 0.9571 MB / 473.8 MB, free: 11.45 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.982e-05/0.1448, allocations: 3.938 kB / 473.8 MB, free: 11.45 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001937/0.145, allocations: 19.92 kB / 473.8 MB, free: 11.43 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000147/0.1452, allocations: 31.91 kB / 473.9 MB, free: 11.39 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003029/0.1455, allocations: 99.81 kB / 474 MB, free: 11.3 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001255/0.1456, allocations: 43.84 kB / 474 MB, free: 11.25 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.95e-05/0.1457, allocations: 15.98 kB / 474 MB, free: 11.24 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.889e-05/0.1458, allocations: 11.94 kB / 474 MB, free: 11.23 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001383/0.1459, allocations: 27.84 kB / 474.1 MB, free: 11.2 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.54e-05/0.1459, allocations: 0 / 474.1 MB, free: 11.2 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.936e-05/0.146, allocations: 43.98 kB / 474.1 MB, free: 11.16 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.253e-05/0.1461, allocations: 15.91 kB / 474.1 MB, free: 11.14 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.064e-05/0.1461, allocations: 33.7 kB / 474.2 MB, free: 11.1 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001562/0.1463, allocations: 55.91 kB / 474.2 MB, free: 11.05 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.681e-06/0.1463, allocations: 0 / 474.2 MB, free: 11.05 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.074e-06/0.1463, allocations: 0 / 474.2 MB, free: 11.05 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.602e-06/0.1463, allocations: 0 / 474.2 MB, free: 11.05 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.0005173/0.1468, allocations: 383.3 kB / 474.6 MB, free: 10.62 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.533e-05/0.1469, allocations: 8.562 kB / 474.6 MB, free: 10.62 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.325e-05/0.1469, allocations: 8 kB / 474.6 MB, free: 10.61 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002033/0.1471, allocations: 182.9 kB / 474.8 MB, free: 10.39 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.012e-05/0.1472, allocations: 0 / 474.8 MB, free: 10.39 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.653e-05/0.1472, allocations: 7.953 kB / 474.8 MB, free: 10.38 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001626/0.1474, allocations: 63.39 kB / 474.8 MB, free: 10.31 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.012e-05/0.1474, allocations: 0 / 474.8 MB, free: 10.31 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.33e-05/0.1474, allocations: 4 kB / 474.9 MB, free: 10.3 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.971e-06/0.1474, allocations: 4 kB / 474.9 MB, free: 10.3 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001027/0.1475, allocations: 27.92 kB / 474.9 MB, free: 10.27 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003923/0.1479, allocations: 280.9 kB / 475.2 MB, free: 9.949 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001929/0.1481, allocations: 50.55 kB / 475.2 MB, free: 9.891 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.437e-05/0.1482, allocations: 20.94 kB / 475.2 MB, free: 9.867 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.228e-05/0.1482, allocations: 7.922 kB / 475.2 MB, free: 9.859 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.339e-05/0.1483, allocations: 34.56 kB / 475.3 MB, free: 9.816 MB / 350.1 MB Notification: Performance of pre-optimization done (n=3): time 1.213e-06/0.1483, allocations: 0 / 475.3 MB, free: 9.816 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005408/0.1488, allocations: 169.2 kB / 475.4 MB, free: 9.645 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.995e-05/0.1489, allocations: 81.09 kB / 475.5 MB, free: 9.547 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001423/0.149, allocations: 137.2 kB / 475.6 MB, free: 9.406 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.507e-05/0.149, allocations: 29.7 kB / 475.7 MB, free: 9.371 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.034e-05/0.1491, allocations: 92.12 kB / 475.8 MB, free: 9.277 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.989e-05/0.1491, allocations: 15.75 kB / 475.8 MB, free: 9.262 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.627e-06/0.1491, allocations: 0 / 475.8 MB, free: 9.262 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001562/0.1493, allocations: 326.8 kB / 476.1 MB, free: 8.934 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.04e-05/0.1494, allocations: 23.98 kB / 476.1 MB, free: 8.91 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.997e-05/0.1494, allocations: 41.64 kB / 476.2 MB, free: 8.863 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.393e-05/0.1495, allocations: 31.97 kB / 476.2 MB, free: 8.832 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.81e-07/0.1495, allocations: 0 / 476.2 MB, free: 8.832 MB / 350.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001748/0.1497, allocations: 97.55 kB / 476.3 MB, free: 8.73 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.405e-05/0.1497, allocations: 4 kB / 476.3 MB, free: 8.727 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.009e-06/0.1498, allocations: 0 / 476.3 MB, free: 8.727 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.378e-06/0.1498, allocations: 0 / 476.3 MB, free: 8.727 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.146e-05/0.1498, allocations: 19.98 kB / 476.3 MB, free: 8.707 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.402e-06/0.1499, allocations: 0 / 476.3 MB, free: 8.707 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.8e-05/0.1499, allocations: 4 kB / 476.3 MB, free: 8.703 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.035e-06/0.1499, allocations: 4 kB / 476.3 MB, free: 8.699 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.49e-05/0.15, allocations: 125.8 kB / 476.4 MB, free: 8.566 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.973e-05/0.15, allocations: 7.906 kB / 476.5 MB, free: 8.559 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002251/0.1503, allocations: 101.6 kB / 476.6 MB, free: 8.453 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.944e-06/0.1503, allocations: 0 / 476.6 MB, free: 8.453 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.439e-06/0.1503, allocations: 4 kB / 476.6 MB, free: 8.449 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.388e-06/0.1503, allocations: 3.984 kB / 476.6 MB, free: 8.445 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003928/0.1507, allocations: 358.5 kB / 476.9 MB, free: 8.039 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.362e-06/0.1507, allocations: 0 / 476.9 MB, free: 8.039 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.335e-05/0.1508, allocations: 12 kB / 476.9 MB, free: 8.027 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.833e-06/0.1508, allocations: 4 kB / 476.9 MB, free: 8.023 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.985e-06/0.1508, allocations: 384 / 476.9 MB, free: 8.023 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.202e-06/0.1508, allocations: 0 / 476.9 MB, free: 8.023 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.775e-06/0.1508, allocations: 3.938 kB / 476.9 MB, free: 8.02 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002238/0.151, allocations: 203.4 kB / 477.1 MB, free: 7.805 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.793e-05/0.1511, allocations: 85 kB / 477.2 MB, free: 7.703 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.779e-05/0.1511, allocations: 4 kB / 477.2 MB, free: 7.699 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.432e-05/0.1512, allocations: 4 kB / 477.2 MB, free: 7.695 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.606e-05/0.1512, allocations: 7.984 kB / 477.2 MB, free: 7.688 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.228e-06/0.1512, allocations: 4 kB / 477.2 MB, free: 7.684 MB / 350.1 MB Notification: Performance of sorting global known variables: time 6.874e-05/0.1513, allocations: 99.27 kB / 477.3 MB, free: 7.586 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1513, allocations: 4 kB / 477.3 MB, free: 7.582 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002592/0.1516, allocations: 19.98 kB / 477.4 MB, free: 7.562 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 (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.001102/0.1527, allocations: 463.5 kB / 477.8 MB, free: 7.273 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002258/0.1529, allocations: 63.91 kB / 477.9 MB, free: 7.211 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.1529, allocations: 0 / 477.9 MB, free: 7.211 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 7.992e-05/0.153, allocations: 27.98 kB / 477.9 MB, free: 7.184 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003243/0.1534, allocations: 19.94 kB / 477.9 MB, free: 7.164 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004296/0.1538, allocations: 168.9 kB / 478.1 MB, free: 6.973 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004062/0.1542, allocations: 0.6965 MB / 478.8 MB, free: 6.25 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 7.8e-05/0.1543, allocations: 15.92 kB / 478.8 MB, free: 6.234 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.961e-05/0.1543, allocations: 19.42 kB / 478.8 MB, free: 6.215 MB / 350.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1544, allocations: 4 kB / 478.8 MB, free: 6.211 MB / 350.1 MB Notification: Performance of Templates: time 0.00397/0.1583, allocations: 1.285 MB / 480.1 MB, free: 4.938 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test20.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test20.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test20.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test20.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test20.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test20 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test20.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test20_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test20/Test20.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test20.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches