Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test70.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.Test70,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|startTime_0.y.1.|startTime.y.1.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test70") translateModel(ModelicaTest.Tables.CombiTimeTable.Test70,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|startTime_0.y.1.|startTime.y.1.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test70") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001141/0.00114, allocations: 106.4 kB / 17.03 MB, free: 5.703 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.001004/0.001004, allocations: 194.9 kB / 17.96 MB, free: 5.082 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.408/1.408, allocations: 205.1 MB / 223.8 MB, free: 12.26 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.2387/0.2387, allocations: 43.53 MB / 314.7 MB, free: 468 kB / 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.001444/0.001444, allocations: 69.89 kB / 384.2 MB, free: 56.42 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1039/0.1054, allocations: 57.79 MB / 442 MB, free: 6.121 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test70): time 0.002483/0.1079, allocations: 1.778 MB / 443.7 MB, free: 4.328 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001087/0.109, allocations: 0.8741 MB / 444.6 MB, free: 3.445 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.878e-05/0.1091, allocations: 0 / 444.6 MB, free: 3.445 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004116/0.1095, allocations: 311.2 kB / 444.9 MB, free: 3.141 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002721/0.1098, allocations: 215.3 kB / 445.1 MB, free: 2.93 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002696/0.1101, allocations: 143.5 kB / 445.3 MB, free: 2.793 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001914/0.1103, allocations: 239.4 kB / 445.5 MB, free: 2.559 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.498e-05/0.1103, allocations: 9.562 kB / 445.5 MB, free: 2.551 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001102/0.1104, allocations: 127.6 kB / 445.6 MB, free: 2.426 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001528/0.1106, allocations: 191.5 kB / 445.8 MB, free: 2.238 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.156e-05/0.1106, allocations: 8 kB / 445.8 MB, free: 2.23 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.082e-05/0.1107, allocations: 47.97 kB / 445.9 MB, free: 2.184 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001115/0.1108, allocations: 127.6 kB / 446 MB, free: 2.059 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 9.51e-05/0.1109, allocations: 154.8 kB / 446.2 MB, free: 1.906 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002465/0.1112, allocations: 366.6 kB / 446.5 MB, free: 1.547 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.025e-06/0.1112, allocations: 4 kB / 446.5 MB, free: 1.543 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.072e-06/0.1112, allocations: 0 / 446.5 MB, free: 1.543 MB / 318.1 MB Notification: Performance of Transformations before backend: time 4.979e-06/0.1112, allocations: 0 / 446.5 MB, free: 1.543 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0006985/0.1119, allocations: 0.7268 MB / 447.3 MB, free: 0.7656 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.176e-05/0.1119, allocations: 15.89 kB / 447.3 MB, free: 0.75 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.985e-05/0.112, allocations: 44.38 kB / 447.3 MB, free: 0.707 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004529/0.1125, allocations: 455.8 kB / 447.8 MB, free: 228 kB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.315e-05/0.1125, allocations: 4.375 kB / 447.8 MB, free: 224 kB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.313e-05/0.1125, allocations: 8.125 kB / 447.8 MB, free: 216 kB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001576/0.1127, allocations: 83.36 kB / 447.8 MB, free: 120 kB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.001e-05/0.1127, allocations: 3.984 kB / 447.9 MB, free: 116 kB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.388e-06/0.1127, allocations: 3.938 kB / 447.9 MB, free: 112 kB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.268e-06/0.1127, allocations: 0 / 447.9 MB, free: 112 kB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.014e-05/0.1128, allocations: 31.92 kB / 447.9 MB, free: 80 kB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003565/0.1132, allocations: 378.4 kB / 448.3 MB, free: 15.66 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002406/0.1134, allocations: 105.2 kB / 448.4 MB, free: 15.54 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.391e-05/0.1135, allocations: 49.62 kB / 448.4 MB, free: 15.48 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.402e-05/0.1135, allocations: 3.938 kB / 448.4 MB, free: 15.48 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001878/0.1137, allocations: 105 kB / 448.5 MB, free: 15.36 MB / 334.1 MB Notification: Performance of pre-optimization done (n=10): time 1.172e-06/0.1138, allocations: 0 / 448.5 MB, free: 15.36 MB / 334.1 MB Notification: Performance of matching and sorting (n=10): time 0.0004276/0.1142, allocations: 193 kB / 448.7 MB, free: 15.16 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.67e-05/0.1142, allocations: 93.03 kB / 448.8 MB, free: 15.05 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009495/0.1152, allocations: 1.034 MB / 449.8 MB, free: 14.01 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.595e-05/0.1152, allocations: 25.7 kB / 449.9 MB, free: 13.98 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001467/0.1154, allocations: 232.1 kB / 450.1 MB, free: 13.75 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.953e-05/0.1154, allocations: 27.64 kB / 450.1 MB, free: 13.72 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.197e-05/0.1155, allocations: 29.7 kB / 450.1 MB, free: 13.68 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001332/0.1156, allocations: 366.8 kB / 450.5 MB, free: 13.32 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.774e-05/0.1157, allocations: 31.98 kB / 450.5 MB, free: 13.29 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.679e-05/0.1158, allocations: 59.42 kB / 450.6 MB, free: 13.21 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001937/0.116, allocations: 87.34 kB / 450.7 MB, free: 13.12 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.797e-06/0.116, allocations: 0 / 450.7 MB, free: 13.12 MB / 334.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003104/0.1163, allocations: 177.5 kB / 450.8 MB, free: 12.94 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.432e-05/0.1164, allocations: 5.25 kB / 450.8 MB, free: 12.93 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.599e-06/0.1164, allocations: 0 / 450.8 MB, free: 12.93 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.396e-05/0.1164, allocations: 4 kB / 450.9 MB, free: 12.93 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001106/0.1165, allocations: 27.92 kB / 450.9 MB, free: 12.9 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.944e-06/0.1165, allocations: 4 kB / 450.9 MB, free: 12.9 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.766e-05/0.1166, allocations: 11.92 kB / 450.9 MB, free: 12.89 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.869e-06/0.1166, allocations: 4 kB / 450.9 MB, free: 12.88 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($PRE.startTime.nextTimeEvent,$whenCondition2,startTime.nextTimeEventScaled,$PRE.startTime.nextTimeEventScaled,startTime.nextTimeEvent,$PRE.startTime_0.nextTimeEvent,$whenCondition1,startTime_0.nextTimeEventScaled,$PRE.startTime_0.nextTimeEventScaled,startTime_0.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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.0001798/0.1168, allocations: 233.7 kB / 451.1 MB, free: 12.64 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.134e-05/0.1169, allocations: 47.34 kB / 451.2 MB, free: 12.6 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.939e-05/0.1169, allocations: 60 kB / 451.2 MB, free: 12.54 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.924e-06/0.117, allocations: 3.938 kB / 451.2 MB, free: 12.53 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.166e-06/0.117, allocations: 0 / 451.2 MB, free: 12.53 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.965e-06/0.117, allocations: 4 kB / 451.2 MB, free: 12.53 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002619/0.1172, allocations: 349.3 kB / 451.6 MB, free: 12.14 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.675e-06/0.1172, allocations: 7.938 kB / 451.6 MB, free: 12.13 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.281e-05/0.1173, allocations: 4 kB / 451.6 MB, free: 12.12 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.803e-06/0.1173, allocations: 4 kB / 451.6 MB, free: 12.12 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.065e-05/0.1173, allocations: 4 kB / 451.6 MB, free: 12.12 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.273e-06/0.1173, allocations: 0 / 451.6 MB, free: 12.12 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.41e-07/0.1173, allocations: 0 / 451.6 MB, free: 12.12 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003571/0.1177, allocations: 209.2 kB / 451.8 MB, free: 11.89 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001677/0.1179, allocations: 140.4 kB / 451.9 MB, free: 11.73 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.036e-05/0.1179, allocations: 0 / 451.9 MB, free: 11.73 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.796e-05/0.118, allocations: 12 kB / 452 MB, free: 11.72 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.565e-05/0.118, allocations: 7.984 kB / 452 MB, free: 11.71 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.566e-05/0.1181, allocations: 4 kB / 452 MB, free: 11.71 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0007299/0.1188, allocations: 0.7721 MB / 452.7 MB, free: 10.94 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1188, allocations: 0 / 452.7 MB, free: 10.94 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002524/0.1191, allocations: 40 kB / 452.8 MB, free: 10.9 MB / 334.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: 6 ($whenCondition2,startTime.nextTimeEvent,startTime.nextTimeEventScaled,$whenCondition1,startTime_0.nextTimeEvent,startTime_0.nextTimeEventScaled) * Number of discrete states: 4 (startTime_0.nextTimeEventScaled,startTime_0.nextTimeEvent,startTime.nextTimeEventScaled,startTime.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.0008957/0.12, allocations: 429 kB / 453.2 MB, free: 10.57 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0002441/0.1202, allocations: 83.91 kB / 453.3 MB, free: 10.49 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.657e-06/0.1202, allocations: 0 / 453.3 MB, free: 10.49 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 9.997e-05/0.1203, allocations: 43.91 kB / 453.3 MB, free: 10.45 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003824/0.1207, allocations: 76.72 kB / 453.4 MB, free: 10.38 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001115/0.1219, allocations: 0.8629 MB / 454.3 MB, free: 9.48 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003812/0.1222, allocations: 0.8427 MB / 455.1 MB, free: 8.613 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.000107/0.1224, allocations: 58.95 kB / 455.2 MB, free: 8.559 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.582e-05/0.1224, allocations: 27.42 kB / 455.2 MB, free: 8.531 MB / 334.1 MB Notification: Performance of SimCode: time 2.7e-07/0.1224, allocations: 4 kB / 455.2 MB, free: 8.527 MB / 334.1 MB Notification: Performance of Templates: time 0.007371/0.1298, allocations: 3.7 MB / 458.9 MB, free: 4.832 MB / 334.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test70.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test70.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test70.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test70.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test70.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test70 -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test70.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test70_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test70/Test70.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test70.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches