Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test43.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.Test43,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.Test43") translateModel(ModelicaTest.Tables.CombiTimeTable.Test43,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.Test43") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001474/0.001474, allocations: 104.3 kB / 18.4 MB, free: 4.57 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.001499/0.001499, allocations: 187 kB / 19.34 MB, free: 3.641 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.384/1.384, allocations: 222.9 MB / 243 MB, free: 15.07 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.2076/0.2076, allocations: 44.18 MB / 337.4 MB, free: 2.707 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001308/0.001308, allocations: 67.89 kB / 409.9 MB, free: 26.54 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1066/0.1079, allocations: 60.83 MB / 470.7 MB, free: 13.66 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test43): time 0.003617/0.1115, allocations: 1.69 MB / 472.4 MB, free: 11.96 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001423/0.113, allocations: 0.8886 MB / 473.3 MB, free: 11.07 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001073/0.1131, allocations: 0 / 473.3 MB, free: 11.07 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003038/0.1134, allocations: 35.77 kB / 473.3 MB, free: 11.04 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002541/0.1137, allocations: 63.69 kB / 473.4 MB, free: 10.97 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003544/0.1141, allocations: 111.6 kB / 473.5 MB, free: 10.86 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001842/0.1143, allocations: 91.73 kB / 473.6 MB, free: 10.77 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001055/0.1144, allocations: 20.16 kB / 473.6 MB, free: 10.75 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.844e-05/0.1145, allocations: 43.78 kB / 473.7 MB, free: 10.71 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.987e-05/0.1146, allocations: 27.84 kB / 473.7 MB, free: 10.68 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.765e-05/0.1146, allocations: 4 kB / 473.7 MB, free: 10.68 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001126/0.1147, allocations: 43.98 kB / 473.7 MB, free: 10.63 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.222e-05/0.1148, allocations: 19.86 kB / 473.8 MB, free: 10.61 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.184e-05/0.1149, allocations: 39.73 kB / 473.8 MB, free: 10.57 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002671/0.1152, allocations: 111.6 kB / 473.9 MB, free: 10.46 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.849e-06/0.1152, allocations: 0 / 473.9 MB, free: 10.46 MB / 350.1 MB Notification: Performance of FrontEnd: time 3.877e-06/0.1152, allocations: 0 / 473.9 MB, free: 10.46 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.412e-06/0.1152, allocations: 3.938 kB / 473.9 MB, free: 10.46 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.0006186/0.1158, allocations: 418.9 kB / 474.3 MB, free: 10 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.573e-05/0.1159, allocations: 8.031 kB / 474.3 MB, free: 9.996 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.235e-05/0.1159, allocations: 8.844 kB / 474.3 MB, free: 9.988 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003245/0.1163, allocations: 218.6 kB / 474.5 MB, free: 9.738 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.693e-05/0.1163, allocations: 384 / 474.5 MB, free: 9.738 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.611e-05/0.1163, allocations: 8.125 kB / 474.6 MB, free: 9.73 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000163/0.1165, allocations: 53.67 kB / 474.6 MB, free: 9.672 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.28e-05/0.1165, allocations: 0 / 474.6 MB, free: 9.672 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.186e-05/0.1165, allocations: 0 / 474.6 MB, free: 9.672 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.616e-06/0.1165, allocations: 4 kB / 474.6 MB, free: 9.668 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.353e-05/0.1166, allocations: 15.98 kB / 474.6 MB, free: 9.652 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004597/0.1171, allocations: 300.7 kB / 474.9 MB, free: 9.309 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001799/0.1173, allocations: 54.67 kB / 475 MB, free: 9.246 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.78e-05/0.1174, allocations: 20.84 kB / 475 MB, free: 9.223 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.584e-05/0.1174, allocations: 0 / 475 MB, free: 9.223 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001543/0.1175, allocations: 63.39 kB / 475.1 MB, free: 9.148 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 3.006e-06/0.1176, allocations: 4 kB / 475.1 MB, free: 9.145 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005712/0.1181, allocations: 185.1 kB / 475.2 MB, free: 8.957 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.063e-05/0.1182, allocations: 51.41 kB / 475.3 MB, free: 8.895 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002067/0.1184, allocations: 199.3 kB / 475.5 MB, free: 8.684 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.317e-05/0.1184, allocations: 37.64 kB / 475.5 MB, free: 8.641 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.638e-05/0.1185, allocations: 100.1 kB / 475.6 MB, free: 8.539 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.391e-05/0.1186, allocations: 19.72 kB / 475.6 MB, free: 8.52 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.339e-05/0.1186, allocations: 25.7 kB / 475.7 MB, free: 8.488 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001379/0.1188, allocations: 330.8 kB / 476 MB, free: 8.156 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.074e-05/0.1188, allocations: 16 kB / 476 MB, free: 8.141 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.362e-05/0.1189, allocations: 41.64 kB / 476 MB, free: 8.094 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001161/0.119, allocations: 61.77 kB / 476.1 MB, free: 8.027 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.876e-06/0.119, allocations: 0 / 476.1 MB, free: 8.027 MB / 350.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000187/0.1192, allocations: 105.5 kB / 476.2 MB, free: 7.918 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.462e-05/0.1193, allocations: 4 kB / 476.2 MB, free: 7.914 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5e-06/0.1193, allocations: 0 / 476.2 MB, free: 7.914 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.83e-05/0.1193, allocations: 3.984 kB / 476.2 MB, free: 7.91 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001139/0.1194, allocations: 24.31 kB / 476.2 MB, free: 7.887 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.601e-06/0.1194, allocations: 0 / 476.2 MB, free: 7.887 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.666e-05/0.1195, allocations: 3.938 kB / 476.2 MB, free: 7.883 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.178e-05/0.1195, allocations: 8 kB / 476.3 MB, free: 7.875 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.0001231/0.1196, allocations: 129.8 kB / 476.4 MB, free: 7.738 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.488e-05/0.1197, allocations: 15.84 kB / 476.4 MB, free: 7.723 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.733e-05/0.1197, allocations: 17.39 kB / 476.4 MB, free: 7.707 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.098e-06/0.1197, allocations: 4 kB / 476.4 MB, free: 7.703 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.759e-06/0.1197, allocations: 0 / 476.4 MB, free: 7.703 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.861e-06/0.1197, allocations: 3.938 kB / 476.4 MB, free: 7.699 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004544/0.1202, allocations: 387.3 kB / 476.8 MB, free: 7.262 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.485e-06/0.1202, allocations: 0 / 476.8 MB, free: 7.262 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.362e-05/0.1203, allocations: 8 kB / 476.8 MB, free: 7.254 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.168e-06/0.1203, allocations: 8.016 kB / 476.8 MB, free: 7.246 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.107e-05/0.1203, allocations: 3.938 kB / 476.8 MB, free: 7.242 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.276e-06/0.1203, allocations: 4 kB / 476.8 MB, free: 7.238 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.406e-06/0.1203, allocations: 3.984 kB / 476.8 MB, free: 7.234 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002304/0.1205, allocations: 208.1 kB / 477 MB, free: 7.012 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.838e-05/0.1206, allocations: 85.02 kB / 477.1 MB, free: 6.91 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.474e-05/0.1206, allocations: 3.938 kB / 477.1 MB, free: 6.906 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.195e-05/0.1207, allocations: 11.92 kB / 477.1 MB, free: 6.895 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.525e-05/0.1207, allocations: 8 kB / 477.1 MB, free: 6.887 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.721e-05/0.1208, allocations: 4 kB / 477.1 MB, free: 6.883 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001277/0.1209, allocations: 151.9 kB / 477.3 MB, free: 6.734 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.71e-07/0.1209, allocations: 0 / 477.3 MB, free: 6.734 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002674/0.1212, allocations: 27.98 kB / 477.3 MB, free: 6.707 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.00107/0.1223, allocations: 467.9 kB / 477.8 MB, free: 6.426 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001939/0.1225, allocations: 51.98 kB / 477.8 MB, free: 6.375 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.455e-06/0.1225, allocations: 4 kB / 477.8 MB, free: 6.371 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 7.589e-05/0.1226, allocations: 32.06 kB / 477.9 MB, free: 6.34 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003418/0.1229, allocations: 34.91 kB / 477.9 MB, free: 6.309 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004863/0.1234, allocations: 231.1 kB / 478.1 MB, free: 6.051 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002617/0.1237, allocations: 0.7119 MB / 478.8 MB, free: 5.312 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 5.213e-05/0.1238, allocations: 16.89 kB / 478.8 MB, free: 5.297 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.814e-05/0.1238, allocations: 23.36 kB / 478.9 MB, free: 5.273 MB / 350.1 MB Notification: Performance of SimCode: time 2.5e-07/0.1238, allocations: 0 / 478.9 MB, free: 5.273 MB / 350.1 MB Notification: Performance of Templates: time 0.00444/0.1283, allocations: 1.696 MB / 480.6 MB, free: 3.59 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test43.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test43.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test43.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test43.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test43.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test43 -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test43.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test43_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test43/Test43.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test43.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches