Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test27.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.CombiTimeTable.Test27,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test27") translateModel(ModelicaTest.Tables.CombiTimeTable.Test27,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test27") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001805/0.001805, allocations: 105.8 kB / 18.3 MB, free: 4.887 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002206/0.002207, allocations: 211.8 kB / 19.25 MB, free: 3.938 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.423/1.423, allocations: 227.4 MB / 247.4 MB, free: 10.63 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2085/0.2085, allocations: 46.09 MB / 344.8 MB, free: 11.63 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001484/0.001484, allocations: 80.22 kB / 418.3 MB, free: 19.75 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1143/0.1158, allocations: 62.44 MB / 480.7 MB, free: 5.297 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test27): time 0.003745/0.1196, allocations: 1.719 MB / 482.4 MB, free: 3.566 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00183/0.1215, allocations: 1.025 MB / 483.5 MB, free: 2.535 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001336/0.1217, allocations: 0 / 483.5 MB, free: 2.535 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000321/0.122, allocations: 39.77 kB / 483.5 MB, free: 2.496 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004152/0.1225, allocations: 99.59 kB / 483.6 MB, free: 2.398 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002815/0.1228, allocations: 71.69 kB / 483.7 MB, free: 2.328 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002174/0.123, allocations: 107.6 kB / 483.8 MB, free: 2.223 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001196/0.1231, allocations: 19.98 kB / 483.8 MB, free: 2.203 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001041/0.1232, allocations: 39.8 kB / 483.8 MB, free: 2.164 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.939e-05/0.1233, allocations: 43.7 kB / 483.9 MB, free: 2.121 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.773e-05/0.1234, allocations: 4 kB / 483.9 MB, free: 2.117 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001226/0.1235, allocations: 39.98 kB / 483.9 MB, free: 2.078 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.364e-05/0.1236, allocations: 15.94 kB / 483.9 MB, free: 2.062 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.295e-05/0.1236, allocations: 47.72 kB / 484 MB, free: 2.016 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002342/0.1239, allocations: 115.9 kB / 484.1 MB, free: 1.902 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.927e-06/0.1239, allocations: 0 / 484.1 MB, free: 1.902 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.393e-06/0.1239, allocations: 0 / 484.1 MB, free: 1.902 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.633e-06/0.1239, allocations: 0 / 484.1 MB, free: 1.902 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.0005675/0.1245, allocations: 414.9 kB / 484.5 MB, free: 1.449 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.761e-05/0.1245, allocations: 11.97 kB / 484.5 MB, free: 1.438 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.091e-05/0.1246, allocations: 8.844 kB / 484.5 MB, free: 1.43 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002437/0.1248, allocations: 212.8 kB / 484.7 MB, free: 1.184 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.425e-05/0.1249, allocations: 8.312 kB / 484.7 MB, free: 1.176 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.017e-05/0.1249, allocations: 4.125 kB / 484.7 MB, free: 1.172 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001489/0.125, allocations: 53.67 kB / 484.8 MB, free: 1.113 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.708e-06/0.1251, allocations: 0 / 484.8 MB, free: 1.113 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.074e-05/0.1251, allocations: 0 / 484.8 MB, free: 1.113 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.69e-06/0.1251, allocations: 4 kB / 484.8 MB, free: 1.109 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.45e-05/0.1252, allocations: 15.98 kB / 484.8 MB, free: 1.094 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003724/0.1256, allocations: 300.7 kB / 485.1 MB, free: 0.75 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001794/0.1258, allocations: 62.67 kB / 485.2 MB, free: 0.6797 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.639e-05/0.1258, allocations: 20.84 kB / 485.2 MB, free: 0.6562 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.029e-05/0.1259, allocations: 0 / 485.2 MB, free: 0.6562 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002358/0.1261, allocations: 75.33 kB / 485.3 MB, free: 0.5703 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.513e-06/0.1261, allocations: 0 / 485.3 MB, free: 0.5703 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005783/0.1267, allocations: 169.2 kB / 485.4 MB, free: 408 kB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.425e-05/0.1267, allocations: 55.41 kB / 485.5 MB, free: 340 kB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001853/0.1269, allocations: 194.4 kB / 485.7 MB, free: 136 kB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.709e-05/0.127, allocations: 25.7 kB / 485.7 MB, free: 104 kB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.697e-05/0.127, allocations: 108.1 kB / 485.8 MB, free: 15.99 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.145e-05/0.1271, allocations: 19.72 kB / 485.8 MB, free: 15.97 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.86e-05/0.1271, allocations: 29.7 kB / 485.8 MB, free: 15.93 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001137/0.1273, allocations: 326.8 kB / 486.2 MB, free: 15.61 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.781e-05/0.1273, allocations: 16 kB / 486.2 MB, free: 15.59 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.587e-05/0.1274, allocations: 41.64 kB / 486.2 MB, free: 15.54 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001124/0.1275, allocations: 61.64 kB / 486.3 MB, free: 15.48 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.022e-06/0.1275, allocations: 0 / 486.3 MB, free: 15.48 MB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001915/0.1277, allocations: 105.4 kB / 486.4 MB, free: 15.37 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.712e-05/0.1278, allocations: 10.48 kB / 486.4 MB, free: 15.36 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.119e-06/0.1278, allocations: 0 / 486.4 MB, free: 15.36 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.548e-05/0.1278, allocations: 4 kB / 486.4 MB, free: 15.36 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.912e-05/0.1279, allocations: 15.94 kB / 486.4 MB, free: 15.34 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.102e-06/0.1279, allocations: 0 / 486.4 MB, free: 15.34 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.192e-05/0.128, allocations: 11.94 kB / 486.4 MB, free: 15.33 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.699e-06/0.128, allocations: 3.984 kB / 486.4 MB, free: 15.33 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * 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.0001271/0.1281, allocations: 125.9 kB / 486.5 MB, free: 15.2 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.469e-05/0.1281, allocations: 7.906 kB / 486.6 MB, free: 15.19 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.043e-05/0.1282, allocations: 17.39 kB / 486.6 MB, free: 15.17 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.599e-06/0.1282, allocations: 7.938 kB / 486.6 MB, free: 15.16 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.298e-06/0.1282, allocations: 0 / 486.6 MB, free: 15.16 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.35e-06/0.1282, allocations: 3.938 kB / 486.6 MB, free: 15.16 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004391/0.1287, allocations: 399.2 kB / 487 MB, free: 14.71 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.104e-06/0.1287, allocations: 0 / 487 MB, free: 14.71 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.893e-05/0.1287, allocations: 20 kB / 487 MB, free: 14.69 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.176e-06/0.1287, allocations: 384 / 487 MB, free: 14.69 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.208e-05/0.1288, allocations: 3.938 kB / 487 MB, free: 14.68 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.916e-06/0.1288, allocations: 11.94 kB / 487 MB, free: 14.67 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.713e-06/0.1288, allocations: 240 / 487 MB, free: 14.67 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002253/0.129, allocations: 200.3 kB / 487.2 MB, free: 14.46 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.383e-05/0.1291, allocations: 88.92 kB / 487.3 MB, free: 14.35 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.447e-05/0.1291, allocations: 11.92 kB / 487.3 MB, free: 14.34 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.315e-05/0.1292, allocations: 4 kB / 487.3 MB, free: 14.34 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.402e-05/0.1292, allocations: 4 kB / 487.3 MB, free: 14.33 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.639e-05/0.1293, allocations: 7.984 kB / 487.3 MB, free: 14.32 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.000126/0.1294, allocations: 144.2 kB / 487.5 MB, free: 14.18 MB / 366.1 MB Notification: Performance of sort global known variables: time 2.8e-07/0.1294, allocations: 4 kB / 487.5 MB, free: 14.18 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002624/0.1297, allocations: 23.98 kB / 487.5 MB, free: 14.16 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001111/0.1308, allocations: 459.7 kB / 487.9 MB, free: 13.86 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002022/0.131, allocations: 63.91 kB / 488 MB, free: 13.8 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/0.131, allocations: 0 / 488 MB, free: 13.8 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 7.575e-05/0.1311, allocations: 32.05 kB / 488 MB, free: 13.77 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000342/0.1314, allocations: 34.28 kB / 488.1 MB, free: 13.74 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005154/0.132, allocations: 264.7 kB / 488.3 MB, free: 13.45 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000285/0.1323, allocations: 0.7041 MB / 489 MB, free: 12.71 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.038e-05/0.1323, allocations: 15.44 kB / 489 MB, free: 12.7 MB / 366.1 MB Notification: Performance of SimCode: time 3.81e-07/0.1323, allocations: 0 / 489 MB, free: 12.7 MB / 366.1 MB Notification: Performance of Templates: time 0.004146/0.1365, allocations: 1.945 MB / 491 MB, free: 10.75 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test27.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test27.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test27.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test27.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test27.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test27 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test27.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test27_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test27/Test27.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test27.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches