Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test2.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.Test2,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.Test2") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test2,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.Test2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008588/0.0008587, allocations: 93.05 kB / 17.35 MB, free: 6.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009057/0.0009058, allocations: 201.9 kB / 18.28 MB, free: 5.477 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.419/1.419, allocations: 227.7 MB / 246.8 MB, free: 11.31 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.222/0.222, allocations: 46.19 MB / 345.2 MB, free: 11.48 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002815/0.0002815, allocations: 11.94 kB / 419.5 MB, free: 19.77 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1448/0.1451, allocations: 63.57 MB / 483.1 MB, free: 4.18 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test2): time 0.002298/0.1475, allocations: 1.31 MB / 484.4 MB, free: 2.859 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001023/0.1485, allocations: 0.5224 MB / 484.9 MB, free: 2.332 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.52e-05/0.1486, allocations: 0 / 484.9 MB, free: 2.332 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002195/0.1488, allocations: 23.92 kB / 484.9 MB, free: 2.309 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002222/0.1491, allocations: 59.75 kB / 485 MB, free: 2.25 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000283/0.1494, allocations: 103.8 kB / 485.1 MB, free: 2.148 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001443/0.1495, allocations: 55.91 kB / 485.1 MB, free: 2.094 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001069/0.1496, allocations: 11.94 kB / 485.2 MB, free: 2.082 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.132e-05/0.1497, allocations: 23.86 kB / 485.2 MB, free: 2.059 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.271e-05/0.1498, allocations: 19.86 kB / 485.2 MB, free: 2.039 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.302e-05/0.1498, allocations: 0 / 485.2 MB, free: 2.039 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.135e-05/0.1499, allocations: 35.98 kB / 485.2 MB, free: 2.004 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.877e-05/0.1499, allocations: 11.98 kB / 485.2 MB, free: 1.992 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.848e-05/0.15, allocations: 45.52 kB / 485.3 MB, free: 1.941 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001603/0.1501, allocations: 79.77 kB / 485.4 MB, free: 1.863 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.114e-06/0.1502, allocations: 0 / 485.4 MB, free: 1.863 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.603e-06/0.1502, allocations: 3.938 kB / 485.4 MB, free: 1.859 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.268e-06/0.1502, allocations: 0 / 485.4 MB, free: 1.859 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.0005242/0.1507, allocations: 375.5 kB / 485.7 MB, free: 1.445 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.327e-05/0.1508, allocations: 12.88 kB / 485.8 MB, free: 1.434 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.994e-05/0.1508, allocations: 12.84 kB / 485.8 MB, free: 1.422 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002004/0.151, allocations: 188.2 kB / 486 MB, free: 1.199 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.008e-05/0.151, allocations: 384 / 486 MB, free: 1.199 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.309e-05/0.1511, allocations: 4.375 kB / 486 MB, free: 1.195 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001548/0.1512, allocations: 57.8 kB / 486 MB, free: 1.133 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.108e-05/0.1512, allocations: 0 / 486 MB, free: 1.133 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.748e-06/0.1513, allocations: 0 / 486 MB, free: 1.133 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.372e-06/0.1513, allocations: 0 / 486 MB, free: 1.133 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001166/0.1514, allocations: 35.92 kB / 486 MB, free: 1.098 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004409/0.1518, allocations: 284.9 kB / 486.3 MB, free: 0.7695 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002209/0.1521, allocations: 42.56 kB / 486.4 MB, free: 0.7188 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.21e-05/0.1521, allocations: 24.94 kB / 486.4 MB, free: 0.6914 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.183e-05/0.1522, allocations: 3.938 kB / 486.4 MB, free: 0.6875 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.465e-05/0.1522, allocations: 38.5 kB / 486.4 MB, free: 0.6406 MB / 350.1 MB Notification: Performance of pre-optimization done (n=3): time 1.052e-06/0.1522, allocations: 0 / 486.4 MB, free: 0.6406 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.0006693/0.1529, allocations: 173.2 kB / 486.6 MB, free: 476 kB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.467e-05/0.153, allocations: 51.41 kB / 486.7 MB, free: 412 kB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001489/0.1531, allocations: 154.1 kB / 486.8 MB, free: 244 kB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.676e-05/0.1531, allocations: 25.7 kB / 486.8 MB, free: 212 kB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.518e-05/0.1532, allocations: 96.14 kB / 486.9 MB, free: 112 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.53e-05/0.1532, allocations: 15.7 kB / 486.9 MB, free: 96 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.648e-05/0.1533, allocations: 17.72 kB / 487 MB, free: 72 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001592/0.1534, allocations: 322.8 kB / 487.3 MB, free: 15.75 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.463e-05/0.1535, allocations: 23.98 kB / 487.3 MB, free: 15.72 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.719e-05/0.1536, allocations: 23.98 kB / 487.3 MB, free: 15.7 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001456/0.1538, allocations: 65.02 kB / 487.4 MB, free: 15.63 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.042e-06/0.1538, allocations: 0 / 487.4 MB, free: 15.63 MB / 366.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001942/0.154, allocations: 101.5 kB / 487.5 MB, free: 15.53 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.854e-05/0.154, allocations: 4 kB / 487.5 MB, free: 15.52 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.302e-06/0.154, allocations: 7.938 kB / 487.5 MB, free: 15.52 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.201e-05/0.154, allocations: 0 / 487.5 MB, free: 15.52 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.671e-05/0.1541, allocations: 19.98 kB / 487.5 MB, free: 15.5 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.931e-06/0.1541, allocations: 0 / 487.5 MB, free: 15.5 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.241e-05/0.1542, allocations: 4 kB / 487.5 MB, free: 15.49 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.031e-06/0.1542, allocations: 0 / 487.5 MB, free: 15.49 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.828e-05/0.1543, allocations: 129.8 kB / 487.6 MB, free: 15.36 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.967e-05/0.1543, allocations: 7.906 kB / 487.6 MB, free: 15.35 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002728/0.1546, allocations: 105.8 kB / 487.8 MB, free: 15.24 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.544e-06/0.1546, allocations: 0 / 487.8 MB, free: 15.24 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.619e-06/0.1546, allocations: 0 / 487.8 MB, free: 15.24 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.915e-06/0.1546, allocations: 11.98 kB / 487.8 MB, free: 15.23 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004359/0.1551, allocations: 358.5 kB / 488.1 MB, free: 14.82 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.312e-06/0.1551, allocations: 0 / 488.1 MB, free: 14.82 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.638e-05/0.1551, allocations: 12 kB / 488.1 MB, free: 14.81 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.246e-06/0.1552, allocations: 4 kB / 488.1 MB, free: 14.8 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.745e-06/0.1552, allocations: 3.938 kB / 488.1 MB, free: 14.8 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.849e-06/0.1552, allocations: 7.922 kB / 488.1 MB, free: 14.79 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.1552, allocations: 0 / 488.1 MB, free: 14.79 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002451/0.1554, allocations: 187.7 kB / 488.3 MB, free: 14.59 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.792e-05/0.1555, allocations: 93 kB / 488.4 MB, free: 14.48 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.376e-05/0.1555, allocations: 4.281 kB / 488.4 MB, free: 14.48 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.492e-05/0.1556, allocations: 7.938 kB / 488.4 MB, free: 14.47 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.808e-05/0.1557, allocations: 11.98 kB / 488.4 MB, free: 14.46 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.328e-06/0.1557, allocations: 0 / 488.4 MB, free: 14.46 MB / 366.1 MB Notification: Performance of sorting global known variables: time 9.297e-05/0.1558, allocations: 117.7 kB / 488.6 MB, free: 14.35 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1558, allocations: 3.938 kB / 488.6 MB, free: 14.34 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002497/0.156, allocations: 16 kB / 488.6 MB, free: 14.33 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.001025/0.1571, allocations: 401.3 kB / 489 MB, free: 14.07 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.000224/0.1573, allocations: 63.91 kB / 489 MB, free: 14 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.1573, allocations: 0 / 489 MB, free: 14 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 8.647e-05/0.1574, allocations: 35.97 kB / 489.1 MB, free: 13.97 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003328/0.1578, allocations: 15.98 kB / 489.1 MB, free: 13.95 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004636/0.1582, allocations: 201.6 kB / 489.3 MB, free: 13.73 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003112/0.1586, allocations: 0.6965 MB / 490 MB, free: 13 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 5.551e-05/0.1586, allocations: 19.97 kB / 490 MB, free: 12.98 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.023e-05/0.1587, allocations: 19.44 kB / 490 MB, free: 12.96 MB / 366.1 MB Notification: Performance of SimCode: time 3.71e-07/0.1587, allocations: 0 / 490 MB, free: 12.96 MB / 366.1 MB Notification: Performance of Templates: time 0.003632/0.1623, allocations: 1.074 MB / 491.1 MB, free: 11.89 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test2.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test2.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test2.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test2.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test2.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test2.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test2/Test2.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches