Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test48.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.Test48,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test48") translateModel(ModelicaTest.Tables.CombiTimeTable.Test48,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test48") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001137/0.001142, allocations: 109.8 kB / 17.03 MB, free: 5.664 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.0014/0.0014, allocations: 190.9 kB / 17.96 MB, free: 5.066 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.555/1.555, allocations: 205.1 MB / 223.8 MB, free: 12.24 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2171/0.2171, allocations: 43.53 MB / 314.7 MB, free: 488 kB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002046/0.002046, allocations: 72.06 kB / 384.2 MB, free: 56.34 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1214/0.1235, allocations: 57.79 MB / 442 MB, free: 6.156 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test48): time 0.003036/0.1265, allocations: 1.689 MB / 443.7 MB, free: 4.453 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001096/0.1277, allocations: 0.8 MB / 444.5 MB, free: 3.645 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.016e-05/0.1278, allocations: 4 kB / 444.5 MB, free: 3.641 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003111/0.1281, allocations: 51.73 kB / 444.5 MB, free: 3.59 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000222/0.1283, allocations: 59.77 kB / 444.6 MB, free: 3.531 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002765/0.1286, allocations: 87.75 kB / 444.7 MB, free: 3.445 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001556/0.1288, allocations: 99.69 kB / 444.8 MB, free: 3.348 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001077/0.1289, allocations: 4.234 kB / 444.8 MB, free: 3.344 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.356e-05/0.129, allocations: 43.78 kB / 444.8 MB, free: 3.301 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.867e-05/0.1291, allocations: 31.84 kB / 444.8 MB, free: 3.27 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.886e-05/0.1291, allocations: 4 kB / 444.8 MB, free: 3.266 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.941e-05/0.1292, allocations: 39.94 kB / 444.9 MB, free: 3.227 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 5.796e-05/0.1293, allocations: 35.89 kB / 444.9 MB, free: 3.191 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 4.896e-05/0.1293, allocations: 35.69 kB / 444.9 MB, free: 3.156 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001872/0.1295, allocations: 135.5 kB / 445.1 MB, free: 3.023 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.149e-06/0.1295, allocations: 0 / 445.1 MB, free: 3.023 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.623e-06/0.1295, allocations: 0 / 445.1 MB, free: 3.023 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.209e-06/0.1296, allocations: 0 / 445.1 MB, free: 3.023 MB / 318.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.0004513/0.13, allocations: 442.6 kB / 445.5 MB, free: 2.543 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.157e-05/0.13, allocations: 11.89 kB / 445.5 MB, free: 2.531 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.643e-05/0.1301, allocations: 12.84 kB / 445.5 MB, free: 2.52 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002298/0.1303, allocations: 219.7 kB / 445.8 MB, free: 2.266 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.261e-05/0.1304, allocations: 8.375 kB / 445.8 MB, free: 2.258 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.959e-05/0.1304, allocations: 8.031 kB / 445.8 MB, free: 2.25 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000138/0.1305, allocations: 53.67 kB / 445.8 MB, free: 2.191 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.134e-05/0.1305, allocations: 4 kB / 445.8 MB, free: 2.188 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.071e-05/0.1306, allocations: 3.984 kB / 445.8 MB, free: 2.184 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.127e-06/0.1306, allocations: 0 / 445.8 MB, free: 2.184 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.876e-05/0.1306, allocations: 23.92 kB / 445.9 MB, free: 2.16 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000303/0.131, allocations: 296.9 kB / 446.1 MB, free: 1.82 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001474/0.1311, allocations: 62.67 kB / 446.2 MB, free: 1.75 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.436e-05/0.1312, allocations: 16.86 kB / 446.2 MB, free: 1.73 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.113e-05/0.1312, allocations: 0 / 446.2 MB, free: 1.73 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001285/0.1313, allocations: 71.33 kB / 446.3 MB, free: 1.648 MB / 318.1 MB Notification: Performance of pre-optimization done (n=6): time 1.292e-06/0.1313, allocations: 4 kB / 446.3 MB, free: 1.645 MB / 318.1 MB Notification: Performance of matching and sorting (n=8): time 0.0004887/0.1318, allocations: 185 kB / 446.5 MB, free: 1.457 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.684e-05/0.1319, allocations: 51.41 kB / 446.5 MB, free: 1.395 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001721/0.1321, allocations: 262.5 kB / 446.8 MB, free: 1.121 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.097e-05/0.1321, allocations: 29.7 kB / 446.8 MB, free: 1.086 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.443e-05/0.1321, allocations: 116 kB / 446.9 MB, free: 0.9688 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.437e-05/0.1321, allocations: 23.73 kB / 446.9 MB, free: 0.9453 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.426e-05/0.1322, allocations: 21.72 kB / 447 MB, free: 0.918 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 4.944e-05/0.1322, allocations: 334.8 kB / 447.3 MB, free: 0.582 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.145e-05/0.1323, allocations: 23.92 kB / 447.3 MB, free: 0.5586 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.291e-05/0.1324, allocations: 33.7 kB / 447.4 MB, free: 0.5195 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.403e-05/0.1325, allocations: 61.64 kB / 447.4 MB, free: 464 kB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.72e-07/0.1325, allocations: 0 / 447.4 MB, free: 464 kB / 318.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001563/0.1326, allocations: 105.6 kB / 447.5 MB, free: 352 kB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.338e-05/0.1327, allocations: 12 kB / 447.5 MB, free: 340 kB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.058e-06/0.1327, allocations: 0 / 447.5 MB, free: 340 kB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.466e-05/0.1327, allocations: 0 / 447.5 MB, free: 340 kB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.652e-05/0.1328, allocations: 23.92 kB / 447.5 MB, free: 316 kB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.522e-06/0.1328, allocations: 4 kB / 447.6 MB, free: 312 kB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.629e-05/0.1328, allocations: 3.938 kB / 447.6 MB, free: 308 kB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.454e-06/0.1329, allocations: 4 kB / 447.6 MB, free: 304 kB / 318.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 7.616e-05/0.1329, allocations: 137.8 kB / 447.7 MB, free: 156 kB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.05e-05/0.133, allocations: 19.8 kB / 447.7 MB, free: 136 kB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.11e-05/0.133, allocations: 17.41 kB / 447.7 MB, free: 120 kB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.545e-06/0.133, allocations: 4 kB / 447.7 MB, free: 116 kB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.067e-06/0.133, allocations: 0 / 447.7 MB, free: 116 kB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.507e-06/0.133, allocations: 3.938 kB / 447.7 MB, free: 112 kB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004348/0.1335, allocations: 403.2 kB / 448.1 MB, free: 15.66 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.084e-06/0.1335, allocations: 0 / 448.1 MB, free: 15.66 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.397e-05/0.1335, allocations: 8.375 kB / 448.1 MB, free: 15.65 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.957e-06/0.1335, allocations: 0 / 448.1 MB, free: 15.65 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.223e-05/0.1336, allocations: 15.89 kB / 448.2 MB, free: 15.63 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.466e-06/0.1336, allocations: 8 kB / 448.2 MB, free: 15.62 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.91e-07/0.1336, allocations: 0 / 448.2 MB, free: 15.62 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002536/0.1338, allocations: 200.3 kB / 448.4 MB, free: 15.41 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.066e-05/0.1339, allocations: 88.92 kB / 448.4 MB, free: 15.3 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.576e-05/0.1339, allocations: 7.938 kB / 448.5 MB, free: 15.3 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.696e-05/0.134, allocations: 11.98 kB / 448.5 MB, free: 15.29 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.785e-05/0.1341, allocations: 4 kB / 448.5 MB, free: 15.28 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.6e-05/0.1341, allocations: 4.188 kB / 448.5 MB, free: 15.28 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001798/0.1343, allocations: 200.5 kB / 448.7 MB, free: 15.08 MB / 334.1 MB Notification: Performance of sort global known variables: time 2.485e-06/0.1343, allocations: 3.938 kB / 448.7 MB, free: 15.08 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002791/0.1346, allocations: 27.94 kB / 448.7 MB, free: 15.05 MB / 334.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.001184/0.1358, allocations: 466.7 kB / 449.2 MB, free: 14.68 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001847/0.136, allocations: 55.97 kB / 449.2 MB, free: 14.62 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.136, allocations: 0 / 449.2 MB, free: 14.62 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 7.287e-05/0.1361, allocations: 31.92 kB / 449.2 MB, free: 14.59 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003497/0.1364, allocations: 24.42 kB / 449.3 MB, free: 14.57 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004822/0.1369, allocations: 284 kB / 449.5 MB, free: 14.27 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000271/0.1372, allocations: 0.7158 MB / 450.3 MB, free: 13.52 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 5.68e-05/0.1373, allocations: 24.84 kB / 450.3 MB, free: 13.5 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.426e-05/0.1373, allocations: 23.38 kB / 450.3 MB, free: 13.47 MB / 334.1 MB Notification: Performance of SimCode: time 3.51e-07/0.1373, allocations: 0 / 450.3 MB, free: 13.47 MB / 334.1 MB Notification: Performance of Templates: time 0.004442/0.1417, allocations: 1.719 MB / 452 MB, free: 11.77 MB / 334.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test48.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test48.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test48.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test48.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test48.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test48 -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test48.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test48_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test48/Test48.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test48.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches