Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test24.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTable1Ds.Test24,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test24") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test24,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test24") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001155/0.001154, allocations: 104.9 kB / 17.21 MB, free: 6.27 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001146/0.001146, allocations: 213.7 kB / 18.14 MB, free: 5.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.447/1.447, allocations: 227.4 MB / 246.3 MB, free: 10.84 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2787/0.2787, allocations: 46.11 MB / 343.6 MB, free: 11.82 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001569/0.001569, allocations: 78.03 kB / 416.9 MB, free: 20.23 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.133/0.1346, allocations: 62.45 MB / 479.3 MB, free: 5.754 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test24): time 0.004105/0.1387, allocations: 1.653 MB / 480.9 MB, free: 4.086 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002594/0.1414, allocations: 1.128 MB / 482.1 MB, free: 2.949 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001177/0.1415, allocations: 4 kB / 482.1 MB, free: 2.945 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003631/0.1419, allocations: 23.86 kB / 482.1 MB, free: 2.922 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004276/0.1424, allocations: 59.83 kB / 482.2 MB, free: 2.863 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003943/0.1428, allocations: 79.83 kB / 482.2 MB, free: 2.785 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002401/0.1431, allocations: 67.72 kB / 482.3 MB, free: 2.719 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001558/0.1433, allocations: 12 kB / 482.3 MB, free: 2.707 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.105e-05/0.1434, allocations: 27.91 kB / 482.3 MB, free: 2.68 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002181/0.1436, allocations: 31.8 kB / 482.4 MB, free: 2.648 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.152e-05/0.1436, allocations: 0 / 482.4 MB, free: 2.648 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002383/0.1439, allocations: 95.92 kB / 482.5 MB, free: 2.555 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.366e-05/0.144, allocations: 19.92 kB / 482.5 MB, free: 2.535 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.752e-05/0.144, allocations: 23.8 kB / 482.5 MB, free: 2.512 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003787/0.1444, allocations: 127.7 kB / 482.6 MB, free: 2.387 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.997e-06/0.1444, allocations: 7.938 kB / 482.6 MB, free: 2.379 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.064e-06/0.1444, allocations: 4 kB / 482.6 MB, free: 2.375 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.199e-05/0.1445, allocations: 0 / 482.6 MB, free: 2.375 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.0007375/0.1452, allocations: 399.5 kB / 483 MB, free: 1.938 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.436e-05/0.1453, allocations: 8.875 kB / 483 MB, free: 1.93 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.88e-05/0.1453, allocations: 4.938 kB / 483.1 MB, free: 1.926 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003031/0.1456, allocations: 200.1 kB / 483.2 MB, free: 1.691 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.124e-05/0.1457, allocations: 384 / 483.2 MB, free: 1.691 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.124e-05/0.1457, allocations: 8.359 kB / 483.3 MB, free: 1.684 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001969/0.1459, allocations: 71.47 kB / 483.3 MB, free: 1.602 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.346e-05/0.1459, allocations: 0 / 483.3 MB, free: 1.602 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.34e-05/0.146, allocations: 0 / 483.3 MB, free: 1.602 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.634e-06/0.146, allocations: 4 kB / 483.3 MB, free: 1.598 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001024/0.1461, allocations: 23.97 kB / 483.4 MB, free: 1.574 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004648/0.1465, allocations: 276.9 kB / 483.6 MB, free: 1.254 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002458/0.1468, allocations: 46.5 kB / 483.7 MB, free: 1.199 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.769e-05/0.1469, allocations: 16.88 kB / 483.7 MB, free: 1.18 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.108e-05/0.1469, allocations: 8 kB / 483.7 MB, free: 1.172 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.144e-05/0.147, allocations: 30.56 kB / 483.7 MB, free: 1.133 MB / 350.1 MB Notification: Performance of pre-optimization done (n=3): time 1.262e-06/0.147, allocations: 0 / 483.7 MB, free: 1.133 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.0006637/0.1476, allocations: 149.2 kB / 483.9 MB, free: 0.9805 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.85e-05/0.1477, allocations: 77.11 kB / 483.9 MB, free: 0.8867 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001673/0.1479, allocations: 141.8 kB / 484.1 MB, free: 0.7383 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.812e-05/0.1479, allocations: 25.7 kB / 484.1 MB, free: 0.707 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.147e-05/0.148, allocations: 92.14 kB / 484.2 MB, free: 0.6133 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.661e-05/0.148, allocations: 23.7 kB / 484.2 MB, free: 0.5898 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.949e-05/0.1481, allocations: 17.72 kB / 484.2 MB, free: 0.5664 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001339/0.1482, allocations: 322.8 kB / 484.6 MB, free: 248 kB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.984e-05/0.1483, allocations: 19.98 kB / 484.6 MB, free: 228 kB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.618e-05/0.1484, allocations: 33.64 kB / 484.6 MB, free: 188 kB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001356/0.1485, allocations: 48.83 kB / 484.7 MB, free: 136 kB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.062e-06/0.1486, allocations: 4.031 kB / 484.7 MB, free: 132 kB / 350.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002041/0.1488, allocations: 73.67 kB / 484.7 MB, free: 52 kB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.699e-05/0.1488, allocations: 7.938 kB / 484.7 MB, free: 44 kB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.101e-06/0.1488, allocations: 0 / 484.7 MB, free: 44 kB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.476e-05/0.1488, allocations: 0 / 484.7 MB, free: 44 kB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.926e-05/0.1489, allocations: 16.23 kB / 484.8 MB, free: 28 kB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.103e-06/0.1489, allocations: 0 / 484.8 MB, free: 28 kB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.161e-05/0.149, allocations: 11.98 kB / 484.8 MB, free: 16 kB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.869e-06/0.149, allocations: 3.938 kB / 484.8 MB, free: 12 kB / 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.0001138/0.1491, allocations: 121.8 kB / 484.9 MB, free: 15.88 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.774e-05/0.1492, allocations: 7.906 kB / 484.9 MB, free: 15.88 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002426/0.1494, allocations: 89.97 kB / 485 MB, free: 15.78 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.735e-06/0.1494, allocations: 0 / 485 MB, free: 15.78 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.469e-06/0.1494, allocations: 0 / 485 MB, free: 15.78 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.507e-06/0.1494, allocations: 0 / 485 MB, free: 15.78 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004443/0.1499, allocations: 366.3 kB / 485.3 MB, free: 15.37 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.595e-06/0.1499, allocations: 0 / 485.3 MB, free: 15.37 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.83e-05/0.15, allocations: 12 kB / 485.4 MB, free: 15.36 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.315e-06/0.15, allocations: 0 / 485.4 MB, free: 15.36 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.164e-05/0.15, allocations: 3.984 kB / 485.4 MB, free: 15.35 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.19e-06/0.15, allocations: 7.875 kB / 485.4 MB, free: 15.34 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.243e-06/0.15, allocations: 0 / 485.4 MB, free: 15.34 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002387/0.1502, allocations: 179.4 kB / 485.5 MB, free: 15.15 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.439e-05/0.1503, allocations: 89.09 kB / 485.6 MB, free: 15.05 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.077e-05/0.1503, allocations: 0 / 485.6 MB, free: 15.05 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.603e-05/0.1504, allocations: 7.938 kB / 485.6 MB, free: 15.04 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.452e-05/0.1504, allocations: 0 / 485.6 MB, free: 15.04 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.281e-06/0.1505, allocations: 8.266 kB / 485.6 MB, free: 15.03 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.000108/0.1506, allocations: 113.5 kB / 485.8 MB, free: 14.92 MB / 366.1 MB Notification: Performance of sort global known variables: time 2.7e-07/0.1506, allocations: 4 kB / 485.8 MB, free: 14.92 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003035/0.1509, allocations: 35.98 kB / 485.8 MB, free: 14.88 MB / 366.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.001163/0.1521, allocations: 0.5054 MB / 486.3 MB, free: 14.54 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002298/0.1523, allocations: 43.97 kB / 486.3 MB, free: 14.5 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.886e-06/0.1523, allocations: 0 / 486.3 MB, free: 14.5 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 8.728e-05/0.1524, allocations: 27.92 kB / 486.4 MB, free: 14.47 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003565/0.1528, allocations: 15.98 kB / 486.4 MB, free: 14.45 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005798/0.1534, allocations: 179.2 kB / 486.6 MB, free: 14.25 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003826/0.1538, allocations: 0.6926 MB / 487.3 MB, free: 13.53 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 9.561e-05/0.1539, allocations: 15.97 kB / 487.3 MB, free: 13.52 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.088e-05/0.1539, allocations: 19.42 kB / 487.3 MB, free: 13.5 MB / 366.1 MB Notification: Performance of SimCode: time 2.2e-07/0.1539, allocations: 0 / 487.3 MB, free: 13.5 MB / 366.1 MB Notification: Performance of Templates: time 0.005195/0.1591, allocations: 1.716 MB / 489 MB, free: 11.79 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test24.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test24.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test24.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test24.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test24.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test24 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test24.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test24_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test24/Test24.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test24.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches