Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test6.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.Test6,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test6") translateModel(ModelicaTest.Tables.CombiTimeTable.Test6,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test6") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001011/0.001011, allocations: 93.27 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.001679/0.001679, allocations: 200.7 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.384/1.384, allocations: 227.7 MB / 247.5 MB, free: 9.469 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2027/0.2027, allocations: 46.18 MB / 345.9 MB, free: 11.14 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002428/0.0002428, allocations: 8 kB / 420.2 MB, free: 19.68 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09922/0.09948, allocations: 63.56 MB / 483.7 MB, free: 4.105 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test6): time 0.001965/0.1015, allocations: 1.442 MB / 485.2 MB, free: 2.652 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001542/0.103, allocations: 0.9941 MB / 486.2 MB, free: 1.652 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.007e-05/0.1031, allocations: 4 kB / 486.2 MB, free: 1.648 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002645/0.1034, allocations: 51.8 kB / 486.2 MB, free: 1.598 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002597/0.1037, allocations: 87.73 kB / 486.3 MB, free: 1.512 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002022/0.1039, allocations: 63.86 kB / 486.4 MB, free: 1.449 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001729/0.1041, allocations: 107.6 kB / 486.5 MB, free: 1.344 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.896e-05/0.1042, allocations: 8 kB / 486.5 MB, free: 1.336 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.513e-05/0.1043, allocations: 35.8 kB / 486.5 MB, free: 1.301 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.192e-05/0.1043, allocations: 43.77 kB / 486.6 MB, free: 1.258 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.347e-05/0.1044, allocations: 4 kB / 486.6 MB, free: 1.254 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.904e-05/0.1045, allocations: 39.98 kB / 486.6 MB, free: 1.215 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.264e-05/0.1045, allocations: 31.86 kB / 486.6 MB, free: 1.184 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 8.156e-05/0.1046, allocations: 77.3 kB / 486.7 MB, free: 1.102 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001518/0.1048, allocations: 95.94 kB / 486.8 MB, free: 1.008 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.786e-06/0.1048, allocations: 4 kB / 486.8 MB, free: 1.004 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.703e-06/0.1048, allocations: 0 / 486.8 MB, free: 1.004 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.757e-06/0.1048, allocations: 0 / 486.8 MB, free: 1.004 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.0004985/0.1053, allocations: 430.8 kB / 487.2 MB, free: 0.5352 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.335e-05/0.1054, allocations: 12.88 kB / 487.2 MB, free: 0.5234 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.643e-05/0.1054, allocations: 20.75 kB / 487.3 MB, free: 0.5039 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002179/0.1056, allocations: 223.8 kB / 487.5 MB, free: 252 kB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.274e-05/0.1057, allocations: 4.312 kB / 487.5 MB, free: 248 kB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.757e-05/0.1057, allocations: 4.125 kB / 487.5 MB, free: 244 kB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001381/0.1058, allocations: 57.67 kB / 487.6 MB, free: 180 kB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.115e-06/0.1058, allocations: 0 / 487.6 MB, free: 180 kB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.626e-06/0.1059, allocations: 0 / 487.6 MB, free: 180 kB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.767e-06/0.1059, allocations: 0 / 487.6 MB, free: 180 kB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.208e-05/0.1059, allocations: 27.98 kB / 487.6 MB, free: 152 kB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003617/0.1063, allocations: 300.8 kB / 487.9 MB, free: 15.8 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001549/0.1065, allocations: 50.62 kB / 487.9 MB, free: 15.75 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.207e-05/0.1066, allocations: 28.84 kB / 488 MB, free: 15.71 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.082e-05/0.1066, allocations: 4 kB / 488 MB, free: 15.71 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001453/0.1067, allocations: 59.39 kB / 488 MB, free: 15.64 MB / 366.1 MB Notification: Performance of pre-optimization done (n=6): time 1.373e-06/0.1067, allocations: 0 / 488 MB, free: 15.64 MB / 366.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005101/0.1073, allocations: 185 kB / 488.2 MB, free: 15.45 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.602e-05/0.1073, allocations: 55.41 kB / 488.2 MB, free: 15.39 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002588/0.1076, allocations: 284.2 kB / 488.5 MB, free: 15.1 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.514e-05/0.1076, allocations: 25.7 kB / 488.6 MB, free: 15.07 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.554e-05/0.1077, allocations: 120.1 kB / 488.7 MB, free: 14.95 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.108e-05/0.1077, allocations: 31.58 kB / 488.7 MB, free: 14.91 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.975e-05/0.1078, allocations: 17.7 kB / 488.7 MB, free: 14.89 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001065/0.1079, allocations: 330.8 kB / 489 MB, free: 14.56 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.539e-05/0.1079, allocations: 23.98 kB / 489.1 MB, free: 14.54 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.012e-05/0.108, allocations: 33.7 kB / 489.1 MB, free: 14.5 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001086/0.1081, allocations: 57.78 kB / 489.2 MB, free: 14.43 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.715e-06/0.1081, allocations: 4 kB / 489.2 MB, free: 14.43 MB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001773/0.1083, allocations: 105.8 kB / 489.3 MB, free: 14.32 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.105e-05/0.1083, allocations: 10.5 kB / 489.3 MB, free: 14.31 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.168e-06/0.1084, allocations: 0 / 489.3 MB, free: 14.31 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.869e-06/0.1084, allocations: 0 / 489.3 MB, free: 14.31 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.449e-05/0.1085, allocations: 19.98 kB / 489.3 MB, free: 14.29 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.722e-06/0.1085, allocations: 7.938 kB / 489.3 MB, free: 14.29 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.868e-05/0.1085, allocations: 3.938 kB / 489.3 MB, free: 14.28 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.476e-06/0.1085, allocations: 8.219 kB / 489.3 MB, free: 14.27 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.00011/0.1087, allocations: 133.8 kB / 489.4 MB, free: 14.13 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.509e-05/0.1087, allocations: 23.75 kB / 489.5 MB, free: 14.11 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.571e-05/0.1087, allocations: 25.38 kB / 489.5 MB, free: 14.09 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.154e-06/0.1087, allocations: 3.938 kB / 489.5 MB, free: 14.08 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.979e-06/0.1088, allocations: 4 kB / 489.5 MB, free: 14.08 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.519e-06/0.1088, allocations: 3.938 kB / 489.5 MB, free: 14.07 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004355/0.1092, allocations: 411.2 kB / 489.9 MB, free: 13.61 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.994e-06/0.1092, allocations: 0 / 489.9 MB, free: 13.61 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.393e-05/0.1093, allocations: 11.98 kB / 489.9 MB, free: 13.6 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.489e-06/0.1093, allocations: 4 kB / 489.9 MB, free: 13.6 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.738e-06/0.1093, allocations: 3.938 kB / 489.9 MB, free: 13.59 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.483e-06/0.1093, allocations: 0 / 489.9 MB, free: 13.59 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.1093, allocations: 0 / 489.9 MB, free: 13.59 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002199/0.1095, allocations: 216.2 kB / 490.1 MB, free: 13.36 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.874e-05/0.1096, allocations: 92.91 kB / 490.2 MB, free: 13.25 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.609e-05/0.1096, allocations: 11.94 kB / 490.2 MB, free: 13.24 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.102e-05/0.1097, allocations: 0 / 490.2 MB, free: 13.24 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.118e-05/0.1097, allocations: 7.984 kB / 490.2 MB, free: 13.23 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.433e-05/0.1098, allocations: 4 kB / 490.2 MB, free: 13.23 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.000176/0.1099, allocations: 216.6 kB / 490.5 MB, free: 13.02 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1099, allocations: 0 / 490.5 MB, free: 13.02 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002578/0.1102, allocations: 28 kB / 490.5 MB, free: 12.99 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.0009796/0.1112, allocations: 449.5 kB / 490.9 MB, free: 12.71 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001669/0.1114, allocations: 63.89 kB / 491 MB, free: 12.64 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.724e-06/0.1114, allocations: 4 kB / 491 MB, free: 12.64 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 6.607e-05/0.1114, allocations: 27.94 kB / 491 MB, free: 12.61 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003392/0.1118, allocations: 32.53 kB / 491 MB, free: 12.58 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005151/0.1123, allocations: 360.8 kB / 491.4 MB, free: 12.2 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002819/0.1126, allocations: 0.7238 MB / 492.1 MB, free: 11.45 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.768e-05/0.1127, allocations: 19.44 kB / 492.1 MB, free: 11.43 MB / 366.1 MB Notification: Performance of SimCode: time 2.21e-07/0.1127, allocations: 0 / 492.1 MB, free: 11.43 MB / 366.1 MB Notification: Performance of Templates: time 0.003793/0.1165, allocations: 2.096 MB / 494.2 MB, free: 9.336 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test6.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test6.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test6.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test6.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test6.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test6 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test6.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test6_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test6/Test6.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test6.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches