Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test1.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.Test1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test1") translateModel(ModelicaTest.Tables.CombiTimeTable.Test1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001032/0.001032, allocations: 93.36 kB / 18.01 MB, free: 5.734 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0014/0.0014, allocations: 205.5 kB / 18.94 MB, free: 4.848 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.342/1.342, allocations: 227.7 MB / 247.5 MB, free: 9.703 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1939/0.1939, allocations: 46.18 MB / 345.9 MB, free: 11.2 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002537/0.000254, allocations: 8 kB / 420.2 MB, free: 19.73 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1001/0.1004, allocations: 63.55 MB / 483.7 MB, free: 4.16 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test1): time 0.002005/0.1024, allocations: 1.45 MB / 485.2 MB, free: 2.699 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001548/0.104, allocations: 0.9863 MB / 486.2 MB, free: 1.707 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.084e-05/0.1041, allocations: 0 / 486.2 MB, free: 1.707 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002784/0.1044, allocations: 59.81 kB / 486.2 MB, free: 1.648 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002597/0.1046, allocations: 79.72 kB / 486.3 MB, free: 1.57 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001908/0.1048, allocations: 59.89 kB / 486.4 MB, free: 1.512 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001662/0.105, allocations: 107.6 kB / 486.5 MB, free: 1.406 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.612e-05/0.1051, allocations: 12 kB / 486.5 MB, free: 1.395 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.692e-05/0.1052, allocations: 47.78 kB / 486.5 MB, free: 1.348 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.43e-05/0.1053, allocations: 35.78 kB / 486.6 MB, free: 1.312 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.234e-05/0.1053, allocations: 0 / 486.6 MB, free: 1.312 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.852e-05/0.1054, allocations: 47.92 kB / 486.6 MB, free: 1.266 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.545e-05/0.1055, allocations: 31.91 kB / 486.6 MB, free: 1.234 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.254e-05/0.1056, allocations: 69.36 kB / 486.7 MB, free: 1.16 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001588/0.1057, allocations: 100 kB / 486.8 MB, free: 1.062 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.188e-06/0.1057, allocations: 4 kB / 486.8 MB, free: 1.059 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.232e-06/0.1057, allocations: 0 / 486.8 MB, free: 1.059 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.849e-06/0.1058, allocations: 4 kB / 486.8 MB, free: 1.055 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.0005211/0.1063, allocations: 425.1 kB / 487.2 MB, free: 0.5938 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.701e-05/0.1063, allocations: 12.88 kB / 487.2 MB, free: 0.582 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.359e-05/0.1064, allocations: 12.75 kB / 487.3 MB, free: 0.5703 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002207/0.1066, allocations: 220.9 kB / 487.5 MB, free: 320 kB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.594e-05/0.1066, allocations: 4.375 kB / 487.5 MB, free: 316 kB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.018e-05/0.1067, allocations: 8.125 kB / 487.5 MB, free: 308 kB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000135/0.1068, allocations: 53.67 kB / 487.5 MB, free: 248 kB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.416e-06/0.1068, allocations: 0 / 487.5 MB, free: 248 kB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.08e-05/0.1068, allocations: 4 kB / 487.5 MB, free: 244 kB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.379e-06/0.1068, allocations: 0 / 487.5 MB, free: 244 kB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.108e-05/0.1069, allocations: 19.98 kB / 487.6 MB, free: 224 kB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003688/0.1073, allocations: 304.7 kB / 487.9 MB, free: 15.87 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001594/0.1075, allocations: 58.67 kB / 487.9 MB, free: 15.8 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.32e-05/0.1075, allocations: 20.86 kB / 487.9 MB, free: 15.78 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.992e-05/0.1076, allocations: 3.938 kB / 487.9 MB, free: 15.78 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001629/0.1077, allocations: 67.39 kB / 488 MB, free: 15.7 MB / 366.1 MB Notification: Performance of pre-optimization done (n=6): time 4.017e-06/0.1077, allocations: 3.938 kB / 488 MB, free: 15.7 MB / 366.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005224/0.1083, allocations: 185.2 kB / 488.2 MB, free: 15.51 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.516e-05/0.1083, allocations: 55.41 kB / 488.2 MB, free: 15.44 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002589/0.1086, allocations: 278.9 kB / 488.5 MB, free: 15.16 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.773e-05/0.1086, allocations: 29.7 kB / 488.5 MB, free: 15.12 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.646e-05/0.1087, allocations: 116 kB / 488.7 MB, free: 15 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.876e-05/0.1087, allocations: 15.81 kB / 488.7 MB, free: 14.99 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.648e-05/0.1088, allocations: 13.72 kB / 488.7 MB, free: 14.97 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001177/0.1089, allocations: 334.8 kB / 489 MB, free: 14.63 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.53e-05/0.1089, allocations: 20 kB / 489 MB, free: 14.61 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.039e-05/0.109, allocations: 37.69 kB / 489.1 MB, free: 14.57 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001067/0.1091, allocations: 57.7 kB / 489.1 MB, free: 14.51 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.72e-07/0.1091, allocations: 0 / 489.1 MB, free: 14.51 MB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001824/0.1093, allocations: 113.3 kB / 489.2 MB, free: 14.39 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.519e-05/0.1094, allocations: 8 kB / 489.2 MB, free: 14.38 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.619e-06/0.1094, allocations: 0 / 489.2 MB, free: 14.38 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.013e-05/0.1094, allocations: 0 / 489.2 MB, free: 14.38 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.552e-05/0.1095, allocations: 15.94 kB / 489.3 MB, free: 14.37 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.161e-06/0.1095, allocations: 4 kB / 489.3 MB, free: 14.36 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.025e-05/0.1096, allocations: 15.89 kB / 489.3 MB, free: 14.35 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.994e-06/0.1096, allocations: 4 kB / 489.3 MB, free: 14.34 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.000108/0.1097, allocations: 136.6 kB / 489.4 MB, free: 14.2 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.699e-05/0.1097, allocations: 15.81 kB / 489.4 MB, free: 14.19 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.697e-05/0.1098, allocations: 25.39 kB / 489.5 MB, free: 14.16 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.505e-06/0.1098, allocations: 0 / 489.5 MB, free: 14.16 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.589e-06/0.1098, allocations: 0 / 489.5 MB, free: 14.16 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.829e-06/0.1098, allocations: 3.938 kB / 489.5 MB, free: 14.16 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004634/0.1103, allocations: 407.3 kB / 489.9 MB, free: 13.7 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.406e-06/0.1103, allocations: 4 kB / 489.9 MB, free: 13.7 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.241e-05/0.1103, allocations: 8 kB / 489.9 MB, free: 13.69 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.765e-06/0.1103, allocations: 0 / 489.9 MB, free: 13.69 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.106e-05/0.1103, allocations: 3.938 kB / 489.9 MB, free: 13.69 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.633e-06/0.1103, allocations: 0 / 489.9 MB, free: 13.69 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.519e-06/0.1104, allocations: 4 kB / 489.9 MB, free: 13.68 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002232/0.1106, allocations: 216.1 kB / 490.1 MB, free: 13.45 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.7e-05/0.1106, allocations: 88.92 kB / 490.2 MB, free: 13.35 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.434e-05/0.1107, allocations: 8.125 kB / 490.2 MB, free: 13.34 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.518e-05/0.1108, allocations: 7.984 kB / 490.2 MB, free: 13.33 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.235e-05/0.1108, allocations: 11.92 kB / 490.2 MB, free: 13.32 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.477e-05/0.1108, allocations: 4 kB / 490.2 MB, free: 13.32 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001749/0.111, allocations: 212.4 kB / 490.4 MB, free: 13.11 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.111, allocations: 0 / 490.4 MB, free: 13.11 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002568/0.1113, allocations: 20 kB / 490.4 MB, free: 13.09 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.001032/0.1123, allocations: 458.5 kB / 490.9 MB, free: 12.8 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001655/0.1125, allocations: 59.89 kB / 490.9 MB, free: 12.74 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.863e-06/0.1125, allocations: 0 / 490.9 MB, free: 12.74 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 7.623e-05/0.1126, allocations: 35.92 kB / 491 MB, free: 12.7 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003488/0.1129, allocations: 32.7 kB / 491 MB, free: 12.67 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005155/0.1135, allocations: 356.7 kB / 491.4 MB, free: 12.29 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002843/0.1138, allocations: 0.716 MB / 492.1 MB, free: 11.55 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.037e-05/0.1138, allocations: 19.44 kB / 492.1 MB, free: 11.53 MB / 366.1 MB Notification: Performance of SimCode: time 4.71e-07/0.1138, allocations: 0 / 492.1 MB, free: 11.53 MB / 366.1 MB Notification: Performance of Templates: time 0.003879/0.1177, allocations: 2.063 MB / 494.2 MB, free: 9.469 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test1.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test1.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test1.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test1.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test1.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test1.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test1_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test1/Test1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches