Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test30.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.CombiTable2Dv.Test30,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test30") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test30,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test30") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001325/0.001325, allocations: 109.4 kB / 17.98 MB, free: 5.398 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001302/0.001302, allocations: 201.8 kB / 18.92 MB, free: 4.469 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.454/1.454, allocations: 227.4 MB / 247.1 MB, free: 10.68 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2409/0.2409, allocations: 46.12 MB / 344.5 MB, free: 11.72 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002298/0.002298, allocations: 79.78 kB / 417.8 MB, free: 20.05 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1314/0.1337, allocations: 62.45 MB / 480.2 MB, free: 5.574 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test30): time 0.003338/0.1371, allocations: 1.736 MB / 482 MB, free: 3.82 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00106/0.1382, allocations: 0.5728 MB / 482.5 MB, free: 3.242 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.22e-05/0.1382, allocations: 0 / 482.5 MB, free: 3.242 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002921/0.1385, allocations: 79.83 kB / 482.6 MB, free: 3.164 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000286/0.1388, allocations: 87.73 kB / 482.7 MB, free: 3.078 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004274/0.1393, allocations: 163.5 kB / 482.9 MB, free: 2.922 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000194/0.1395, allocations: 91.75 kB / 482.9 MB, free: 2.832 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001244/0.1396, allocations: 32.2 kB / 483 MB, free: 2.797 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.335e-05/0.1397, allocations: 35.84 kB / 483 MB, free: 2.762 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000109/0.1398, allocations: 59.81 kB / 483.1 MB, free: 2.703 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.563e-05/0.1398, allocations: 4 kB / 483.1 MB, free: 2.699 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001066/0.1399, allocations: 51.92 kB / 483.1 MB, free: 2.648 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.337e-05/0.14, allocations: 27.92 kB / 483.2 MB, free: 2.621 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.159e-05/0.1401, allocations: 43.66 kB / 483.2 MB, free: 2.578 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001574/0.1402, allocations: 83.88 kB / 483.3 MB, free: 2.496 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.1e-06/0.1403, allocations: 8 kB / 483.3 MB, free: 2.488 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.132e-06/0.1403, allocations: 0 / 483.3 MB, free: 2.488 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.711e-06/0.1403, allocations: 0 / 483.3 MB, free: 2.488 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.000553/0.1408, allocations: 427.2 kB / 483.7 MB, free: 2.023 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.657e-05/0.1409, allocations: 8.031 kB / 483.7 MB, free: 2.016 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.067e-05/0.1409, allocations: 12.84 kB / 483.7 MB, free: 2.004 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002127/0.1411, allocations: 204 kB / 483.9 MB, free: 1.766 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.928e-06/0.1412, allocations: 384 / 483.9 MB, free: 1.766 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.77e-05/0.1412, allocations: 4.375 kB / 483.9 MB, free: 1.762 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001919/0.1414, allocations: 81.72 kB / 484 MB, free: 1.676 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.375e-05/0.1414, allocations: 0 / 484 MB, free: 1.676 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.317e-06/0.1414, allocations: 3.938 kB / 484 MB, free: 1.672 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.787e-06/0.1414, allocations: 0 / 484 MB, free: 1.672 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000144/0.1416, allocations: 51.89 kB / 484.1 MB, free: 1.621 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004732/0.1421, allocations: 324.7 kB / 484.4 MB, free: 1.254 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002433/0.1423, allocations: 58.64 kB / 484.4 MB, free: 1.188 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.654e-05/0.1424, allocations: 32.91 kB / 484.5 MB, free: 1.152 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.001e-05/0.1424, allocations: 0 / 484.5 MB, free: 1.152 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.456e-05/0.1425, allocations: 34.56 kB / 484.5 MB, free: 1.109 MB / 350.1 MB Notification: Performance of pre-optimization done (n=5): time 7.42e-07/0.1425, allocations: 0 / 484.5 MB, free: 1.109 MB / 350.1 MB Notification: Performance of matching and sorting (n=11): time 0.001462/0.1439, allocations: 429.1 kB / 484.9 MB, free: 0.6836 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.423e-05/0.144, allocations: 55.34 kB / 485 MB, free: 0.6172 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002272/0.1442, allocations: 216.1 kB / 485.2 MB, free: 408 kB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.002e-05/0.1443, allocations: 29.7 kB / 485.2 MB, free: 372 kB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.401e-05/0.1443, allocations: 104.1 kB / 485.3 MB, free: 264 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.79e-05/0.1444, allocations: 35.45 kB / 485.3 MB, free: 228 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.206e-05/0.1444, allocations: 29.7 kB / 485.4 MB, free: 192 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001629/0.1446, allocations: 322.8 kB / 485.7 MB, free: 15.86 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001432/0.1447, allocations: 51.95 kB / 485.7 MB, free: 15.81 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001311/0.1449, allocations: 63.95 kB / 485.8 MB, free: 15.75 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002726/0.1452, allocations: 124.9 kB / 485.9 MB, free: 15.62 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.52e-07/0.1452, allocations: 0 / 485.9 MB, free: 15.62 MB / 366.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003464/0.1455, allocations: 165.4 kB / 486.1 MB, free: 15.46 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.755e-05/0.1456, allocations: 4 kB / 486.1 MB, free: 15.45 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.15e-06/0.1456, allocations: 8 kB / 486.1 MB, free: 15.45 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.614e-05/0.1456, allocations: 0 / 486.1 MB, free: 15.45 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001193/0.1457, allocations: 39.78 kB / 486.1 MB, free: 15.41 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.591e-06/0.1457, allocations: 0 / 486.1 MB, free: 15.41 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.414e-05/0.1458, allocations: 15.98 kB / 486.2 MB, free: 15.39 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.067e-06/0.1458, allocations: 0 / 486.2 MB, free: 15.39 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 (11): * Single equations (assignments): 11 * 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.0001304/0.146, allocations: 133.8 kB / 486.3 MB, free: 15.25 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.788e-05/0.146, allocations: 11.81 kB / 486.3 MB, free: 15.24 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000431/0.1464, allocations: 190.9 kB / 486.5 MB, free: 15.05 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.146e-06/0.1465, allocations: 11.92 kB / 486.5 MB, free: 15.04 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.623e-06/0.1465, allocations: 0 / 486.5 MB, free: 15.04 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.36e-06/0.1465, allocations: 7.922 kB / 486.5 MB, free: 15.03 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007616/0.1472, allocations: 0.5 MB / 487 MB, free: 14.46 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.843e-06/0.1473, allocations: 0 / 487 MB, free: 14.46 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001094/0.1474, allocations: 31.91 kB / 487 MB, free: 14.43 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.805e-06/0.1474, allocations: 0 / 487 MB, free: 14.43 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.899e-05/0.1474, allocations: 4 kB / 487 MB, free: 14.43 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.623e-06/0.1474, allocations: 3.938 kB / 487 MB, free: 14.43 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.1474, allocations: 4.062 kB / 487 MB, free: 14.42 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003956/0.1478, allocations: 276.9 kB / 487.3 MB, free: 14.13 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.397e-05/0.1479, allocations: 81.2 kB / 487.4 MB, free: 14.03 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.584e-05/0.1479, allocations: 16 kB / 487.4 MB, free: 14.02 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.173e-05/0.148, allocations: 7.984 kB / 487.4 MB, free: 14.01 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.401e-05/0.1481, allocations: 15.98 kB / 487.4 MB, free: 13.99 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.983e-06/0.1481, allocations: 0 / 487.4 MB, free: 13.99 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001509/0.1483, allocations: 163.5 kB / 487.6 MB, free: 13.83 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1483, allocations: 0 / 487.6 MB, free: 13.83 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002604/0.1485, allocations: 28 kB / 487.6 MB, free: 13.8 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (11): * Single equations (assignments): 11 * 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.001702/0.1503, allocations: 462.1 kB / 488.1 MB, free: 13.52 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0003595/0.1506, allocations: 135.8 kB / 488.2 MB, free: 13.38 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.1506, allocations: 0 / 488.2 MB, free: 13.38 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001557/0.1508, allocations: 71.89 kB / 488.3 MB, free: 13.31 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003935/0.1512, allocations: 23.83 kB / 488.3 MB, free: 13.29 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007235/0.1519, allocations: 394 kB / 488.7 MB, free: 12.87 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003693/0.1523, allocations: 0.7197 MB / 489.4 MB, free: 12.12 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.969e-05/0.1524, allocations: 15.44 kB / 489.4 MB, free: 12.11 MB / 366.1 MB Notification: Performance of SimCode: time 2.21e-07/0.1524, allocations: 0 / 489.4 MB, free: 12.11 MB / 366.1 MB Notification: Performance of Templates: time 0.004254/0.1566, allocations: 2.114 MB / 491.5 MB, free: 9.988 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test30.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test30.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test30.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test30.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test30.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test30 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test30.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test30_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test30/Test30.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test30.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches