Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test23.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.Test23,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test23") translateModel(ModelicaTest.Tables.CombiTimeTable.Test23,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test23") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007454/0.0007453, allocations: 91.84 kB / 18 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.0008514/0.0008514, allocations: 201 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.303/1.303, allocations: 227.7 MB / 247.5 MB, free: 11.31 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1904/0.1904, allocations: 46.19 MB / 345.9 MB, free: 11.36 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002499/0.0002499, allocations: 8 kB / 420.2 MB, free: 19.71 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1006/0.1009, allocations: 63.56 MB / 483.7 MB, free: 4.141 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test23): time 0.001976/0.1029, allocations: 1.446 MB / 485.2 MB, free: 2.684 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001494/0.1044, allocations: 0.9902 MB / 486.2 MB, free: 1.688 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.525e-05/0.1045, allocations: 0 / 486.2 MB, free: 1.688 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002481/0.1048, allocations: 39.89 kB / 486.2 MB, free: 1.648 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000268/0.1051, allocations: 79.69 kB / 486.3 MB, free: 1.57 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001997/0.1053, allocations: 67.86 kB / 486.4 MB, free: 1.504 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001521/0.1054, allocations: 91.7 kB / 486.4 MB, free: 1.414 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.658e-05/0.1055, allocations: 19.97 kB / 486.5 MB, free: 1.395 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.474e-05/0.1056, allocations: 39.73 kB / 486.5 MB, free: 1.355 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.842e-05/0.1057, allocations: 31.8 kB / 486.5 MB, free: 1.324 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.337e-05/0.1057, allocations: 0 / 486.5 MB, free: 1.324 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.591e-05/0.1058, allocations: 43.97 kB / 486.6 MB, free: 1.281 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.961e-05/0.1059, allocations: 23.92 kB / 486.6 MB, free: 1.258 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.207e-05/0.1059, allocations: 69.38 kB / 486.7 MB, free: 1.184 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001451/0.1061, allocations: 92.03 kB / 486.8 MB, free: 1.094 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.456e-06/0.1061, allocations: 4 kB / 486.8 MB, free: 1.09 MB / 350.1 MB Notification: Performance of FrontEnd: time 3.146e-06/0.1061, allocations: 3.984 kB / 486.8 MB, free: 1.086 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.807e-06/0.1061, allocations: 0 / 486.8 MB, free: 1.086 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.0004541/0.1066, allocations: 399 kB / 487.2 MB, free: 0.6484 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.484e-05/0.1066, allocations: 12.88 kB / 487.2 MB, free: 0.6367 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.625e-05/0.1067, allocations: 8.844 kB / 487.2 MB, free: 0.6289 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002347/0.1069, allocations: 212 kB / 487.4 MB, free: 392 kB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.081e-05/0.1069, allocations: 384 / 487.4 MB, free: 392 kB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.309e-05/0.107, allocations: 12.12 kB / 487.4 MB, free: 380 kB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001314/0.1071, allocations: 61.61 kB / 487.5 MB, free: 312 kB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.516e-06/0.1071, allocations: 0 / 487.5 MB, free: 312 kB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.231e-05/0.1071, allocations: 4 kB / 487.5 MB, free: 308 kB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.139e-06/0.1071, allocations: 4 kB / 487.5 MB, free: 304 kB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.727e-05/0.1072, allocations: 15.98 kB / 487.5 MB, free: 288 kB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003377/0.1076, allocations: 288.9 kB / 487.8 MB, free: 15.95 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001583/0.1077, allocations: 62.62 kB / 487.8 MB, free: 15.88 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.2e-05/0.1078, allocations: 20.84 kB / 487.8 MB, free: 15.86 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.866e-05/0.1078, allocations: 0 / 487.8 MB, free: 15.86 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001489/0.108, allocations: 67.39 kB / 487.9 MB, free: 15.78 MB / 366.1 MB Notification: Performance of pre-optimization done (n=6): time 1.303e-06/0.108, allocations: 0 / 487.9 MB, free: 15.78 MB / 366.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005089/0.1085, allocations: 193 kB / 488.1 MB, free: 15.58 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.504e-05/0.1085, allocations: 51.41 kB / 488.2 MB, free: 15.52 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001878/0.1087, allocations: 210.9 kB / 488.4 MB, free: 15.3 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.594e-05/0.1088, allocations: 25.7 kB / 488.4 MB, free: 15.27 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.849e-05/0.1088, allocations: 104.1 kB / 488.5 MB, free: 15.17 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.853e-05/0.1089, allocations: 23.69 kB / 488.5 MB, free: 15.14 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.824e-05/0.1089, allocations: 17.72 kB / 488.5 MB, free: 15.12 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001023/0.109, allocations: 330.8 kB / 488.8 MB, free: 14.79 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.596e-05/0.1091, allocations: 23.98 kB / 488.9 MB, free: 14.77 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.287e-05/0.1091, allocations: 37.64 kB / 488.9 MB, free: 14.72 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000119/0.1093, allocations: 53.72 kB / 489 MB, free: 14.66 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.52e-07/0.1093, allocations: 7.938 kB / 489 MB, free: 14.66 MB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001866/0.1095, allocations: 101.4 kB / 489.1 MB, free: 14.55 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.286e-05/0.1095, allocations: 4 kB / 489.1 MB, free: 14.55 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.041e-06/0.1095, allocations: 8.031 kB / 489.1 MB, free: 14.54 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.016e-05/0.1095, allocations: 192 / 489.1 MB, free: 14.54 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.349e-05/0.1096, allocations: 15.98 kB / 489.1 MB, free: 14.52 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.348e-06/0.1096, allocations: 3.938 kB / 489.1 MB, free: 14.52 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.035e-05/0.1097, allocations: 11.94 kB / 489.1 MB, free: 14.51 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.005e-06/0.1097, allocations: 4 kB / 489.1 MB, free: 14.5 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.458e-05/0.1098, allocations: 133.7 kB / 489.2 MB, free: 14.36 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.276e-05/0.1098, allocations: 11.91 kB / 489.3 MB, free: 14.35 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.956e-05/0.1099, allocations: 13.41 kB / 489.3 MB, free: 14.34 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.034e-06/0.1099, allocations: 4 kB / 489.3 MB, free: 14.33 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.456e-06/0.1099, allocations: 4 kB / 489.3 MB, free: 14.33 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.754e-06/0.1099, allocations: 7.922 kB / 489.3 MB, free: 14.32 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004028/0.1103, allocations: 391.3 kB / 489.7 MB, free: 13.88 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.854e-06/0.1103, allocations: 0 / 489.7 MB, free: 13.88 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.308e-05/0.1104, allocations: 8 kB / 489.7 MB, free: 13.87 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.745e-06/0.1104, allocations: 384 / 489.7 MB, free: 13.87 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.266e-05/0.1104, allocations: 11.92 kB / 489.7 MB, free: 13.86 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.147e-06/0.1104, allocations: 8.031 kB / 489.7 MB, free: 13.85 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.1104, allocations: 0 / 489.7 MB, free: 13.85 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002096/0.1106, allocations: 204.2 kB / 489.9 MB, free: 13.63 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.031e-05/0.1107, allocations: 92.86 kB / 490 MB, free: 13.52 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.72e-05/0.1107, allocations: 15.92 kB / 490 MB, free: 13.51 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.088e-05/0.1108, allocations: 0 / 490 MB, free: 13.51 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.128e-05/0.1108, allocations: 8 kB / 490 MB, free: 13.5 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.603e-05/0.1109, allocations: 7.984 kB / 490 MB, free: 13.49 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001251/0.111, allocations: 156.3 kB / 490.2 MB, free: 13.34 MB / 366.1 MB Notification: Performance of sort global known variables: time 2.6e-07/0.111, allocations: 0 / 490.2 MB, free: 13.34 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002553/0.1112, allocations: 24 kB / 490.2 MB, free: 13.32 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.0009956/0.1123, allocations: 449.9 kB / 490.6 MB, free: 13.03 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001627/0.1124, allocations: 63.91 kB / 490.7 MB, free: 12.97 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.733e-06/0.1124, allocations: 0 / 490.7 MB, free: 12.97 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 6.691e-05/0.1125, allocations: 23.98 kB / 490.7 MB, free: 12.95 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004307/0.1129, allocations: 27.98 kB / 490.7 MB, free: 12.92 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004736/0.1134, allocations: 299.9 kB / 491 MB, free: 12.59 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002534/0.1137, allocations: 0.7043 MB / 491.7 MB, free: 11.86 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.936e-05/0.1137, allocations: 19.42 kB / 491.8 MB, free: 11.84 MB / 366.1 MB Notification: Performance of SimCode: time 1.753e-06/0.1138, allocations: 0 / 491.8 MB, free: 11.84 MB / 366.1 MB Notification: Performance of Templates: time 0.003548/0.1173, allocations: 1.961 MB / 493.7 MB, free: 9.887 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test23.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test23.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test23.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test23.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test23.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test23 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test23.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test23_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test23/Test23.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test23.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches