Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test22.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.Test22,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.Test22") translateModel(ModelicaTest.Tables.CombiTimeTable.Test22,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.Test22") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009999/0.001, allocations: 101.2 kB / 16.64 MB, free: 6.812 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.001028/0.001028, allocations: 194.5 kB / 17.56 MB, free: 5.938 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.52/1.52, allocations: 205.1 MB / 223.4 MB, free: 12.47 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.2522/0.2522, allocations: 43.51 MB / 314.3 MB, free: 0.7188 MB / 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.001453/0.001453, allocations: 65.5 kB / 382.9 MB, free: 56.99 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1261/0.1276, allocations: 57.79 MB / 440.7 MB, free: 7.371 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test22): time 0.002784/0.1304, allocations: 1.754 MB / 442.4 MB, free: 5.598 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.00101/0.1315, allocations: 0.7889 MB / 443.2 MB, free: 4.801 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.09e-05/0.1315, allocations: 4 kB / 443.2 MB, free: 4.797 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002968/0.1318, allocations: 35.89 kB / 443.3 MB, free: 4.762 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001748/0.132, allocations: 47.83 kB / 443.3 MB, free: 4.715 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002016/0.1323, allocations: 75.36 kB / 443.4 MB, free: 4.645 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001325/0.1324, allocations: 103.6 kB / 443.5 MB, free: 4.543 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.512e-05/0.1325, allocations: 12.5 kB / 443.5 MB, free: 4.531 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.05e-05/0.1326, allocations: 47.73 kB / 443.5 MB, free: 4.484 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.228e-05/0.1326, allocations: 27.84 kB / 443.6 MB, free: 4.457 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.723e-05/0.1327, allocations: 4 kB / 443.6 MB, free: 4.453 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.643e-05/0.1327, allocations: 39.98 kB / 443.6 MB, free: 4.414 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 4.642e-05/0.1328, allocations: 19.92 kB / 443.6 MB, free: 4.395 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 4.28e-05/0.1328, allocations: 35.73 kB / 443.7 MB, free: 4.359 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001255/0.133, allocations: 87.83 kB / 443.7 MB, free: 4.273 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.349e-06/0.133, allocations: 0 / 443.7 MB, free: 4.273 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.493e-06/0.133, allocations: 0 / 443.7 MB, free: 4.273 MB / 318.1 MB Notification: Performance of Transformations before backend: time 9.338e-06/0.133, allocations: 0 / 443.7 MB, free: 4.273 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.0004123/0.1334, allocations: 418.9 kB / 444.2 MB, free: 3.816 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.482e-05/0.1335, allocations: 11.89 kB / 444.2 MB, free: 3.805 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.104e-05/0.1335, allocations: 12.84 kB / 444.2 MB, free: 3.793 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001819/0.1337, allocations: 208.9 kB / 444.4 MB, free: 3.551 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.054e-05/0.1337, allocations: 4.375 kB / 444.4 MB, free: 3.547 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.242e-05/0.1337, allocations: 8.125 kB / 444.4 MB, free: 3.539 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001271/0.1339, allocations: 53.67 kB / 444.4 MB, free: 3.48 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.099e-05/0.1339, allocations: 0 / 444.4 MB, free: 3.48 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.128e-05/0.1339, allocations: 8 kB / 444.5 MB, free: 3.473 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.258e-06/0.1339, allocations: 4 kB / 444.5 MB, free: 3.469 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.616e-05/0.134, allocations: 19.92 kB / 444.5 MB, free: 3.449 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002851/0.1343, allocations: 288.8 kB / 444.8 MB, free: 3.117 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001414/0.1344, allocations: 50.67 kB / 444.8 MB, free: 3.059 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.766e-05/0.1345, allocations: 28.86 kB / 444.8 MB, free: 3.027 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.916e-05/0.1345, allocations: 3.938 kB / 444.8 MB, free: 3.023 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001679/0.1347, allocations: 63.38 kB / 444.9 MB, free: 2.949 MB / 318.1 MB Notification: Performance of pre-optimization done (n=6): time 1.593e-06/0.1347, allocations: 0 / 444.9 MB, free: 2.949 MB / 318.1 MB Notification: Performance of matching and sorting (n=8): time 0.0004816/0.1352, allocations: 173.2 kB / 445.1 MB, free: 2.773 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.367e-05/0.1352, allocations: 55.41 kB / 445.1 MB, free: 2.707 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001215/0.1354, allocations: 194.1 kB / 445.3 MB, free: 2.508 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.196e-05/0.1354, allocations: 25.7 kB / 445.3 MB, free: 2.477 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.114e-05/0.1354, allocations: 104.1 kB / 445.4 MB, free: 2.371 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.453e-05/0.1354, allocations: 23.7 kB / 445.5 MB, free: 2.348 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.339e-05/0.1355, allocations: 25.7 kB / 445.5 MB, free: 2.316 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 5.97e-05/0.1356, allocations: 326.8 kB / 445.8 MB, free: 1.988 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.97e-05/0.1356, allocations: 19.98 kB / 445.8 MB, free: 1.969 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.19e-05/0.1357, allocations: 37.66 kB / 445.9 MB, free: 1.926 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.07e-05/0.1358, allocations: 65.64 kB / 445.9 MB, free: 1.855 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.112e-06/0.1358, allocations: 0 / 445.9 MB, free: 1.855 MB / 318.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001447/0.1359, allocations: 101.5 kB / 446 MB, free: 1.75 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.436e-05/0.1359, allocations: 4 kB / 446 MB, free: 1.746 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.58e-06/0.136, allocations: 4 kB / 446 MB, free: 1.742 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.698e-05/0.136, allocations: 3.984 kB / 446 MB, free: 1.738 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.451e-05/0.1361, allocations: 12 kB / 446.1 MB, free: 1.727 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.382e-06/0.1361, allocations: 4.031 kB / 446.1 MB, free: 1.723 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.206e-05/0.1361, allocations: 11.92 kB / 446.1 MB, free: 1.711 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.033e-06/0.1361, allocations: 4 kB / 446.1 MB, free: 1.707 MB / 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.539e-05/0.1362, allocations: 125.8 kB / 446.2 MB, free: 1.574 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.169e-05/0.1362, allocations: 11.81 kB / 446.2 MB, free: 1.562 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.215e-05/0.1363, allocations: 20.64 kB / 446.2 MB, free: 1.535 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.964e-06/0.1363, allocations: 4 kB / 446.2 MB, free: 1.531 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.919e-06/0.1363, allocations: 384 / 446.2 MB, free: 1.531 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.618e-06/0.1363, allocations: 3.938 kB / 446.2 MB, free: 1.527 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003186/0.1366, allocations: 403.3 kB / 446.6 MB, free: 1.074 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.1367, allocations: 0 / 446.6 MB, free: 1.074 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.958e-05/0.1367, allocations: 15.92 kB / 446.6 MB, free: 1.059 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.714e-06/0.1367, allocations: 0 / 446.6 MB, free: 1.059 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.318e-06/0.1367, allocations: 3.938 kB / 446.6 MB, free: 1.055 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.084e-06/0.1367, allocations: 4 kB / 446.6 MB, free: 1.051 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.1367, allocations: 0 / 446.6 MB, free: 1.051 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001667/0.1369, allocations: 204.3 kB / 446.8 MB, free: 0.832 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.37e-05/0.1369, allocations: 81.02 kB / 446.9 MB, free: 0.7344 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.419e-05/0.137, allocations: 11.92 kB / 446.9 MB, free: 0.7227 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.514e-05/0.137, allocations: 0 / 446.9 MB, free: 0.7227 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.6e-05/0.1371, allocations: 11.94 kB / 447 MB, free: 0.7109 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.334e-05/0.1371, allocations: 4 kB / 447 MB, free: 0.707 MB / 318.1 MB Notification: Performance of sorting global known variables: time 8.007e-05/0.1372, allocations: 143.2 kB / 447.1 MB, free: 0.5664 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1372, allocations: 0 / 447.1 MB, free: 0.5664 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002451/0.1374, allocations: 31.91 kB / 447.1 MB, free: 0.5352 MB / 318.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.000988/0.1384, allocations: 467.3 kB / 447.6 MB, free: 156 kB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0001628/0.1386, allocations: 67.91 kB / 447.6 MB, free: 88 kB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 1.473e-06/0.1386, allocations: 0 / 447.6 MB, free: 88 kB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 6.086e-05/0.1387, allocations: 27.98 kB / 447.7 MB, free: 60 kB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003218/0.139, allocations: 27.97 kB / 447.7 MB, free: 32 kB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004691/0.1395, allocations: 273.1 kB / 448 MB, free: 15.73 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002741/0.1398, allocations: 0.7002 MB / 448.7 MB, free: 15 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.829e-05/0.1398, allocations: 19.42 kB / 448.7 MB, free: 14.98 MB / 334.1 MB Notification: Performance of SimCode: time 2.71e-07/0.1398, allocations: 0 / 448.7 MB, free: 14.98 MB / 334.1 MB Notification: Performance of Templates: time 0.003593/0.1434, allocations: 1.901 MB / 450.6 MB, free: 13.09 MB / 334.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test22.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test22.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test22.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test22.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test22.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test22 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test22.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test22_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test22/Test22.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test22.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches