Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test23.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.CombiTable1Dv.Test23,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test23") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test23,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test23") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001638/0.001638, allocations: 109.8 kB / 18.3 MB, free: 4.84 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001723/0.001724, allocations: 207.9 kB / 19.25 MB, free: 3.898 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.455/1.455, allocations: 227.4 MB / 247.5 MB, free: 10.56 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2269/0.2269, allocations: 46.12 MB / 344.8 MB, free: 11.53 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002249/0.002249, allocations: 73.97 kB / 418.3 MB, free: 19.67 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1165/0.1188, allocations: 62.46 MB / 480.8 MB, free: 5.191 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test23): time 0.003225/0.1221, allocations: 1.581 MB / 482.4 MB, free: 3.598 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001799/0.1239, allocations: 1.171 MB / 483.5 MB, free: 2.418 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.346e-05/0.124, allocations: 4 kB / 483.5 MB, free: 2.414 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002446/0.1242, allocations: 19.84 kB / 483.5 MB, free: 2.395 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003159/0.1246, allocations: 83.62 kB / 483.6 MB, free: 2.312 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003184/0.1249, allocations: 111.7 kB / 483.7 MB, free: 2.203 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001533/0.1251, allocations: 63.89 kB / 483.8 MB, free: 2.141 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001088/0.1252, allocations: 20 kB / 483.8 MB, free: 2.121 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.493e-05/0.1253, allocations: 27.8 kB / 483.8 MB, free: 2.094 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001879/0.1255, allocations: 39.83 kB / 483.9 MB, free: 2.055 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.082e-05/0.1255, allocations: 4 kB / 483.9 MB, free: 2.051 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001765/0.1257, allocations: 91.94 kB / 484 MB, free: 1.961 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.14e-05/0.1257, allocations: 11.94 kB / 484 MB, free: 1.949 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.007e-05/0.1258, allocations: 27.8 kB / 484 MB, free: 1.922 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000251/0.126, allocations: 135.7 kB / 484.2 MB, free: 1.789 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.962e-06/0.1261, allocations: 3.984 kB / 484.2 MB, free: 1.785 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.102e-06/0.1261, allocations: 4 kB / 484.2 MB, free: 1.781 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.117e-06/0.1261, allocations: 0 / 484.2 MB, free: 1.781 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.0005593/0.1266, allocations: 399.4 kB / 484.5 MB, free: 1.344 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.319e-05/0.1267, allocations: 8.031 kB / 484.6 MB, free: 1.336 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.168e-05/0.1267, allocations: 4.938 kB / 484.6 MB, free: 1.332 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002306/0.127, allocations: 200 kB / 484.8 MB, free: 1.098 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.038e-05/0.127, allocations: 384 / 484.8 MB, free: 1.098 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.138e-05/0.127, allocations: 384 / 484.8 MB, free: 1.098 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001697/0.1272, allocations: 83.45 kB / 484.8 MB, free: 1.004 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.095e-05/0.1272, allocations: 0 / 484.8 MB, free: 1.004 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.055e-05/0.1272, allocations: 0 / 484.8 MB, free: 1.004 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.889e-06/0.1272, allocations: 0 / 484.8 MB, free: 1.004 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.309e-05/0.1273, allocations: 19.98 kB / 484.9 MB, free: 0.9844 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004396/0.1278, allocations: 292.8 kB / 485.1 MB, free: 0.6484 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000222/0.128, allocations: 50.55 kB / 485.2 MB, free: 0.5898 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.855e-05/0.1281, allocations: 16.86 kB / 485.2 MB, free: 0.5703 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.742e-05/0.1281, allocations: 0 / 485.2 MB, free: 0.5703 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.67e-05/0.1282, allocations: 30.56 kB / 485.2 MB, free: 0.5312 MB / 350.1 MB Notification: Performance of pre-optimization done (n=3): time 9.02e-07/0.1282, allocations: 0 / 485.2 MB, free: 0.5312 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.0006145/0.1288, allocations: 157.3 kB / 485.4 MB, free: 380 kB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.785e-05/0.1289, allocations: 81.11 kB / 485.5 MB, free: 280 kB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001562/0.129, allocations: 148.2 kB / 485.6 MB, free: 124 kB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.917e-05/0.1291, allocations: 25.7 kB / 485.6 MB, free: 92 kB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.355e-05/0.1291, allocations: 96.16 kB / 485.7 MB, free: 15.99 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.64e-05/0.1292, allocations: 15.7 kB / 485.8 MB, free: 15.97 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.189e-05/0.1292, allocations: 21.72 kB / 485.8 MB, free: 15.95 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.000158/0.1294, allocations: 326.8 kB / 486.1 MB, free: 15.62 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.878e-05/0.1295, allocations: 23.92 kB / 486.1 MB, free: 15.59 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.723e-05/0.1296, allocations: 33.7 kB / 486.1 MB, free: 15.55 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001438/0.1297, allocations: 48.83 kB / 486.2 MB, free: 15.5 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.91e-07/0.1297, allocations: 0 / 486.2 MB, free: 15.5 MB / 366.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002008/0.1299, allocations: 89.69 kB / 486.3 MB, free: 15.41 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.421e-05/0.13, allocations: 4 kB / 486.3 MB, free: 15.41 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.45e-06/0.13, allocations: 0 / 486.3 MB, free: 15.41 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.392e-05/0.13, allocations: 0 / 486.3 MB, free: 15.41 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.168e-05/0.1301, allocations: 19.92 kB / 486.3 MB, free: 15.39 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.655e-06/0.1301, allocations: 3.984 kB / 486.3 MB, free: 15.38 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.801e-05/0.1301, allocations: 4 kB / 486.3 MB, free: 15.38 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.949e-06/0.1302, allocations: 8.172 kB / 486.3 MB, free: 15.37 MB / 366.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 9.77e-05/0.1303, allocations: 117.8 kB / 486.4 MB, free: 15.25 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.829e-05/0.1303, allocations: 8.188 kB / 486.4 MB, free: 15.24 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002593/0.1306, allocations: 102 kB / 486.5 MB, free: 15.13 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.588e-06/0.1306, allocations: 3.984 kB / 486.5 MB, free: 15.13 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.927e-06/0.1306, allocations: 0 / 486.5 MB, free: 15.13 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.625e-06/0.1306, allocations: 0 / 486.5 MB, free: 15.13 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004806/0.1311, allocations: 370.3 kB / 486.9 MB, free: 14.71 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.1311, allocations: 0 / 486.9 MB, free: 14.71 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.698e-05/0.1312, allocations: 12 kB / 486.9 MB, free: 14.7 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.044e-06/0.1312, allocations: 0 / 486.9 MB, free: 14.7 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.908e-06/0.1312, allocations: 3.984 kB / 486.9 MB, free: 14.7 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.005e-06/0.1312, allocations: 7.875 kB / 486.9 MB, free: 14.69 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.193e-06/0.1312, allocations: 0 / 486.9 MB, free: 14.69 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002611/0.1315, allocations: 191.4 kB / 487.1 MB, free: 14.48 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.486e-05/0.1315, allocations: 81.11 kB / 487.2 MB, free: 14.39 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.034e-05/0.1316, allocations: 0 / 487.2 MB, free: 14.39 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.689e-05/0.1316, allocations: 7.938 kB / 487.2 MB, free: 14.38 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.569e-05/0.1317, allocations: 3.984 kB / 487.2 MB, free: 14.38 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.288e-06/0.1317, allocations: 4 kB / 487.2 MB, free: 14.37 MB / 366.1 MB Notification: Performance of sorting global known variables: time 9.793e-05/0.1318, allocations: 113.2 kB / 487.3 MB, free: 14.26 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.1318, allocations: 4 kB / 487.3 MB, free: 14.26 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002977/0.1321, allocations: 47.98 kB / 487.4 MB, free: 14.21 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.001743/0.1339, allocations: 486.3 kB / 487.9 MB, free: 13.9 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002411/0.1341, allocations: 55.91 kB / 487.9 MB, free: 13.84 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.455e-06/0.1341, allocations: 3.938 kB / 487.9 MB, free: 13.84 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 8.656e-05/0.1342, allocations: 31.97 kB / 487.9 MB, free: 13.81 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003807/0.1346, allocations: 22.11 kB / 488 MB, free: 13.79 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004843/0.1351, allocations: 203 kB / 488.2 MB, free: 13.56 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003241/0.1354, allocations: 0.6924 MB / 488.9 MB, free: 12.84 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.185e-05/0.1355, allocations: 19.42 kB / 488.9 MB, free: 12.82 MB / 366.1 MB Notification: Performance of SimCode: time 3.11e-07/0.1355, allocations: 4 kB / 488.9 MB, free: 12.82 MB / 366.1 MB Notification: Performance of Templates: time 0.004135/0.1397, allocations: 1.957 MB / 490.8 MB, free: 10.86 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test23.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test23.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test23.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test23.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test23.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test23 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test23.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test23_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test23/Test23.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test23.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches