Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test42.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test42,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test42") translateModel(ModelicaTest.Tables.CombiTimeTable.Test42,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test42") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001181/0.001181, allocations: 101.2 kB / 16.94 MB, free: 6.184 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001293/0.001293, allocations: 191.4 kB / 17.86 MB, free: 5.289 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.457/1.457, allocations: 205.1 MB / 223.7 MB, free: 12.29 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.209/0.209, allocations: 43.52 MB / 314.6 MB, free: 0.5234 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001529/0.001529, allocations: 70.27 kB / 383.4 MB, free: 56.73 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1046/0.1062, allocations: 57.79 MB / 441.2 MB, free: 6.898 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test42): time 0.002699/0.1089, allocations: 1.699 MB / 442.9 MB, free: 5.184 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001003/0.1099, allocations: 0.7961 MB / 443.7 MB, free: 4.379 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.586e-05/0.11, allocations: 4 kB / 443.7 MB, free: 4.375 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003038/0.1103, allocations: 43.78 kB / 443.7 MB, free: 4.332 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001895/0.1106, allocations: 51.75 kB / 443.8 MB, free: 4.281 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002166/0.1108, allocations: 95.62 kB / 443.9 MB, free: 4.188 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001495/0.1109, allocations: 99.69 kB / 444 MB, free: 4.09 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.228e-05/0.111, allocations: 8.516 kB / 444 MB, free: 4.082 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.685e-05/0.1111, allocations: 39.8 kB / 444 MB, free: 4.043 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.877e-05/0.1112, allocations: 31.84 kB / 444.1 MB, free: 4.012 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.613e-05/0.1112, allocations: 0 / 444.1 MB, free: 4.012 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.344e-05/0.1113, allocations: 43.98 kB / 444.1 MB, free: 3.969 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 5.315e-05/0.1114, allocations: 19.92 kB / 444.1 MB, free: 3.949 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 5.24e-05/0.1114, allocations: 35.73 kB / 444.2 MB, free: 3.914 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001738/0.1116, allocations: 115.6 kB / 444.3 MB, free: 3.801 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.841e-06/0.1116, allocations: 4 kB / 444.3 MB, free: 3.797 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.432e-06/0.1116, allocations: 0 / 444.3 MB, free: 3.797 MB / 318.1 MB Notification: Performance of Transformations before backend: time 9.628e-06/0.1116, allocations: 0 / 444.3 MB, free: 3.797 MB / 318.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.000486/0.1121, allocations: 415 kB / 444.7 MB, free: 3.344 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.72e-05/0.1122, allocations: 11.89 kB / 444.7 MB, free: 3.332 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.33e-05/0.1122, allocations: 16.83 kB / 444.7 MB, free: 3.316 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001828/0.1124, allocations: 212.6 kB / 444.9 MB, free: 3.07 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.502e-05/0.1124, allocations: 4.375 kB / 444.9 MB, free: 3.066 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.57e-05/0.1125, allocations: 4.125 kB / 444.9 MB, free: 3.062 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001387/0.1126, allocations: 57.61 kB / 445 MB, free: 3 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.303e-05/0.1126, allocations: 7.969 kB / 445 MB, free: 2.992 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.073e-05/0.1127, allocations: 8 kB / 445 MB, free: 2.984 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.428e-06/0.1127, allocations: 0 / 445 MB, free: 2.984 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.782e-05/0.1127, allocations: 15.98 kB / 445 MB, free: 2.969 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003021/0.113, allocations: 288.9 kB / 445.3 MB, free: 2.637 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001588/0.1132, allocations: 54.62 kB / 445.3 MB, free: 2.574 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.772e-05/0.1133, allocations: 24.84 kB / 445.4 MB, free: 2.547 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.351e-05/0.1133, allocations: 3.938 kB / 445.4 MB, free: 2.543 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001738/0.1135, allocations: 71.39 kB / 445.4 MB, free: 2.461 MB / 318.1 MB Notification: Performance of pre-optimization done (n=6): time 1.442e-06/0.1135, allocations: 0 / 445.4 MB, free: 2.461 MB / 318.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005154/0.114, allocations: 181.1 kB / 445.6 MB, free: 2.277 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.482e-05/0.114, allocations: 51.41 kB / 445.7 MB, free: 2.215 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001378/0.1142, allocations: 203.3 kB / 445.9 MB, free: 2.008 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.145e-05/0.1142, allocations: 29.7 kB / 445.9 MB, free: 1.973 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.135e-05/0.1143, allocations: 104 kB / 446 MB, free: 1.867 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.597e-05/0.1143, allocations: 19.75 kB / 446 MB, free: 1.848 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.358e-05/0.1143, allocations: 25.7 kB / 446 MB, free: 1.816 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 6.264e-05/0.1144, allocations: 330.8 kB / 446.4 MB, free: 1.484 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.993e-05/0.1144, allocations: 15.98 kB / 446.4 MB, free: 1.469 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.522e-05/0.1145, allocations: 41.66 kB / 446.4 MB, free: 1.422 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.359e-05/0.1146, allocations: 57.7 kB / 446.5 MB, free: 1.359 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.102e-06/0.1146, allocations: 0 / 446.5 MB, free: 1.359 MB / 318.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001516/0.1148, allocations: 109.4 kB / 446.6 MB, free: 1.246 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.275e-05/0.1148, allocations: 4 kB / 446.6 MB, free: 1.242 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.359e-06/0.1148, allocations: 0 / 446.6 MB, free: 1.242 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.382e-05/0.1148, allocations: 4 kB / 446.6 MB, free: 1.238 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.533e-05/0.1149, allocations: 12 kB / 446.6 MB, free: 1.227 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.109e-06/0.1149, allocations: 4.031 kB / 446.6 MB, free: 1.223 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.439e-05/0.115, allocations: 11.92 kB / 446.6 MB, free: 1.211 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.113e-06/0.115, allocations: 0 / 446.6 MB, free: 1.211 MB / 318.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 7.226e-05/0.1151, allocations: 137.7 kB / 446.8 MB, free: 1.066 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.147e-05/0.1151, allocations: 15.8 kB / 446.8 MB, free: 1.051 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.11e-05/0.1151, allocations: 17.41 kB / 446.8 MB, free: 1.031 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.362e-06/0.1151, allocations: 0 / 446.8 MB, free: 1.031 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.068e-06/0.1152, allocations: 0 / 446.8 MB, free: 1.031 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.007e-06/0.1152, allocations: 3.938 kB / 446.8 MB, free: 1.027 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00032/0.1155, allocations: 395.3 kB / 447.2 MB, free: 0.582 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.605e-06/0.1155, allocations: 3.984 kB / 447.2 MB, free: 0.5781 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.866e-05/0.1155, allocations: 8 kB / 447.2 MB, free: 0.5703 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.934e-06/0.1155, allocations: 0 / 447.2 MB, free: 0.5703 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.267e-06/0.1156, allocations: 7.938 kB / 447.2 MB, free: 0.5625 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.503e-06/0.1156, allocations: 0 / 447.2 MB, free: 0.5625 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.1156, allocations: 0 / 447.2 MB, free: 0.5625 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001732/0.1157, allocations: 204.5 kB / 447.4 MB, free: 352 kB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.54e-05/0.1158, allocations: 92.91 kB / 447.5 MB, free: 240 kB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.318e-05/0.1158, allocations: 12.19 kB / 447.5 MB, free: 228 kB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.765e-05/0.1159, allocations: 8 kB / 447.5 MB, free: 220 kB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.877e-05/0.1159, allocations: 7.984 kB / 447.5 MB, free: 212 kB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.275e-05/0.1159, allocations: 4 kB / 447.5 MB, free: 208 kB / 318.1 MB Notification: Performance of sorting global known variables: time 8.459e-05/0.116, allocations: 156.9 kB / 447.7 MB, free: 52 kB / 318.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.116, allocations: 0 / 447.7 MB, free: 52 kB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002472/0.1163, allocations: 20 kB / 447.7 MB, free: 32 kB / 318.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.001111/0.1174, allocations: 466.1 kB / 448.1 MB, free: 15.66 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001912/0.1176, allocations: 67.91 kB / 448.2 MB, free: 15.59 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.853e-06/0.1176, allocations: 0 / 448.2 MB, free: 15.59 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 7.516e-05/0.1177, allocations: 31.92 kB / 448.2 MB, free: 15.56 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000339/0.1181, allocations: 31.91 kB / 448.3 MB, free: 15.53 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004541/0.1185, allocations: 257.1 kB / 448.5 MB, free: 15.25 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000249/0.1188, allocations: 0.7002 MB / 449.2 MB, free: 14.52 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.587e-05/0.1188, allocations: 19.42 kB / 449.2 MB, free: 14.5 MB / 334.1 MB Notification: Performance of SimCode: time 2.31e-07/0.1188, allocations: 0 / 449.2 MB, free: 14.5 MB / 334.1 MB Notification: Performance of Templates: time 0.00356/0.1224, allocations: 1.919 MB / 451.2 MB, free: 12.59 MB / 334.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test42.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test42.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test42.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test42.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test42.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test42 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test42.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test42_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test42/Test42.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test42.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches