Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test6.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 4.1.0-beta.om/package.mo", uses=false) Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/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.Test6,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test6") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test6,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test6") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001259/0.001259, allocations: 103.5 kB / 17.2 MB, free: 6.289 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001256/0.001256, allocations: 209.8 kB / 18.14 MB, free: 5.371 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.464/1.464, allocations: 227.4 MB / 246.3 MB, free: 10.83 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2298/0.2298, allocations: 46.12 MB / 343.7 MB, free: 11.79 MB / 286.1 MB Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002249/0.002249, allocations: 85 kB / 416.9 MB, free: 20.17 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1336/0.1358, allocations: 62.45 MB / 479.4 MB, free: 5.699 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test6): time 0.00376/0.1396, allocations: 1.716 MB / 481.1 MB, free: 3.965 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001238/0.1409, allocations: 0.5807 MB / 481.7 MB, free: 3.379 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.422e-05/0.141, allocations: 4 kB / 481.7 MB, free: 3.375 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006917/0.1417, allocations: 459.1 kB / 482.1 MB, free: 2.926 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004162/0.1421, allocations: 279.5 kB / 482.4 MB, free: 2.652 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004081/0.1425, allocations: 157.7 kB / 482.6 MB, free: 2.5 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002425/0.1428, allocations: 175.6 kB / 482.7 MB, free: 2.328 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001097/0.1429, allocations: 19.97 kB / 482.7 MB, free: 2.309 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001267/0.143, allocations: 107.7 kB / 482.8 MB, free: 2.203 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002568/0.1433, allocations: 207.6 kB / 483.1 MB, free: 2 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.222e-05/0.1433, allocations: 4 kB / 483.1 MB, free: 1.996 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.284e-05/0.1434, allocations: 31.98 kB / 483.1 MB, free: 1.965 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001209/0.1435, allocations: 87.61 kB / 483.2 MB, free: 1.879 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001086/0.1436, allocations: 107 kB / 483.3 MB, free: 1.773 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003125/0.144, allocations: 258.9 kB / 483.5 MB, free: 1.52 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.511e-06/0.144, allocations: 0 / 483.5 MB, free: 1.52 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.032e-06/0.144, allocations: 0 / 483.5 MB, free: 1.52 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.222e-06/0.144, allocations: 0 / 483.5 MB, free: 1.52 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0009421/0.1449, allocations: 0.6494 MB / 484.2 MB, free: 0.8203 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.358e-05/0.145, allocations: 8.031 kB / 484.2 MB, free: 0.8125 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.779e-05/0.1451, allocations: 44.38 kB / 484.2 MB, free: 0.7695 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003305/0.1454, allocations: 304.1 kB / 484.5 MB, free: 444 kB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.648e-06/0.1454, allocations: 384 / 484.5 MB, free: 444 kB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.177e-05/0.1455, allocations: 4.375 kB / 484.5 MB, free: 440 kB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001965/0.1457, allocations: 65.78 kB / 484.6 MB, free: 368 kB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.13e-05/0.1457, allocations: 0 / 484.6 MB, free: 368 kB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.919e-06/0.1457, allocations: 4 kB / 484.6 MB, free: 364 kB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.452e-06/0.1457, allocations: 4 kB / 484.6 MB, free: 360 kB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001531/0.1459, allocations: 35.97 kB / 484.6 MB, free: 324 kB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006363/0.1465, allocations: 408.7 kB / 485 MB, free: 15.87 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001386/0.1467, allocations: 42.56 kB / 485.1 MB, free: 15.82 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.875e-05/0.1468, allocations: 28.92 kB / 485.1 MB, free: 15.79 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.573e-05/0.1468, allocations: 4 kB / 485.1 MB, free: 15.78 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.363e-05/0.1468, allocations: 34.56 kB / 485.1 MB, free: 15.74 MB / 366.1 MB Notification: Performance of pre-optimization done (n=4): time 1.082e-06/0.1468, allocations: 0 / 485.1 MB, free: 15.74 MB / 366.1 MB Notification: Performance of matching and sorting (n=7): time 0.0009428/0.1478, allocations: 315.8 kB / 485.5 MB, free: 15.42 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.478e-05/0.1478, allocations: 55.41 kB / 485.5 MB, free: 15.36 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001014/0.1489, allocations: 0.8575 MB / 486.4 MB, free: 14.48 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.269e-05/0.1489, allocations: 29.7 kB / 486.4 MB, free: 14.45 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001941/0.1491, allocations: 220 kB / 486.6 MB, free: 14.23 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.183e-05/0.1491, allocations: 27.56 kB / 486.6 MB, free: 14.2 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.072e-05/0.1492, allocations: 25.7 kB / 486.7 MB, free: 14.17 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001947/0.1494, allocations: 362.7 kB / 487 MB, free: 13.81 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001266/0.1495, allocations: 35.97 kB / 487.1 MB, free: 13.77 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001148/0.1497, allocations: 39.95 kB / 487.1 MB, free: 13.73 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002454/0.1499, allocations: 88.8 kB / 487.2 MB, free: 13.64 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.31e-07/0.1499, allocations: 0 / 487.2 MB, free: 13.64 MB / 366.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003322/0.1503, allocations: 157.4 kB / 487.3 MB, free: 13.48 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.721e-05/0.1503, allocations: 4 kB / 487.3 MB, free: 13.48 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.224e-06/0.1503, allocations: 288 / 487.3 MB, free: 13.48 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.273e-05/0.1503, allocations: 3.938 kB / 487.3 MB, free: 13.48 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001379/0.1505, allocations: 31.92 kB / 487.4 MB, free: 13.45 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.917e-06/0.1505, allocations: 4.062 kB / 487.4 MB, free: 13.44 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.687e-05/0.1506, allocations: 15.92 kB / 487.4 MB, free: 13.43 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.065e-06/0.1506, allocations: 0 / 487.4 MB, free: 13.43 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 (7): * Single equations (assignments): 7 * 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.0002333/0.1508, allocations: 217.8 kB / 487.6 MB, free: 13.2 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.567e-05/0.1509, allocations: 47.36 kB / 487.6 MB, free: 13.16 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004209/0.1513, allocations: 181.5 kB / 487.8 MB, free: 12.97 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.444e-06/0.1513, allocations: 3.938 kB / 487.8 MB, free: 12.97 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.488e-06/0.1513, allocations: 0 / 487.8 MB, free: 12.97 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.033e-06/0.1513, allocations: 3.938 kB / 487.8 MB, free: 12.96 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007413/0.1521, allocations: 0.5063 MB / 488.3 MB, free: 12.4 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.964e-06/0.1521, allocations: 4 kB / 488.3 MB, free: 12.4 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001004/0.1522, allocations: 23.97 kB / 488.4 MB, free: 12.38 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.464e-06/0.1522, allocations: 0 / 488.4 MB, free: 12.38 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.191e-05/0.1522, allocations: 3.938 kB / 488.4 MB, free: 12.37 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.523e-06/0.1522, allocations: 0 / 488.4 MB, free: 12.37 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.785e-06/0.1523, allocations: 7.938 kB / 488.4 MB, free: 12.36 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003782/0.1526, allocations: 250.9 kB / 488.6 MB, free: 12.1 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001625/0.1528, allocations: 112.5 kB / 488.7 MB, free: 11.97 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.267e-05/0.1528, allocations: 7.938 kB / 488.7 MB, free: 11.96 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001035/0.153, allocations: 7.984 kB / 488.7 MB, free: 11.96 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.378e-05/0.153, allocations: 7.984 kB / 488.8 MB, free: 11.95 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.426e-06/0.153, allocations: 4 kB / 488.8 MB, free: 11.95 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.000698/0.1537, allocations: 0.6511 MB / 489.4 MB, free: 11.3 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1537, allocations: 0 / 489.4 MB, free: 11.3 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.000263/0.154, allocations: 24 kB / 489.4 MB, free: 11.27 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 (7): * Single equations (assignments): 7 * 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.001551/0.1556, allocations: 403 kB / 489.8 MB, free: 11.01 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0003213/0.1559, allocations: 91.86 kB / 489.9 MB, free: 10.92 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.1559, allocations: 4 kB / 489.9 MB, free: 10.92 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000136/0.1561, allocations: 47.97 kB / 490 MB, free: 10.87 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004942/0.1566, allocations: 28.95 kB / 490 MB, free: 10.84 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001455/0.158, allocations: 0.9142 MB / 490.9 MB, free: 9.906 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005002/0.1585, allocations: 0.8341 MB / 491.7 MB, free: 9.043 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 8.407e-05/0.1586, allocations: 20.95 kB / 491.8 MB, free: 9.02 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.699e-05/0.1587, allocations: 11.44 kB / 491.8 MB, free: 9.008 MB / 366.1 MB Notification: Performance of SimCode: time 2.51e-07/0.1587, allocations: 0 / 491.8 MB, free: 9.008 MB / 366.1 MB Notification: Performance of Templates: time 0.005648/0.1643, allocations: 1.55 MB / 493.3 MB, free: 7.457 MB / 366.1 MB make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test6.makefile (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test6.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test6.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test6.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test6.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test6 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test6.pipe 2>&1) diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test6_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Dv/Test6/Test6.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test6.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches