Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test24.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.Test24,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.Test24") translateModel(ModelicaTest.Tables.CombiTimeTable.Test24,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.Test24") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001608/0.001608, allocations: 113.2 kB / 17.33 MB, free: 5.988 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.001637/0.001637, allocations: 193.3 kB / 18.25 MB, free: 5.086 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.471/1.471, allocations: 222.9 MB / 241.9 MB, free: 15.39 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.2061/0.2061, allocations: 44.17 MB / 336.2 MB, free: 2.949 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00133/0.00133, allocations: 66.14 kB / 407.9 MB, free: 27.59 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1132/0.1145, allocations: 60.82 MB / 468.7 MB, free: 14.73 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test24): time 0.003491/0.1181, allocations: 1.761 MB / 470.5 MB, free: 12.96 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001425/0.1195, allocations: 0.8537 MB / 471.3 MB, free: 12.1 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.885e-05/0.1196, allocations: 0 / 471.3 MB, free: 12.1 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003352/0.12, allocations: 43.83 kB / 471.4 MB, free: 12.05 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002152/0.1202, allocations: 51.83 kB / 471.4 MB, free: 12 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002824/0.1205, allocations: 91.77 kB / 471.5 MB, free: 11.91 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001789/0.1207, allocations: 95.7 kB / 471.6 MB, free: 11.82 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001285/0.1209, allocations: 12.23 kB / 471.6 MB, free: 11.8 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.702e-05/0.121, allocations: 47.7 kB / 471.7 MB, free: 11.76 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.561e-05/0.121, allocations: 35.86 kB / 471.7 MB, free: 11.72 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.788e-05/0.1211, allocations: 4 kB / 471.7 MB, free: 11.72 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001029/0.1212, allocations: 43.97 kB / 471.8 MB, free: 11.68 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.244e-05/0.1212, allocations: 19.92 kB / 471.8 MB, free: 11.66 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.47e-05/0.1213, allocations: 39.73 kB / 471.8 MB, free: 11.62 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000196/0.1215, allocations: 111.9 kB / 471.9 MB, free: 11.51 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.178e-06/0.1215, allocations: 0 / 471.9 MB, free: 11.51 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.513e-06/0.1215, allocations: 0 / 471.9 MB, free: 11.51 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.833e-06/0.1215, allocations: 3.984 kB / 471.9 MB, free: 11.5 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.0005146/0.1221, allocations: 411 kB / 472.3 MB, free: 11.05 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.404e-05/0.1221, allocations: 12.03 kB / 472.3 MB, free: 11.04 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.57e-05/0.1221, allocations: 16.77 kB / 472.4 MB, free: 11.03 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000199/0.1224, allocations: 212.8 kB / 472.6 MB, free: 10.78 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.152e-05/0.1224, allocations: 384 / 472.6 MB, free: 10.78 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.098e-05/0.1224, allocations: 8.125 kB / 472.6 MB, free: 10.77 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001479/0.1226, allocations: 57.61 kB / 472.6 MB, free: 10.71 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.001e-05/0.1226, allocations: 0 / 472.6 MB, free: 10.71 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.172e-05/0.1226, allocations: 3.984 kB / 472.6 MB, free: 10.71 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.358e-06/0.1226, allocations: 0 / 472.6 MB, free: 10.71 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.179e-05/0.1227, allocations: 23.98 kB / 472.7 MB, free: 10.68 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000359/0.1231, allocations: 288.8 kB / 472.9 MB, free: 10.35 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000165/0.1232, allocations: 54.62 kB / 473 MB, free: 10.29 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.322e-05/0.1233, allocations: 24.84 kB / 473 MB, free: 10.26 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.176e-05/0.1233, allocations: 7.984 kB / 473 MB, free: 10.25 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001842/0.1235, allocations: 63.39 kB / 473.1 MB, free: 10.18 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.643e-06/0.1235, allocations: 0 / 473.1 MB, free: 10.18 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005693/0.1241, allocations: 173.1 kB / 473.3 MB, free: 10 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.255e-05/0.1242, allocations: 55.41 kB / 473.3 MB, free: 9.938 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001837/0.1244, allocations: 195.3 kB / 473.5 MB, free: 9.73 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.736e-05/0.1244, allocations: 25.7 kB / 473.5 MB, free: 9.699 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.78e-05/0.1244, allocations: 112.1 kB / 473.6 MB, free: 9.586 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.603e-05/0.1245, allocations: 23.7 kB / 473.7 MB, free: 9.562 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.146e-05/0.1245, allocations: 25.7 kB / 473.7 MB, free: 9.531 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001101/0.1247, allocations: 326.8 kB / 474 MB, free: 9.203 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.016e-05/0.1247, allocations: 20 kB / 474 MB, free: 9.184 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.545e-05/0.1248, allocations: 41.58 kB / 474.1 MB, free: 9.137 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001283/0.1249, allocations: 65.7 kB / 474.1 MB, free: 9.066 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.002e-06/0.125, allocations: 384 / 474.1 MB, free: 9.066 MB / 350.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001867/0.1251, allocations: 97.52 kB / 474.2 MB, free: 8.965 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.035e-05/0.1252, allocations: 10.66 kB / 474.2 MB, free: 8.957 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.882e-06/0.1252, allocations: 0 / 474.2 MB, free: 8.957 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.463e-05/0.1252, allocations: 0 / 474.2 MB, free: 8.957 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.203e-05/0.1253, allocations: 16 kB / 474.2 MB, free: 8.941 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.893e-06/0.1253, allocations: 4.156 kB / 474.3 MB, free: 8.938 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.287e-05/0.1254, allocations: 15.95 kB / 474.3 MB, free: 8.922 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.849e-06/0.1254, allocations: 11.92 kB / 474.3 MB, free: 8.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.32e-05/0.1255, allocations: 121.8 kB / 474.4 MB, free: 8.781 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.446e-05/0.1255, allocations: 15.81 kB / 474.4 MB, free: 8.766 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.578e-05/0.1256, allocations: 21.39 kB / 474.4 MB, free: 8.746 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.914e-06/0.1256, allocations: 0 / 474.4 MB, free: 8.746 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.988e-06/0.1256, allocations: 0 / 474.4 MB, free: 8.746 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.059e-06/0.1256, allocations: 7.938 kB / 474.4 MB, free: 8.738 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000418/0.126, allocations: 387.3 kB / 474.8 MB, free: 8.301 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.477e-06/0.126, allocations: 4 kB / 474.8 MB, free: 8.297 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.625e-05/0.1261, allocations: 11.98 kB / 474.8 MB, free: 8.285 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.787e-06/0.1261, allocations: 4 kB / 474.8 MB, free: 8.281 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.186e-05/0.1261, allocations: 3.938 kB / 474.8 MB, free: 8.277 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.543e-06/0.1261, allocations: 0 / 474.8 MB, free: 8.277 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.986e-06/0.1261, allocations: 4 kB / 474.8 MB, free: 8.273 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002294/0.1264, allocations: 212.2 kB / 475.1 MB, free: 8.047 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.942e-05/0.1264, allocations: 81.02 kB / 475.1 MB, free: 7.949 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.916e-05/0.1264, allocations: 11.92 kB / 475.1 MB, free: 7.938 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.2e-05/0.1265, allocations: 0 / 475.1 MB, free: 7.938 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.68e-05/0.1266, allocations: 4 kB / 475.1 MB, free: 7.934 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.839e-05/0.1266, allocations: 11.98 kB / 475.2 MB, free: 7.922 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001118/0.1267, allocations: 144.9 kB / 475.3 MB, free: 7.781 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.1267, allocations: 0 / 475.3 MB, free: 7.781 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002752/0.127, allocations: 31.98 kB / 475.3 MB, free: 7.75 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.001022/0.128, allocations: 464.6 kB / 475.8 MB, free: 7.469 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001817/0.1282, allocations: 63.89 kB / 475.8 MB, free: 7.406 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.533e-06/0.1282, allocations: 0 / 475.8 MB, free: 7.406 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 7.267e-05/0.1283, allocations: 35.92 kB / 475.9 MB, free: 7.371 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003573/0.1287, allocations: 35.8 kB / 475.9 MB, free: 7.34 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004743/0.1292, allocations: 263.2 kB / 476.2 MB, free: 7.055 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000265/0.1294, allocations: 0.7041 MB / 476.9 MB, free: 6.324 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 5.862e-05/0.1295, allocations: 17.17 kB / 476.9 MB, free: 6.309 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.353e-05/0.1296, allocations: 19.44 kB / 476.9 MB, free: 6.289 MB / 350.1 MB Notification: Performance of SimCode: time 3.21e-07/0.1296, allocations: 4 kB / 476.9 MB, free: 6.285 MB / 350.1 MB Notification: Performance of Templates: time 0.004568/0.1341, allocations: 1.684 MB / 478.6 MB, free: 4.617 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test24.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test24.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test24.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test24.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test24.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test24 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test24.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test24_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test24/Test24.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test24.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches