Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test22.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.Test22,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test22") translateModel(ModelicaTest.Tables.CombiTimeTable.Test22,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test22") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008639/0.0008636, allocations: 93.33 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.00101/0.00101, allocations: 201.5 kB / 18.93 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.391/1.391, allocations: 227.7 MB / 247.5 MB, free: 11.4 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.19/0.19, allocations: 46.19 MB / 345.9 MB, free: 11.41 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002602/0.0002602, allocations: 11.98 kB / 420.2 MB, free: 19.75 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1007/0.1009, allocations: 63.56 MB / 483.7 MB, free: 4.184 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test22): time 0.001954/0.1029, allocations: 1.446 MB / 485.2 MB, free: 2.727 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00152/0.1045, allocations: 0.9863 MB / 486.2 MB, free: 1.734 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.661e-05/0.1046, allocations: 4 kB / 486.2 MB, free: 1.73 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002582/0.1048, allocations: 39.83 kB / 486.2 MB, free: 1.691 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000248/0.1051, allocations: 83.67 kB / 486.3 MB, free: 1.609 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001945/0.1053, allocations: 59.89 kB / 486.4 MB, free: 1.551 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001626/0.1055, allocations: 103.7 kB / 486.5 MB, free: 1.449 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.329e-05/0.1056, allocations: 4 kB / 486.5 MB, free: 1.445 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.936e-05/0.1057, allocations: 43.73 kB / 486.5 MB, free: 1.402 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.093e-05/0.1057, allocations: 35.78 kB / 486.5 MB, free: 1.367 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.492e-05/0.1058, allocations: 4 kB / 486.5 MB, free: 1.363 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.566e-05/0.1059, allocations: 43.97 kB / 486.6 MB, free: 1.32 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.283e-05/0.1059, allocations: 23.92 kB / 486.6 MB, free: 1.297 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.275e-05/0.106, allocations: 61.39 kB / 486.7 MB, free: 1.23 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001417/0.1061, allocations: 84.08 kB / 486.8 MB, free: 1.148 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.707e-06/0.1061, allocations: 4 kB / 486.8 MB, free: 1.145 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.392e-06/0.1062, allocations: 0 / 486.8 MB, free: 1.145 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.847e-06/0.1062, allocations: 0 / 486.8 MB, free: 1.145 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.0004854/0.1067, allocations: 399.1 kB / 487.1 MB, free: 0.707 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.369e-05/0.1067, allocations: 8.875 kB / 487.2 MB, free: 0.6992 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.977e-05/0.1067, allocations: 12.84 kB / 487.2 MB, free: 0.6875 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002427/0.107, allocations: 216.7 kB / 487.4 MB, free: 448 kB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.339e-05/0.107, allocations: 384 / 487.4 MB, free: 448 kB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.23e-05/0.107, allocations: 12.11 kB / 487.4 MB, free: 436 kB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001373/0.1072, allocations: 61.61 kB / 487.5 MB, free: 368 kB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.646e-06/0.1072, allocations: 0 / 487.5 MB, free: 368 kB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.568e-06/0.1072, allocations: 4 kB / 487.5 MB, free: 364 kB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.656e-06/0.1072, allocations: 0 / 487.5 MB, free: 364 kB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.872e-05/0.1073, allocations: 19.98 kB / 487.5 MB, free: 344 kB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003802/0.1077, allocations: 288.8 kB / 487.8 MB, free: 4 kB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001725/0.1079, allocations: 54.62 kB / 487.8 MB, free: 15.94 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.568e-05/0.1079, allocations: 28.84 kB / 487.8 MB, free: 15.91 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.862e-05/0.108, allocations: 0 / 487.8 MB, free: 15.91 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001565/0.1081, allocations: 63.39 kB / 487.9 MB, free: 15.84 MB / 366.1 MB Notification: Performance of pre-optimization done (n=6): time 1.233e-06/0.1081, allocations: 0 / 487.9 MB, free: 15.84 MB / 366.1 MB Notification: Performance of matching and sorting (n=8): time 0.0004898/0.1086, allocations: 173.2 kB / 488.1 MB, free: 15.66 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.328e-05/0.1087, allocations: 55.39 kB / 488.1 MB, free: 15.59 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001777/0.1089, allocations: 194.9 kB / 488.3 MB, free: 15.39 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.737e-05/0.1089, allocations: 29.7 kB / 488.3 MB, free: 15.36 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.478e-05/0.109, allocations: 108.1 kB / 488.4 MB, free: 15.25 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.649e-05/0.109, allocations: 19.7 kB / 488.5 MB, free: 15.23 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.592e-05/0.109, allocations: 17.72 kB / 488.5 MB, free: 15.21 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001111/0.1091, allocations: 326.8 kB / 488.8 MB, free: 14.88 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.783e-05/0.1092, allocations: 23.98 kB / 488.8 MB, free: 14.86 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.679e-05/0.1093, allocations: 37.59 kB / 488.9 MB, free: 14.81 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001075/0.1094, allocations: 57.7 kB / 488.9 MB, free: 14.75 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.112e-06/0.1094, allocations: 4 kB / 488.9 MB, free: 14.75 MB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001905/0.1096, allocations: 109.5 kB / 489 MB, free: 14.63 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.325e-05/0.1096, allocations: 4 kB / 489 MB, free: 14.63 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.182e-06/0.1096, allocations: 4 kB / 489 MB, free: 14.62 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.154e-05/0.1097, allocations: 3.984 kB / 489 MB, free: 14.62 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.047e-05/0.1097, allocations: 12 kB / 489.1 MB, free: 14.61 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.728e-06/0.1097, allocations: 32 / 489.1 MB, free: 14.61 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.898e-05/0.1098, allocations: 15.92 kB / 489.1 MB, free: 14.59 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.466e-06/0.1098, allocations: 4 kB / 489.1 MB, free: 14.59 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.0001265/0.11, allocations: 125.8 kB / 489.2 MB, free: 14.46 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.903e-05/0.11, allocations: 11.84 kB / 489.2 MB, free: 14.45 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.152e-05/0.11, allocations: 21.39 kB / 489.2 MB, free: 14.42 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.214e-06/0.11, allocations: 0 / 489.2 MB, free: 14.42 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.566e-06/0.11, allocations: 0 / 489.2 MB, free: 14.42 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.609e-06/0.11, allocations: 3.938 kB / 489.2 MB, free: 14.42 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00046/0.1105, allocations: 403.2 kB / 489.6 MB, free: 13.96 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.405e-06/0.1105, allocations: 384 / 489.6 MB, free: 13.96 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.271e-05/0.1106, allocations: 8 kB / 489.6 MB, free: 13.96 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.008e-06/0.1106, allocations: 4 kB / 489.6 MB, free: 13.95 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.176e-05/0.1106, allocations: 11.94 kB / 489.6 MB, free: 13.94 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.653e-06/0.1106, allocations: 0 / 489.6 MB, free: 13.94 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.1106, allocations: 0 / 489.6 MB, free: 13.94 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002166/0.1108, allocations: 204.2 kB / 489.8 MB, free: 13.72 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.826e-05/0.1109, allocations: 96.91 kB / 489.9 MB, free: 13.61 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.402e-05/0.1109, allocations: 7.938 kB / 490 MB, free: 13.6 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.949e-05/0.111, allocations: 0 / 490 MB, free: 13.6 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.156e-05/0.111, allocations: 7.984 kB / 490 MB, free: 13.59 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.516e-05/0.111, allocations: 8 kB / 490 MB, free: 13.59 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001236/0.1112, allocations: 152.7 kB / 490.1 MB, free: 13.44 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.1112, allocations: 4 kB / 490.1 MB, free: 13.43 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002521/0.1114, allocations: 20 kB / 490.1 MB, free: 13.41 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.001021/0.1125, allocations: 461.6 kB / 490.6 MB, free: 13.12 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001609/0.1126, allocations: 55.92 kB / 490.6 MB, free: 13.07 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/0.1127, allocations: 4 kB / 490.6 MB, free: 13.06 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 6.499e-05/0.1127, allocations: 27.98 kB / 490.7 MB, free: 13.04 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003316/0.1131, allocations: 27.67 kB / 490.7 MB, free: 13.01 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000444/0.1135, allocations: 291.9 kB / 491 MB, free: 12.69 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002576/0.1138, allocations: 0.7043 MB / 491.7 MB, free: 11.96 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.736e-05/0.1138, allocations: 15.44 kB / 491.7 MB, free: 11.95 MB / 366.1 MB Notification: Performance of SimCode: time 3.1e-07/0.1138, allocations: 0 / 491.7 MB, free: 11.95 MB / 366.1 MB Notification: Performance of Templates: time 0.003607/0.1175, allocations: 1.924 MB / 493.6 MB, free: 10.02 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test22.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test22.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test22.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test22.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test22.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test22 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test22.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test22_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test22/Test22.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test22.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches