Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab.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.Test25_usertab,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test25_usertab,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001245/0.001246, allocations: 95.94 kB / 17.35 MB, free: 6.367 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001463/0.001463, allocations: 205.9 kB / 18.29 MB, free: 5.496 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.562/1.562, allocations: 227.7 MB / 246.8 MB, free: 9.793 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2501/0.2501, allocations: 46.19 MB / 345.2 MB, free: 11.19 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000329/0.0003293, allocations: 8 kB / 419.5 MB, free: 19.71 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1408/0.1412, allocations: 63.56 MB / 483.1 MB, free: 4.137 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test25_usertab): time 0.002645/0.1439, allocations: 1.322 MB / 484.4 MB, free: 2.805 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001405/0.1453, allocations: 0.5263 MB / 484.9 MB, free: 2.273 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.637e-05/0.1454, allocations: 3.938 kB / 484.9 MB, free: 2.27 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000317/0.1458, allocations: 23.91 kB / 485 MB, free: 2.246 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003023/0.1461, allocations: 59.83 kB / 485 MB, free: 2.188 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003264/0.1464, allocations: 79.84 kB / 485.1 MB, free: 2.109 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001745/0.1466, allocations: 71.83 kB / 485.2 MB, free: 2.039 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000113/0.1467, allocations: 11.97 kB / 485.2 MB, free: 2.027 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.865e-05/0.1468, allocations: 35.73 kB / 485.2 MB, free: 1.992 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.434e-05/0.1469, allocations: 23.86 kB / 485.2 MB, free: 1.969 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.905e-05/0.1469, allocations: 7.984 kB / 485.2 MB, free: 1.961 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002122/0.1471, allocations: 95.94 kB / 485.3 MB, free: 1.867 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.355e-05/0.1472, allocations: 23.86 kB / 485.4 MB, free: 1.844 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.896e-05/0.1473, allocations: 45.56 kB / 485.4 MB, free: 1.793 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003105/0.1476, allocations: 147.6 kB / 485.6 MB, free: 1.648 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.787e-06/0.1476, allocations: 0 / 485.6 MB, free: 1.648 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.204e-06/0.1476, allocations: 0 / 485.6 MB, free: 1.648 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.789e-06/0.1477, allocations: 0 / 485.6 MB, free: 1.648 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0006609/0.1483, allocations: 398.1 kB / 485.9 MB, free: 1.215 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.099e-05/0.1484, allocations: 8.031 kB / 485.9 MB, free: 1.207 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.918e-05/0.1484, allocations: 12.84 kB / 486 MB, free: 1.195 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002951/0.1487, allocations: 200.1 kB / 486.2 MB, free: 0.9609 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.394e-05/0.1488, allocations: 384 / 486.2 MB, free: 0.9609 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.111e-05/0.1488, allocations: 4.375 kB / 486.2 MB, free: 0.957 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002055/0.149, allocations: 71.52 kB / 486.2 MB, free: 0.875 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.262e-05/0.149, allocations: 0 / 486.2 MB, free: 0.875 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.395e-05/0.1491, allocations: 0 / 486.2 MB, free: 0.875 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.931e-06/0.1491, allocations: 0 / 486.2 MB, free: 0.875 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001172/0.1492, allocations: 35.97 kB / 486.3 MB, free: 0.8398 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004759/0.1497, allocations: 308.7 kB / 486.6 MB, free: 500 kB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001215/0.1498, allocations: 54.56 kB / 486.6 MB, free: 436 kB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.756e-05/0.1499, allocations: 32.97 kB / 486.7 MB, free: 400 kB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.928e-05/0.1499, allocations: 0 / 486.7 MB, free: 400 kB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.754e-05/0.15, allocations: 38.55 kB / 486.7 MB, free: 352 kB / 350.1 MB Notification: Performance of pre-optimization done (n=5): time 8.61e-07/0.15, allocations: 0 / 486.7 MB, free: 352 kB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0007007/0.1507, allocations: 201.3 kB / 486.9 MB, free: 144 kB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.292e-05/0.1507, allocations: 77.11 kB / 487 MB, free: 48 kB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001881/0.1509, allocations: 158.1 kB / 487.1 MB, free: 15.88 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.058e-05/0.151, allocations: 25.7 kB / 487.1 MB, free: 15.85 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.044e-05/0.151, allocations: 100 kB / 487.2 MB, free: 15.75 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.729e-05/0.1511, allocations: 27.64 kB / 487.3 MB, free: 15.72 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.503e-05/0.1511, allocations: 17.72 kB / 487.3 MB, free: 15.7 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001242/0.1513, allocations: 322.8 kB / 487.6 MB, free: 15.37 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.03e-05/0.1513, allocations: 31.98 kB / 487.6 MB, free: 15.34 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001048/0.1515, allocations: 57.62 kB / 487.7 MB, free: 15.28 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001824/0.1517, allocations: 80.75 kB / 487.8 MB, free: 15.2 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.32e-07/0.1517, allocations: 0 / 487.8 MB, free: 15.2 MB / 366.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002513/0.1519, allocations: 129.5 kB / 487.9 MB, free: 15.06 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.715e-05/0.1519, allocations: 4 kB / 487.9 MB, free: 15.06 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.49e-06/0.152, allocations: 384 / 487.9 MB, free: 15.06 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.294e-05/0.152, allocations: 0 / 487.9 MB, free: 15.06 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001117/0.1521, allocations: 23.92 kB / 487.9 MB, free: 15.04 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.494e-05/0.1521, allocations: 4 kB / 487.9 MB, free: 15.03 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.737e-05/0.1522, allocations: 15.98 kB / 487.9 MB, free: 15.02 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.018e-05/0.1522, allocations: 4 kB / 487.9 MB, free: 15.01 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 (9): * Single equations (assignments): 9 * 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.0001014/0.1523, allocations: 121.8 kB / 488.1 MB, free: 14.88 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.434e-05/0.1523, allocations: 7.906 kB / 488.1 MB, free: 14.88 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003179/0.1527, allocations: 130.4 kB / 488.2 MB, free: 14.74 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.534e-06/0.1527, allocations: 0 / 488.2 MB, free: 14.74 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.739e-06/0.1527, allocations: 0 / 488.2 MB, free: 14.74 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.396e-06/0.1527, allocations: 0 / 488.2 MB, free: 14.74 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005847/0.1533, allocations: 414.3 kB / 488.6 MB, free: 14.28 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.064e-06/0.1533, allocations: 0 / 488.6 MB, free: 14.28 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.265e-05/0.1534, allocations: 23.92 kB / 488.6 MB, free: 14.26 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.138e-06/0.1534, allocations: 4 kB / 488.6 MB, free: 14.25 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.057e-06/0.1534, allocations: 3.938 kB / 488.6 MB, free: 14.25 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.453e-06/0.1534, allocations: 0 / 488.6 MB, free: 14.25 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.1534, allocations: 0 / 488.6 MB, free: 14.25 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002581/0.1537, allocations: 207.4 kB / 488.8 MB, free: 14.03 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.848e-05/0.1537, allocations: 89 kB / 488.9 MB, free: 13.93 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.067e-05/0.1538, allocations: 4.219 kB / 488.9 MB, free: 13.92 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.052e-05/0.1539, allocations: 11.98 kB / 488.9 MB, free: 13.91 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.23e-05/0.1539, allocations: 4 kB / 488.9 MB, free: 13.91 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.915e-06/0.1539, allocations: 7.938 kB / 488.9 MB, free: 13.9 MB / 366.1 MB Notification: Performance of sorting global known variables: time 9.997e-05/0.154, allocations: 121.7 kB / 489.1 MB, free: 13.78 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.154, allocations: 0 / 489.1 MB, free: 13.78 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002958/0.1543, allocations: 47.98 kB / 489.1 MB, free: 13.73 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 (8): * Single equations (assignments): 8 * 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.001096/0.1554, allocations: 0.4915 MB / 489.6 MB, free: 13.4 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002471/0.1557, allocations: 83.95 kB / 489.7 MB, free: 13.32 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.003e-06/0.1557, allocations: 0 / 489.7 MB, free: 13.32 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 9.633e-05/0.1558, allocations: 39.92 kB / 489.7 MB, free: 13.28 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000305/0.1561, allocations: 15.98 kB / 489.7 MB, free: 13.27 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004862/0.1566, allocations: 229.2 kB / 490 MB, free: 13.01 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002988/0.1569, allocations: 0.7042 MB / 490.7 MB, free: 12.28 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 8.434e-05/0.157, allocations: 24.56 kB / 490.7 MB, free: 12.26 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.373e-05/0.1571, allocations: 23.42 kB / 490.7 MB, free: 12.23 MB / 366.1 MB Notification: Performance of SimCode: time 2.51e-07/0.1571, allocations: 0 / 490.7 MB, free: 12.23 MB / 366.1 MB Notification: Performance of Templates: time 0.005068/0.1622, allocations: 1.904 MB / 492.6 MB, free: 10.34 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test25_usertab/Test25_usertab.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches