Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test32.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.Test32,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.Test32") translateModel(ModelicaTest.Tables.CombiTimeTable.Test32,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.Test32") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001676/0.001676, allocations: 113.4 kB / 17.78 MB, free: 5.27 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.00166/0.001661, allocations: 180.1 kB / 18.71 MB, free: 4.348 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.283/1.283, allocations: 222.9 MB / 242.4 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.1939/0.1939, allocations: 44.18 MB / 336.7 MB, free: 2.668 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001204/0.001204, allocations: 67.91 kB / 470.6 MB, free: 1.273 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1202/0.1214, allocations: 60.83 MB / 0.519 GB, free: 4.379 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test32): time 0.003005/0.1245, allocations: 1.707 MB / 0.5207 GB, free: 2.66 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001251/0.1258, allocations: 0.8846 MB / 0.5215 GB, free: 1.77 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.577e-05/0.1258, allocations: 4 kB / 0.5215 GB, free: 1.766 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002913/0.1261, allocations: 35.83 kB / 0.5216 GB, free: 1.73 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002108/0.1264, allocations: 51.7 kB / 0.5216 GB, free: 1.68 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002636/0.1266, allocations: 111.6 kB / 0.5217 GB, free: 1.57 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001567/0.1268, allocations: 95.75 kB / 0.5218 GB, free: 1.477 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001/0.1269, allocations: 8.219 kB / 0.5218 GB, free: 1.465 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.019e-05/0.127, allocations: 39.8 kB / 0.5218 GB, free: 1.426 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.867e-05/0.1271, allocations: 31.86 kB / 0.5219 GB, free: 1.395 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.656e-05/0.1271, allocations: 7.938 kB / 0.5219 GB, free: 1.387 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.348e-05/0.1272, allocations: 43.97 kB / 0.5219 GB, free: 1.344 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 6.194e-05/0.1273, allocations: 15.98 kB / 0.5219 GB, free: 1.328 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 5.508e-05/0.1273, allocations: 35.73 kB / 0.522 GB, free: 1.293 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001843/0.1275, allocations: 111.6 kB / 0.5221 GB, free: 1.184 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.819e-06/0.1276, allocations: 0 / 0.5221 GB, free: 1.184 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.863e-06/0.1276, allocations: 0 / 0.5221 GB, free: 1.184 MB / 446.1 MB Notification: Performance of Transformations before backend: time 6.072e-06/0.1276, allocations: 0 / 0.5221 GB, free: 1.184 MB / 446.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.0004944/0.1281, allocations: 415 kB / 0.5225 GB, free: 0.7305 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.091e-05/0.1281, allocations: 12.03 kB / 0.5225 GB, free: 0.7188 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.258e-05/0.1282, allocations: 8.844 kB / 0.5225 GB, free: 0.7109 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002624/0.1284, allocations: 212.1 kB / 0.5227 GB, free: 476 kB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.206e-05/0.1285, allocations: 384 / 0.5227 GB, free: 476 kB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.73e-05/0.1285, allocations: 8.125 kB / 0.5227 GB, free: 468 kB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001438/0.1286, allocations: 57.61 kB / 0.5228 GB, free: 404 kB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.008e-05/0.1287, allocations: 0 / 0.5228 GB, free: 404 kB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.899e-06/0.1287, allocations: 0 / 0.5228 GB, free: 404 kB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.447e-06/0.1287, allocations: 0 / 0.5228 GB, free: 404 kB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.916e-05/0.1288, allocations: 23.98 kB / 0.5228 GB, free: 380 kB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003236/0.1291, allocations: 284.8 kB / 0.5231 GB, free: 44 kB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001767/0.1293, allocations: 62.61 kB / 0.5231 GB, free: 15.97 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.078e-05/0.1293, allocations: 20.84 kB / 0.5231 GB, free: 15.95 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.355e-05/0.1294, allocations: 11.94 kB / 0.5231 GB, free: 15.94 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001297/0.1295, allocations: 63.39 kB / 0.5232 GB, free: 15.86 MB / 462.1 MB Notification: Performance of pre-optimization done (n=6): time 1.273e-06/0.1295, allocations: 0 / 0.5232 GB, free: 15.86 MB / 462.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005102/0.13, allocations: 185.2 kB / 0.5234 GB, free: 15.67 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.707e-05/0.1301, allocations: 55.41 kB / 0.5234 GB, free: 15.61 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001534/0.1302, allocations: 178.2 kB / 0.5236 GB, free: 15.42 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 1.511e-05/0.1303, allocations: 29.7 kB / 0.5236 GB, free: 15.39 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.909e-05/0.1303, allocations: 108.1 kB / 0.5237 GB, free: 15.28 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.842e-05/0.1303, allocations: 23.7 kB / 0.5238 GB, free: 15.25 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.599e-05/0.1304, allocations: 21.72 kB / 0.5238 GB, free: 15.23 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001125/0.1305, allocations: 326.8 kB / 0.5241 GB, free: 14.9 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.543e-05/0.1306, allocations: 23.98 kB / 0.5241 GB, free: 14.88 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.344e-05/0.1306, allocations: 37.64 kB / 0.5242 GB, free: 14.83 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001031/0.1307, allocations: 57.72 kB / 0.5242 GB, free: 14.77 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.52e-07/0.1308, allocations: 4 kB / 0.5242 GB, free: 14.77 MB / 462.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001634/0.1309, allocations: 97.52 kB / 0.5243 GB, free: 14.66 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.288e-05/0.1309, allocations: 4 kB / 0.5243 GB, free: 14.66 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.479e-06/0.131, allocations: 0 / 0.5243 GB, free: 14.66 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.311e-05/0.131, allocations: 4 kB / 0.5243 GB, free: 14.66 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.388e-05/0.1311, allocations: 19.92 kB / 0.5243 GB, free: 14.64 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.719e-06/0.1311, allocations: 0 / 0.5243 GB, free: 14.64 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.706e-05/0.1311, allocations: 11.94 kB / 0.5243 GB, free: 14.62 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.296e-06/0.1311, allocations: 8.031 kB / 0.5244 GB, free: 14.62 MB / 462.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.127e-05/0.1312, allocations: 128.7 kB / 0.5245 GB, free: 14.48 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.018e-05/0.1313, allocations: 11.81 kB / 0.5245 GB, free: 14.47 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.927e-05/0.1313, allocations: 12.72 kB / 0.5245 GB, free: 14.46 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.256e-06/0.1313, allocations: 4 kB / 0.5245 GB, free: 14.45 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.637e-06/0.1313, allocations: 0 / 0.5245 GB, free: 14.45 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.148e-06/0.1313, allocations: 3.938 kB / 0.5245 GB, free: 14.45 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003751/0.1317, allocations: 395.3 kB / 0.5249 GB, free: 14 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-06/0.1317, allocations: 0 / 0.5249 GB, free: 14 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.886e-05/0.1318, allocations: 8 kB / 0.5249 GB, free: 14 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.116e-06/0.1318, allocations: 4 kB / 0.5249 GB, free: 13.99 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.169e-05/0.1318, allocations: 7.938 kB / 0.5249 GB, free: 13.98 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.262e-06/0.1318, allocations: 0 / 0.5249 GB, free: 13.98 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.02e-07/0.1318, allocations: 0 / 0.5249 GB, free: 13.98 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002034/0.132, allocations: 204.4 kB / 0.5251 GB, free: 13.77 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.653e-05/0.1321, allocations: 92.91 kB / 0.5252 GB, free: 13.66 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.407e-05/0.1321, allocations: 15.88 kB / 0.5252 GB, free: 13.64 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.347e-05/0.1322, allocations: 0 / 0.5252 GB, free: 13.64 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.546e-05/0.1322, allocations: 7.984 kB / 0.5252 GB, free: 13.63 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.363e-05/0.1322, allocations: 4.375 kB / 0.5252 GB, free: 13.63 MB / 462.1 MB Notification: Performance of sorting global known variables: time 9.858e-05/0.1323, allocations: 148 kB / 0.5254 GB, free: 13.48 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1323, allocations: 0 / 0.5254 GB, free: 13.48 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0002431/0.1326, allocations: 23.98 kB / 0.5254 GB, free: 13.46 MB / 462.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.0009724/0.1336, allocations: 477.1 kB / 0.5258 GB, free: 13.18 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0001797/0.1338, allocations: 59.91 kB / 0.5259 GB, free: 13.12 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 4.318e-06/0.1338, allocations: 8.062 kB / 0.5259 GB, free: 13.11 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 6.299e-05/0.1338, allocations: 23.94 kB / 0.5259 GB, free: 13.09 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00032/0.1342, allocations: 27.97 kB / 0.5259 GB, free: 13.06 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004076/0.1346, allocations: 219.5 kB / 0.5262 GB, free: 12.81 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002392/0.1348, allocations: 0.7041 MB / 0.5268 GB, free: 12.08 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 4.288e-05/0.1349, allocations: 12.88 kB / 0.5269 GB, free: 12.07 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.251e-05/0.1349, allocations: 15.44 kB / 0.5269 GB, free: 12.05 MB / 462.1 MB Notification: Performance of SimCode: time 2.21e-07/0.1349, allocations: 0 / 0.5269 GB, free: 12.05 MB / 462.1 MB Notification: Performance of Templates: time 0.004171/0.1391, allocations: 1.754 MB / 0.5286 GB, free: 10.32 MB / 462.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test32.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test32.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test32.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test32.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test32.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test32 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test32.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test32_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test32/Test32.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test32.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches