Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test44.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.Test44,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.Test44") translateModel(ModelicaTest.Tables.CombiTimeTable.Test44,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.Test44") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008275/0.0008275, allocations: 94.55 kB / 18 MB, free: 5.602 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.000953/0.0009532, allocations: 177.6 kB / 18.91 MB, free: 4.738 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.41/1.41, allocations: 223.3 MB / 243 MB, free: 24 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2067/0.2067, allocations: 44.25 MB / 338.3 MB, free: 2.629 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003347/0.0003348, allocations: 15.98 kB / 411 MB, free: 27.28 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1193/0.1197, allocations: 61.92 MB / 472.9 MB, free: 13.32 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test44): time 0.002206/0.1219, allocations: 1.413 MB / 474.3 MB, free: 11.9 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001358/0.1233, allocations: 0.846 MB / 475.2 MB, free: 11.05 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.462e-05/0.1234, allocations: 3.938 kB / 475.2 MB, free: 11.05 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003052/0.1237, allocations: 39.88 kB / 475.2 MB, free: 11.01 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001809/0.1239, allocations: 43.83 kB / 475.3 MB, free: 10.96 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003212/0.1243, allocations: 106.5 kB / 475.4 MB, free: 10.86 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001733/0.1244, allocations: 87.7 kB / 475.5 MB, free: 10.78 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001031/0.1245, allocations: 16.22 kB / 475.5 MB, free: 10.76 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.493e-05/0.1247, allocations: 35.8 kB / 475.5 MB, free: 10.72 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.656e-05/0.1247, allocations: 27.84 kB / 475.5 MB, free: 10.7 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.517e-05/0.1248, allocations: 4 kB / 475.5 MB, free: 10.69 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001055/0.1249, allocations: 39.98 kB / 475.6 MB, free: 10.65 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.288e-05/0.1249, allocations: 27.84 kB / 475.6 MB, free: 10.62 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.929e-05/0.125, allocations: 61.44 kB / 475.7 MB, free: 10.56 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001493/0.1252, allocations: 84.11 kB / 475.7 MB, free: 10.48 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.517e-06/0.1252, allocations: 0 / 475.7 MB, free: 10.48 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.603e-06/0.1252, allocations: 0 / 475.7 MB, free: 10.48 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.839e-06/0.1252, allocations: 0 / 475.7 MB, free: 10.48 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.000516/0.1257, allocations: 399.1 kB / 476.1 MB, free: 10.04 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.262e-05/0.1258, allocations: 11.97 kB / 476.1 MB, free: 10.03 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.132e-05/0.1258, allocations: 20.73 kB / 476.2 MB, free: 10.01 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002517/0.1261, allocations: 208.8 kB / 476.4 MB, free: 9.766 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.261e-05/0.1261, allocations: 4.312 kB / 476.4 MB, free: 9.762 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.245e-05/0.1261, allocations: 4.125 kB / 476.4 MB, free: 9.758 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001423/0.1263, allocations: 57.67 kB / 476.4 MB, free: 9.695 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.124e-05/0.1263, allocations: 3.984 kB / 476.4 MB, free: 9.691 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.437e-06/0.1263, allocations: 0 / 476.4 MB, free: 9.691 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.649e-06/0.1263, allocations: 0 / 476.4 MB, free: 9.691 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.489e-05/0.1264, allocations: 23.98 kB / 476.5 MB, free: 9.668 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003673/0.1268, allocations: 284.9 kB / 476.7 MB, free: 9.34 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001597/0.1269, allocations: 54.62 kB / 476.8 MB, free: 9.277 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.488e-05/0.127, allocations: 24.84 kB / 476.8 MB, free: 9.25 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.106e-05/0.127, allocations: 0 / 476.8 MB, free: 9.25 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001806/0.1272, allocations: 75.3 kB / 476.9 MB, free: 9.164 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.323e-06/0.1272, allocations: 0 / 476.9 MB, free: 9.164 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.000548/0.1278, allocations: 181.1 kB / 477.1 MB, free: 8.98 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.329e-05/0.1278, allocations: 51.41 kB / 477.1 MB, free: 8.918 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001906/0.128, allocations: 195.3 kB / 477.3 MB, free: 8.711 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.692e-05/0.1281, allocations: 29.7 kB / 477.3 MB, free: 8.676 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.106e-05/0.1281, allocations: 100.1 kB / 477.4 MB, free: 8.574 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.02e-05/0.1282, allocations: 19.72 kB / 477.5 MB, free: 8.555 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.854e-05/0.1282, allocations: 25.7 kB / 477.5 MB, free: 8.523 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001172/0.1283, allocations: 326.8 kB / 477.8 MB, free: 8.195 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.827e-05/0.1284, allocations: 23.94 kB / 477.8 MB, free: 8.172 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.041e-05/0.1284, allocations: 33.7 kB / 477.9 MB, free: 8.133 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001074/0.1286, allocations: 57.7 kB / 477.9 MB, free: 8.07 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.264e-06/0.1286, allocations: 0 / 477.9 MB, free: 8.07 MB / 350.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001863/0.1288, allocations: 113.8 kB / 478 MB, free: 7.953 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.355e-05/0.1288, allocations: 4 kB / 478 MB, free: 7.949 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.959e-06/0.1288, allocations: 0 / 478 MB, free: 7.949 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.243e-05/0.1288, allocations: 4 kB / 478 MB, free: 7.945 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.481e-05/0.1289, allocations: 16 kB / 478 MB, free: 7.93 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.639e-06/0.1289, allocations: 160 / 478 MB, free: 7.93 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.366e-05/0.129, allocations: 15.92 kB / 478.1 MB, free: 7.914 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.518e-06/0.129, allocations: 4 kB / 478.1 MB, free: 7.91 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 9.547e-05/0.1291, allocations: 129.1 kB / 478.2 MB, free: 7.777 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.172e-05/0.1291, allocations: 11.81 kB / 478.2 MB, free: 7.766 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.497e-05/0.1292, allocations: 29.31 kB / 478.2 MB, free: 7.738 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.194e-06/0.1292, allocations: 0 / 478.2 MB, free: 7.738 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.858e-06/0.1292, allocations: 0 / 478.2 MB, free: 7.738 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.364e-06/0.1292, allocations: 7.922 kB / 478.2 MB, free: 7.73 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004324/0.1296, allocations: 387.3 kB / 478.6 MB, free: 7.293 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.804e-06/0.1297, allocations: 0 / 478.6 MB, free: 7.293 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.472e-05/0.1297, allocations: 16.02 kB / 478.6 MB, free: 7.277 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.655e-06/0.1297, allocations: 0 / 478.6 MB, free: 7.277 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.445e-05/0.1297, allocations: 11.94 kB / 478.6 MB, free: 7.266 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.483e-06/0.1297, allocations: 0 / 478.6 MB, free: 7.266 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.1297, allocations: 0 / 478.6 MB, free: 7.266 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002276/0.13, allocations: 204.1 kB / 478.8 MB, free: 7.047 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.045e-05/0.13, allocations: 93 kB / 478.9 MB, free: 6.938 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.627e-05/0.1301, allocations: 11.94 kB / 479 MB, free: 6.926 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.883e-05/0.1301, allocations: 0 / 479 MB, free: 6.926 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.189e-05/0.1302, allocations: 11.98 kB / 479 MB, free: 6.914 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.704e-05/0.1302, allocations: 4 kB / 479 MB, free: 6.91 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001247/0.1303, allocations: 148.9 kB / 479.1 MB, free: 6.766 MB / 350.1 MB Notification: Performance of sort global known variables: time 2.51e-07/0.1303, allocations: 0 / 479.1 MB, free: 6.766 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002619/0.1306, allocations: 24 kB / 479.1 MB, free: 6.742 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.001057/0.1317, allocations: 469 kB / 479.6 MB, free: 6.457 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001681/0.1319, allocations: 55.91 kB / 479.6 MB, free: 6.402 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.733e-06/0.1319, allocations: 0 / 479.6 MB, free: 6.402 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 8.047e-05/0.1319, allocations: 36.05 kB / 479.7 MB, free: 6.367 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003411/0.1323, allocations: 31.92 kB / 479.7 MB, free: 6.336 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004618/0.1328, allocations: 284 kB / 480 MB, free: 6.023 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002804/0.1331, allocations: 0.7083 MB / 480.7 MB, free: 5.289 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.74e-05/0.1331, allocations: 15.44 kB / 480.7 MB, free: 5.273 MB / 350.1 MB Notification: Performance of SimCode: time 2.61e-07/0.1331, allocations: 0 / 480.7 MB, free: 5.273 MB / 350.1 MB Notification: Performance of Templates: time 0.00363/0.1367, allocations: 1.914 MB / 482.6 MB, free: 3.371 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test44.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test44.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test44.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test44.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test44.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test44 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test44.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test44_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test44/Test44.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test44.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches