Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test42.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.Test42,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.Test42") translateModel(ModelicaTest.Tables.CombiTimeTable.Test42,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.Test42") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001208/0.001208, allocations: 107.1 kB / 18.39 MB, free: 4.629 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.001056/0.001056, allocations: 184.1 kB / 19.33 MB, free: 3.699 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.409/1.409, allocations: 222.9 MB / 243 MB, free: 15.09 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.2115/0.2115, allocations: 44.19 MB / 337.4 MB, free: 2.707 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001217/0.001217, allocations: 69.08 kB / 409.9 MB, free: 26.54 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1196/0.1209, allocations: 60.83 MB / 470.7 MB, free: 13.65 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test42): time 0.003046/0.124, allocations: 1.691 MB / 472.4 MB, free: 11.95 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001341/0.1253, allocations: 0.8847 MB / 473.3 MB, free: 11.06 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.665e-05/0.1254, allocations: 0 / 473.3 MB, free: 11.06 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003105/0.1257, allocations: 43.75 kB / 473.3 MB, free: 11.02 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002098/0.126, allocations: 55.77 kB / 473.4 MB, free: 10.96 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002884/0.1263, allocations: 115.1 kB / 473.5 MB, free: 10.86 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001695/0.1265, allocations: 95.69 kB / 473.6 MB, free: 10.76 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001002/0.1266, allocations: 12.22 kB / 473.6 MB, free: 10.75 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.935e-05/0.1266, allocations: 35.8 kB / 473.6 MB, free: 10.71 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.2e-05/0.1267, allocations: 31.84 kB / 473.7 MB, free: 10.68 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.791e-05/0.1268, allocations: 4 kB / 473.7 MB, free: 10.68 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.397e-05/0.1269, allocations: 47.92 kB / 473.7 MB, free: 10.63 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.181e-05/0.1269, allocations: 15.92 kB / 473.7 MB, free: 10.61 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.696e-05/0.127, allocations: 43.73 kB / 473.8 MB, free: 10.57 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001966/0.1272, allocations: 115.6 kB / 473.9 MB, free: 10.46 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.478e-06/0.1272, allocations: 0 / 473.9 MB, free: 10.46 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.864e-06/0.1272, allocations: 0 / 473.9 MB, free: 10.46 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.741e-06/0.1272, allocations: 0 / 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.0005229/0.1277, allocations: 418.9 kB / 474.3 MB, free: 10 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.292e-05/0.1278, allocations: 8.031 kB / 474.3 MB, free: 9.992 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.025e-05/0.1278, allocations: 8.844 kB / 474.3 MB, free: 9.984 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002634/0.1281, allocations: 214.6 kB / 474.5 MB, free: 9.738 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.334e-05/0.1281, allocations: 4.375 kB / 474.5 MB, free: 9.734 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.597e-05/0.1282, allocations: 12.11 kB / 474.5 MB, free: 9.723 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000144/0.1283, allocations: 53.67 kB / 474.6 MB, free: 9.664 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.089e-05/0.1283, allocations: 7.922 kB / 474.6 MB, free: 9.656 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.528e-06/0.1283, allocations: 0 / 474.6 MB, free: 9.656 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.175e-06/0.1284, allocations: 4 kB / 474.6 MB, free: 9.652 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.181e-05/0.1284, allocations: 15.98 kB / 474.6 MB, free: 9.637 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003511/0.1288, allocations: 300.7 kB / 474.9 MB, free: 9.293 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001601/0.129, allocations: 50.69 kB / 475 MB, free: 9.234 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.591e-05/0.129, allocations: 24.84 kB / 475 MB, free: 9.207 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.036e-05/0.1291, allocations: 3.984 kB / 475 MB, free: 9.203 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001529/0.1292, allocations: 71.33 kB / 475.1 MB, free: 9.121 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.373e-06/0.1292, allocations: 0 / 475.1 MB, free: 9.121 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005374/0.1298, allocations: 173.2 kB / 475.2 MB, free: 8.945 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.456e-05/0.1298, allocations: 55.34 kB / 475.3 MB, free: 8.879 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00018/0.13, allocations: 199.3 kB / 475.5 MB, free: 8.668 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.524e-05/0.13, allocations: 25.7 kB / 475.5 MB, free: 8.637 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.672e-05/0.1301, allocations: 108.1 kB / 475.6 MB, free: 8.527 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.749e-05/0.1301, allocations: 19.72 kB / 475.6 MB, free: 8.508 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.598e-05/0.1302, allocations: 25.7 kB / 475.7 MB, free: 8.477 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001116/0.1303, allocations: 326.8 kB / 476 MB, free: 8.148 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.716e-05/0.1304, allocations: 23.98 kB / 476 MB, free: 8.125 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.319e-05/0.1304, allocations: 33.72 kB / 476 MB, free: 8.086 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001137/0.1305, allocations: 57.64 kB / 476.1 MB, free: 8.023 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.122e-06/0.1306, allocations: 0 / 476.1 MB, free: 8.023 MB / 350.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001757/0.1307, allocations: 105.6 kB / 476.2 MB, free: 7.914 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.271e-05/0.1308, allocations: 8 kB / 476.2 MB, free: 7.906 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.658e-06/0.1308, allocations: 0 / 476.2 MB, free: 7.906 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.289e-05/0.1308, allocations: 0 / 476.2 MB, free: 7.906 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.015e-05/0.1309, allocations: 23.88 kB / 476.2 MB, free: 7.883 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.799e-06/0.1309, allocations: 0 / 476.2 MB, free: 7.883 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.617e-05/0.1309, allocations: 7.922 kB / 476.2 MB, free: 7.875 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.628e-06/0.131, allocations: 8 kB / 476.2 MB, free: 7.867 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.541e-05/0.1311, allocations: 123.8 kB / 476.4 MB, free: 7.738 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.185e-05/0.1311, allocations: 19.83 kB / 476.4 MB, free: 7.719 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.107e-05/0.1311, allocations: 13.41 kB / 476.4 MB, free: 7.707 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.145e-06/0.1311, allocations: 4 kB / 476.4 MB, free: 7.703 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.869e-06/0.1312, allocations: 0 / 476.4 MB, free: 7.703 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.328e-06/0.1312, allocations: 3.938 kB / 476.4 MB, free: 7.699 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004294/0.1316, allocations: 387.5 kB / 476.8 MB, free: 7.262 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.744e-06/0.1316, allocations: 4 kB / 476.8 MB, free: 7.258 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.445e-05/0.1317, allocations: 16.3 kB / 476.8 MB, free: 7.242 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.124e-06/0.1317, allocations: 4.031 kB / 476.8 MB, free: 7.238 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.234e-05/0.1317, allocations: 7.938 kB / 476.8 MB, free: 7.23 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.998e-06/0.1317, allocations: 4 kB / 476.8 MB, free: 7.227 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.1317, allocations: 7.938 kB / 476.8 MB, free: 7.219 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000226/0.1319, allocations: 200.4 kB / 477 MB, free: 7.004 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.429e-05/0.132, allocations: 85 kB / 477.1 MB, free: 6.902 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.552e-05/0.132, allocations: 11.94 kB / 477.1 MB, free: 6.891 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.881e-05/0.1321, allocations: 4 kB / 477.1 MB, free: 6.887 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.573e-05/0.1321, allocations: 4 kB / 477.1 MB, free: 6.883 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.709e-05/0.1322, allocations: 7.984 kB / 477.1 MB, free: 6.875 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001208/0.1323, allocations: 151.9 kB / 477.3 MB, free: 6.727 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.1323, allocations: 0 / 477.3 MB, free: 6.727 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002624/0.1326, allocations: 24 kB / 477.3 MB, free: 6.703 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.001058/0.1336, allocations: 474.8 kB / 477.8 MB, free: 6.414 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001845/0.1338, allocations: 51.97 kB / 477.8 MB, free: 6.363 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.1338, allocations: 0 / 477.8 MB, free: 6.363 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 7.441e-05/0.1339, allocations: 35.92 kB / 477.8 MB, free: 6.328 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003328/0.1343, allocations: 24.11 kB / 477.9 MB, free: 6.305 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004358/0.1347, allocations: 239.1 kB / 478.1 MB, free: 6.039 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002573/0.135, allocations: 0.7002 MB / 478.8 MB, free: 5.312 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 5.149e-05/0.135, allocations: 25.17 kB / 478.8 MB, free: 5.289 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.508e-05/0.1351, allocations: 19.38 kB / 478.8 MB, free: 5.27 MB / 350.1 MB Notification: Performance of SimCode: time 2.1e-07/0.1351, allocations: 0 / 478.8 MB, free: 5.27 MB / 350.1 MB Notification: Performance of Templates: time 0.004488/0.1396, allocations: 1.709 MB / 480.6 MB, free: 3.578 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test42.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test42.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test42.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test42.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test42.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test42 -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test42.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test42_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test42/Test42.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test42.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches