Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test7.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.Test7,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test7") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test7,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test7") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009001/0.0009001, allocations: 92.83 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.001264/0.001264, allocations: 204.5 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.369/1.369, allocations: 227.7 MB / 246.8 MB, free: 11.41 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2042/0.2042, allocations: 46.18 MB / 345.2 MB, free: 11.39 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002655/0.0002656, allocations: 8 kB / 419.5 MB, free: 19.73 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1179/0.1182, allocations: 63.55 MB / 483.1 MB, free: 4.16 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test7): time 0.002058/0.1203, allocations: 1.318 MB / 484.4 MB, free: 2.832 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001034/0.1213, allocations: 0.5185 MB / 484.9 MB, free: 2.309 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.726e-05/0.1214, allocations: 0 / 484.9 MB, free: 2.309 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002181/0.1216, allocations: 19.92 kB / 484.9 MB, free: 2.289 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003201/0.122, allocations: 63.75 kB / 485 MB, free: 2.227 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003172/0.1223, allocations: 83.3 kB / 485.1 MB, free: 2.148 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001714/0.1225, allocations: 59.89 kB / 485.1 MB, free: 2.09 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000115/0.1226, allocations: 11.98 kB / 485.1 MB, free: 2.078 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.962e-05/0.1227, allocations: 23.81 kB / 485.2 MB, free: 2.055 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.499e-05/0.1227, allocations: 19.86 kB / 485.2 MB, free: 2.035 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.339e-05/0.1228, allocations: 0 / 485.2 MB, free: 2.035 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.598e-05/0.1229, allocations: 35.97 kB / 485.2 MB, free: 2 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.159e-05/0.1229, allocations: 4 kB / 485.2 MB, free: 1.996 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.365e-05/0.123, allocations: 49.5 kB / 485.3 MB, free: 1.941 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001815/0.1232, allocations: 87.7 kB / 485.4 MB, free: 1.855 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.336e-06/0.1232, allocations: 0 / 485.4 MB, free: 1.855 MB / 350.1 MB Notification: Performance of FrontEnd: time 3.476e-06/0.1232, allocations: 0 / 485.4 MB, free: 1.855 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.178e-06/0.1232, allocations: 3.938 kB / 485.4 MB, free: 1.852 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.0004825/0.1237, allocations: 375.6 kB / 485.7 MB, free: 1.438 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.796e-05/0.1238, allocations: 8.875 kB / 485.7 MB, free: 1.43 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.073e-05/0.1238, allocations: 8.844 kB / 485.8 MB, free: 1.422 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001955/0.124, allocations: 192.2 kB / 485.9 MB, free: 1.195 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.306e-05/0.124, allocations: 384 / 485.9 MB, free: 1.195 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.719e-05/0.1241, allocations: 4.375 kB / 485.9 MB, free: 1.191 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001628/0.1242, allocations: 53.8 kB / 486 MB, free: 1.133 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.265e-05/0.1243, allocations: 8 kB / 486 MB, free: 1.125 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.207e-05/0.1243, allocations: 0 / 486 MB, free: 1.125 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.941e-06/0.1243, allocations: 0 / 486 MB, free: 1.125 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001157/0.1244, allocations: 27.92 kB / 486 MB, free: 1.098 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003591/0.1248, allocations: 280.8 kB / 486.3 MB, free: 0.7734 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002058/0.125, allocations: 46.56 kB / 486.4 MB, free: 0.7188 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.901e-05/0.1251, allocations: 20.94 kB / 486.4 MB, free: 0.6953 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.32e-05/0.1251, allocations: 3.938 kB / 486.4 MB, free: 0.6914 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.133e-05/0.1251, allocations: 30.56 kB / 486.4 MB, free: 0.6523 MB / 350.1 MB Notification: Performance of pre-optimization done (n=3): time 1.112e-06/0.1251, allocations: 3.938 kB / 486.4 MB, free: 0.6484 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.0006023/0.1257, allocations: 165.3 kB / 486.6 MB, free: 492 kB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.727e-05/0.1258, allocations: 59.34 kB / 486.6 MB, free: 420 kB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001942/0.126, allocations: 168.8 kB / 486.8 MB, free: 244 kB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.543e-05/0.126, allocations: 25.7 kB / 486.8 MB, free: 212 kB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001079/0.1261, allocations: 96.12 kB / 486.9 MB, free: 112 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.813e-05/0.1262, allocations: 19.75 kB / 486.9 MB, free: 92 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.757e-05/0.1262, allocations: 13.7 kB / 486.9 MB, free: 72 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001333/0.1263, allocations: 318.8 kB / 487.3 MB, free: 15.75 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.994e-05/0.1264, allocations: 23.98 kB / 487.3 MB, free: 15.73 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.999e-05/0.1265, allocations: 23.98 kB / 487.3 MB, free: 15.7 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001769/0.1267, allocations: 57.02 kB / 487.4 MB, free: 15.64 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.443e-06/0.1267, allocations: 0 / 487.4 MB, free: 15.64 MB / 366.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002121/0.1269, allocations: 93.52 kB / 487.4 MB, free: 15.55 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.336e-05/0.1269, allocations: 11.98 kB / 487.5 MB, free: 15.54 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.855e-06/0.127, allocations: 3.984 kB / 487.5 MB, free: 15.53 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.155e-05/0.127, allocations: 0 / 487.5 MB, free: 15.53 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.227e-05/0.1271, allocations: 12 kB / 487.5 MB, free: 15.52 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.205e-06/0.1271, allocations: 0 / 487.5 MB, free: 15.52 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.301e-05/0.1271, allocations: 15.92 kB / 487.5 MB, free: 15.5 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.205e-06/0.1271, allocations: 4 kB / 487.5 MB, free: 15.5 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 0.000102/0.1273, allocations: 113.8 kB / 487.6 MB, free: 15.38 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.689e-05/0.1273, allocations: 8.188 kB / 487.6 MB, free: 15.37 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000264/0.1276, allocations: 109.9 kB / 487.7 MB, free: 15.26 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.661e-06/0.1276, allocations: 3.984 kB / 487.7 MB, free: 15.25 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.607e-06/0.1276, allocations: 0 / 487.7 MB, free: 15.25 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.158e-06/0.1276, allocations: 3.938 kB / 487.7 MB, free: 15.25 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004675/0.1281, allocations: 350.5 kB / 488.1 MB, free: 14.85 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.054e-06/0.1281, allocations: 4 kB / 488.1 MB, free: 14.85 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.206e-05/0.1282, allocations: 15.98 kB / 488.1 MB, free: 14.83 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.238e-06/0.1282, allocations: 4 kB / 488.1 MB, free: 14.83 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.268e-05/0.1282, allocations: 3.938 kB / 488.1 MB, free: 14.82 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.803e-06/0.1282, allocations: 3.938 kB / 488.1 MB, free: 14.82 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.295e-06/0.1282, allocations: 0 / 488.1 MB, free: 14.82 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002628/0.1285, allocations: 187.7 kB / 488.3 MB, free: 14.62 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.054e-05/0.1285, allocations: 92.95 kB / 488.4 MB, free: 14.51 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.012e-05/0.1286, allocations: 7.922 kB / 488.4 MB, free: 14.5 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.512e-05/0.1286, allocations: 8 kB / 488.4 MB, free: 14.5 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.939e-05/0.1287, allocations: 4 kB / 488.4 MB, free: 14.49 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.669e-06/0.1287, allocations: 0 / 488.4 MB, free: 14.49 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001162/0.1288, allocations: 130.2 kB / 488.5 MB, free: 14.37 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1288, allocations: 0 / 488.5 MB, free: 14.37 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002649/0.1291, allocations: 15.98 kB / 488.5 MB, free: 14.35 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.001103/0.1302, allocations: 396 kB / 488.9 MB, free: 14.1 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002355/0.1305, allocations: 55.91 kB / 489 MB, free: 14.04 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/0.1305, allocations: 0 / 489 MB, free: 14.04 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 8.399e-05/0.1306, allocations: 28.11 kB / 489 MB, free: 14.02 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003512/0.1309, allocations: 20.05 kB / 489 MB, free: 14 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004926/0.1314, allocations: 217.3 kB / 489.2 MB, free: 13.75 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002654/0.1317, allocations: 0.6965 MB / 489.9 MB, free: 13.03 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 4.847e-05/0.1318, allocations: 8 kB / 489.9 MB, free: 13.02 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.913e-05/0.1318, allocations: 19.42 kB / 490 MB, free: 13 MB / 366.1 MB Notification: Performance of SimCode: time 3e-07/0.1318, allocations: 0 / 490 MB, free: 13 MB / 366.1 MB Notification: Performance of Templates: time 0.003774/0.1356, allocations: 1.062 MB / 491 MB, free: 11.95 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test7.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test7.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test7.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test7.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test7.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test7 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test7.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test7_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test7/Test7.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test7.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches