Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test41.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.Test41,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test41") translateModel(ModelicaTest.Tables.CombiTimeTable.Test41,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test41") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001031/0.001031, allocations: 106.3 kB / 17.98 MB, free: 5.402 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.0009979/0.0009979, allocations: 193.3 kB / 18.91 MB, free: 4.477 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.325/1.325, allocations: 222.9 MB / 242.6 MB, free: 15.43 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2153/0.2153, allocations: 44.18 MB / 336.9 MB, free: 2.934 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001228/0.001228, allocations: 67.05 kB / 408.6 MB, free: 27.58 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1029/0.1042, allocations: 60.82 MB / 469.4 MB, free: 14.73 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test41): time 0.002969/0.1072, allocations: 1.765 MB / 471.1 MB, free: 12.95 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001494/0.1087, allocations: 0.8615 MB / 472 MB, free: 12.08 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000103/0.1088, allocations: 0 / 472 MB, free: 12.08 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003677/0.1092, allocations: 91.69 kB / 472.1 MB, free: 11.99 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002529/0.1095, allocations: 63.8 kB / 472.2 MB, free: 11.93 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003457/0.1098, allocations: 91.83 kB / 472.2 MB, free: 11.84 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000189/0.11, allocations: 111.7 kB / 472.4 MB, free: 11.73 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.596e-05/0.1101, allocations: 4.234 kB / 472.4 MB, free: 11.72 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00012/0.1102, allocations: 55.72 kB / 472.4 MB, free: 11.67 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001108/0.1104, allocations: 59.81 kB / 472.5 MB, free: 11.61 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.792e-05/0.1104, allocations: 4 kB / 472.5 MB, free: 11.61 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001173/0.1105, allocations: 47.97 kB / 472.5 MB, free: 11.56 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.396e-05/0.1106, allocations: 19.92 kB / 472.5 MB, free: 11.54 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.667e-05/0.1106, allocations: 35.73 kB / 472.6 MB, free: 11.5 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001949/0.1108, allocations: 92.09 kB / 472.7 MB, free: 11.41 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.131e-06/0.1109, allocations: 0 / 472.7 MB, free: 11.41 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.483e-06/0.1109, allocations: 3.938 kB / 472.7 MB, free: 11.41 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.841e-06/0.1109, allocations: 4 kB / 472.7 MB, free: 11.41 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.0005847/0.1115, allocations: 422.9 kB / 473.1 MB, free: 10.95 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.121e-05/0.1115, allocations: 12.03 kB / 473.1 MB, free: 10.93 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.755e-05/0.1116, allocations: 8.844 kB / 473.1 MB, free: 10.93 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002549/0.1118, allocations: 212.5 kB / 473.3 MB, free: 10.68 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.503e-05/0.1119, allocations: 4.359 kB / 473.3 MB, free: 10.68 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.416e-05/0.1119, allocations: 8.125 kB / 473.3 MB, free: 10.67 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001547/0.112, allocations: 53.67 kB / 473.4 MB, free: 10.61 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.175e-05/0.1121, allocations: 0 / 473.4 MB, free: 10.61 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.224e-05/0.1121, allocations: 0 / 473.4 MB, free: 10.61 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.759e-06/0.1121, allocations: 0 / 473.4 MB, free: 10.61 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.942e-05/0.1122, allocations: 27.92 kB / 473.4 MB, free: 10.58 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003871/0.1126, allocations: 284.9 kB / 473.7 MB, free: 10.25 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001696/0.1128, allocations: 62.67 kB / 473.7 MB, free: 10.18 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.145e-05/0.1128, allocations: 20.86 kB / 473.8 MB, free: 10.16 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.228e-05/0.1128, allocations: 4 kB / 473.8 MB, free: 10.16 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000194/0.113, allocations: 67.33 kB / 473.8 MB, free: 10.08 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.723e-06/0.1131, allocations: 4 kB / 473.8 MB, free: 10.07 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005638/0.1136, allocations: 177 kB / 474 MB, free: 9.895 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.836e-05/0.1137, allocations: 55.41 kB / 474.1 MB, free: 9.828 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002027/0.1139, allocations: 219.4 kB / 474.3 MB, free: 9.602 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.05e-05/0.1139, allocations: 33.7 kB / 474.3 MB, free: 9.562 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.314e-05/0.114, allocations: 104.1 kB / 474.4 MB, free: 9.457 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.299e-05/0.114, allocations: 23.66 kB / 474.4 MB, free: 9.434 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.121e-05/0.1141, allocations: 21.72 kB / 474.5 MB, free: 9.406 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001372/0.1142, allocations: 334.8 kB / 474.8 MB, free: 9.07 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.662e-05/0.1143, allocations: 12 kB / 474.8 MB, free: 9.059 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.598e-05/0.1144, allocations: 41.64 kB / 474.8 MB, free: 9.012 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001191/0.1145, allocations: 69.62 kB / 474.9 MB, free: 8.938 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.193e-06/0.1145, allocations: 0 / 474.9 MB, free: 8.938 MB / 350.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001894/0.1147, allocations: 97.53 kB / 475 MB, free: 8.836 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.471e-05/0.1147, allocations: 4 kB / 475 MB, free: 8.832 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.779e-06/0.1147, allocations: 0 / 475 MB, free: 8.832 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.485e-05/0.1147, allocations: 7.984 kB / 475 MB, free: 8.824 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.679e-05/0.1148, allocations: 12 kB / 475 MB, free: 8.812 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.484e-06/0.1149, allocations: 0 / 475 MB, free: 8.812 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.927e-05/0.1149, allocations: 15.97 kB / 475 MB, free: 8.797 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.233e-06/0.1149, allocations: 0 / 475 MB, free: 8.797 MB / 350.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.0001057/0.115, allocations: 133.8 kB / 475.2 MB, free: 8.656 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.222e-05/0.1151, allocations: 15.81 kB / 475.2 MB, free: 8.641 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.33e-05/0.1151, allocations: 17.39 kB / 475.2 MB, free: 8.625 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.234e-06/0.1151, allocations: 0 / 475.2 MB, free: 8.625 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.138e-06/0.1151, allocations: 0 / 475.2 MB, free: 8.625 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.364e-06/0.1152, allocations: 7.938 kB / 475.2 MB, free: 8.617 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004362/0.1156, allocations: 395.3 kB / 475.6 MB, free: 8.172 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.1156, allocations: 0 / 475.6 MB, free: 8.172 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.549e-05/0.1156, allocations: 15.92 kB / 475.6 MB, free: 8.156 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.776e-06/0.1157, allocations: 0 / 475.6 MB, free: 8.156 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.191e-05/0.1157, allocations: 4.312 kB / 475.6 MB, free: 8.152 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.818e-06/0.1157, allocations: 4 kB / 475.6 MB, free: 8.148 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/0.1157, allocations: 0 / 475.6 MB, free: 8.148 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002403/0.1159, allocations: 208.2 kB / 475.8 MB, free: 7.926 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.586e-05/0.116, allocations: 85.02 kB / 475.9 MB, free: 7.824 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.583e-05/0.116, allocations: 7.922 kB / 475.9 MB, free: 7.816 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.068e-05/0.1161, allocations: 4 kB / 475.9 MB, free: 7.812 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.87e-05/0.1161, allocations: 4 kB / 475.9 MB, free: 7.809 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.729e-05/0.1162, allocations: 15.86 kB / 475.9 MB, free: 7.793 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001315/0.1163, allocations: 155.2 kB / 476.1 MB, free: 7.641 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.1163, allocations: 0 / 476.1 MB, free: 7.641 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002606/0.1166, allocations: 28 kB / 476.1 MB, free: 7.613 MB / 350.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.001063/0.1177, allocations: 467.9 kB / 476.6 MB, free: 7.336 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001862/0.1179, allocations: 67.89 kB / 476.6 MB, free: 7.27 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.033e-06/0.1179, allocations: 0 / 476.6 MB, free: 7.27 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 8.211e-05/0.1179, allocations: 31.98 kB / 476.7 MB, free: 7.238 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003412/0.1183, allocations: 27.92 kB / 476.7 MB, free: 7.211 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004825/0.1188, allocations: 296.8 kB / 477 MB, free: 6.887 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002726/0.1191, allocations: 0.708 MB / 477.7 MB, free: 6.152 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.676e-05/0.1191, allocations: 15.44 kB / 477.7 MB, free: 6.137 MB / 350.1 MB Notification: Performance of SimCode: time 3.41e-07/0.1191, allocations: 4 kB / 477.7 MB, free: 6.133 MB / 350.1 MB Notification: Performance of Templates: time 0.003826/0.123, allocations: 1.952 MB / 479.7 MB, free: 4.191 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test41.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test41.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test41.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test41.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test41.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test41 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test41.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test41_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test41/Test41.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test41.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches