Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test3.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.Test3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test3") translateModel(ModelicaTest.Tables.CombiTimeTable.Test3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007339/0.0007339, allocations: 95.77 kB / 18 MB, free: 5.602 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009496/0.0009496, allocations: 201.5 kB / 18.93 MB, free: 4.719 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.333/1.333, allocations: 227.7 MB / 247.5 MB, free: 10.93 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2098/0.2098, allocations: 46.19 MB / 345.9 MB, free: 11.3 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002772/0.0002772, allocations: 8.281 kB / 420.2 MB, free: 19.7 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1117/0.112, allocations: 63.57 MB / 483.7 MB, free: 4.109 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test3): time 0.002234/0.1143, allocations: 1.442 MB / 485.2 MB, free: 2.656 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001799/0.1161, allocations: 0.9902 MB / 486.2 MB, free: 1.66 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001044/0.1162, allocations: 4 kB / 486.2 MB, free: 1.656 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003166/0.1166, allocations: 31.84 kB / 486.2 MB, free: 1.625 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003275/0.1169, allocations: 75.75 kB / 486.3 MB, free: 1.551 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002734/0.1172, allocations: 59.88 kB / 486.3 MB, free: 1.492 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.00025/0.1175, allocations: 103.6 kB / 486.4 MB, free: 1.391 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001104/0.1176, allocations: 8 kB / 486.5 MB, free: 1.383 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001082/0.1177, allocations: 39.78 kB / 486.5 MB, free: 1.344 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.48e-05/0.1178, allocations: 39.78 kB / 486.5 MB, free: 1.305 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.586e-05/0.1178, allocations: 0 / 486.5 MB, free: 1.305 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000135/0.118, allocations: 43.97 kB / 486.6 MB, free: 1.262 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.018e-05/0.118, allocations: 23.92 kB / 486.6 MB, free: 1.238 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.775e-05/0.1181, allocations: 53.45 kB / 486.7 MB, free: 1.18 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001671/0.1183, allocations: 84.09 kB / 486.7 MB, free: 1.098 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.368e-06/0.1183, allocations: 0 / 486.7 MB, free: 1.098 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.022e-06/0.1183, allocations: 0 / 486.7 MB, free: 1.098 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.66e-06/0.1183, allocations: 0 / 486.7 MB, free: 1.098 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.0004997/0.1188, allocations: 399.2 kB / 487.1 MB, free: 0.6602 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.867e-05/0.1189, allocations: 8.875 kB / 487.1 MB, free: 0.6523 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.593e-05/0.1189, allocations: 12.84 kB / 487.1 MB, free: 0.6406 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002142/0.1192, allocations: 200.1 kB / 487.3 MB, free: 416 kB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.067e-05/0.1192, allocations: 8.375 kB / 487.3 MB, free: 408 kB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.195e-05/0.1192, allocations: 4.125 kB / 487.4 MB, free: 404 kB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001561/0.1194, allocations: 57.61 kB / 487.4 MB, free: 340 kB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.01e-05/0.1194, allocations: 0 / 487.4 MB, free: 340 kB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.057e-05/0.1194, allocations: 4 kB / 487.4 MB, free: 336 kB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.378e-06/0.1194, allocations: 0 / 487.4 MB, free: 336 kB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.66e-05/0.1195, allocations: 19.98 kB / 487.4 MB, free: 316 kB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004087/0.1199, allocations: 296.7 kB / 487.7 MB, free: 15.97 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001699/0.1201, allocations: 58.61 kB / 487.8 MB, free: 15.9 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.892e-05/0.1202, allocations: 24.84 kB / 487.8 MB, free: 15.88 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.456e-05/0.1202, allocations: 4 kB / 487.8 MB, free: 15.87 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001886/0.1204, allocations: 63.39 kB / 487.9 MB, free: 15.8 MB / 366.1 MB Notification: Performance of pre-optimization done (n=6): time 1.442e-06/0.1204, allocations: 0 / 487.9 MB, free: 15.8 MB / 366.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005722/0.121, allocations: 173.4 kB / 488 MB, free: 15.62 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.768e-05/0.1211, allocations: 55.41 kB / 488.1 MB, free: 15.55 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001656/0.1212, allocations: 166.2 kB / 488.3 MB, free: 15.38 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 4.181e-05/0.1213, allocations: 33.7 kB / 488.3 MB, free: 15.34 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.786e-05/0.1214, allocations: 104.1 kB / 488.4 MB, free: 15.24 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.554e-05/0.1214, allocations: 27.58 kB / 488.4 MB, free: 15.21 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.811e-05/0.1214, allocations: 17.66 kB / 488.4 MB, free: 15.19 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001305/0.1216, allocations: 326.8 kB / 488.8 MB, free: 14.86 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.237e-05/0.1216, allocations: 23.98 kB / 488.8 MB, free: 14.84 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.634e-05/0.1217, allocations: 37.64 kB / 488.8 MB, free: 14.79 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001136/0.1218, allocations: 65.7 kB / 488.9 MB, free: 14.72 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.323e-06/0.1218, allocations: 0 / 488.9 MB, free: 14.72 MB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001914/0.122, allocations: 101.6 kB / 489 MB, free: 14.62 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.675e-05/0.1221, allocations: 4 kB / 489 MB, free: 14.61 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.5e-06/0.1221, allocations: 0 / 489 MB, free: 14.61 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.114e-05/0.1221, allocations: 4 kB / 489 MB, free: 14.61 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.484e-05/0.1222, allocations: 12 kB / 489 MB, free: 14.6 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.965e-06/0.1222, allocations: 3.984 kB / 489 MB, free: 14.59 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.671e-05/0.1223, allocations: 15.97 kB / 489 MB, free: 14.58 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.177e-06/0.1223, allocations: 4 kB / 489 MB, free: 14.57 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 9.51e-05/0.1224, allocations: 117.8 kB / 489.1 MB, free: 14.45 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.162e-05/0.1224, allocations: 15.81 kB / 489.2 MB, free: 14.43 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.189e-05/0.1225, allocations: 16.7 kB / 489.2 MB, free: 14.41 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.474e-06/0.1225, allocations: 0 / 489.2 MB, free: 14.41 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.691e-06/0.1225, allocations: 0 / 489.2 MB, free: 14.41 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.148e-05/0.1225, allocations: 3.938 kB / 489.2 MB, free: 14.41 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004356/0.1229, allocations: 395.3 kB / 489.6 MB, free: 13.96 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.074e-06/0.123, allocations: 0 / 489.6 MB, free: 13.96 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.489e-05/0.123, allocations: 11.98 kB / 489.6 MB, free: 13.95 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.404e-06/0.123, allocations: 0 / 489.6 MB, free: 13.95 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.036e-05/0.123, allocations: 3.938 kB / 489.6 MB, free: 13.95 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.857e-06/0.123, allocations: 4 kB / 489.6 MB, free: 13.95 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.051e-06/0.123, allocations: 0 / 489.6 MB, free: 13.95 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002208/0.1233, allocations: 204.3 kB / 489.8 MB, free: 13.73 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.878e-05/0.1233, allocations: 93 kB / 489.9 MB, free: 13.62 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.354e-05/0.1234, allocations: 3.938 kB / 489.9 MB, free: 13.61 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.283e-05/0.1234, allocations: 4 kB / 489.9 MB, free: 13.61 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.27e-05/0.1235, allocations: 7.984 kB / 489.9 MB, free: 13.6 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.41e-05/0.1235, allocations: 0 / 489.9 MB, free: 13.6 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001097/0.1236, allocations: 131.2 kB / 490 MB, free: 13.47 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.1236, allocations: 0 / 490 MB, free: 13.47 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002641/0.1239, allocations: 28.09 kB / 490 MB, free: 13.45 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.001063/0.125, allocations: 460.6 kB / 490.5 MB, free: 13.15 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001828/0.1252, allocations: 63.91 kB / 490.5 MB, free: 13.09 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.1252, allocations: 0 / 490.5 MB, free: 13.09 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 7.471e-05/0.1253, allocations: 31.92 kB / 490.6 MB, free: 13.06 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003646/0.1256, allocations: 28.3 kB / 490.6 MB, free: 13.03 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005128/0.1262, allocations: 268.1 kB / 490.9 MB, free: 12.73 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002907/0.1265, allocations: 0.7043 MB / 491.6 MB, free: 12 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.254e-05/0.1265, allocations: 19.42 kB / 491.6 MB, free: 11.98 MB / 366.1 MB Notification: Performance of SimCode: time 4.21e-07/0.1265, allocations: 0 / 491.6 MB, free: 11.98 MB / 366.1 MB Notification: Performance of Templates: time 0.004154/0.1307, allocations: 1.863 MB / 493.5 MB, free: 10.11 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test3.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test3.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test3.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test3.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test3.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test3.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test3_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test3/Test3.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches