Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test26.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.Test26,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.Test26") translateModel(ModelicaTest.Tables.CombiTimeTable.Test26,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.Test26") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001401/0.001401, allocations: 103.9 kB / 16.94 MB, free: 6.184 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.001225/0.001225, allocations: 191.4 kB / 17.86 MB, free: 5.289 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.456/1.456, allocations: 205.1 MB / 223.7 MB, free: 12.29 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.2221/0.2221, allocations: 43.52 MB / 314.6 MB, free: 0.5234 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.00256/0.00256, allocations: 68.7 kB / 383.4 MB, free: 56.69 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1327/0.1353, allocations: 57.79 MB / 441.2 MB, free: 6.914 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test26): time 0.002888/0.1383, allocations: 1.698 MB / 442.9 MB, free: 5.199 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001119/0.1394, allocations: 0.7961 MB / 443.7 MB, free: 4.395 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.726e-05/0.1395, allocations: 4 kB / 443.7 MB, free: 4.391 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003513/0.1398, allocations: 47.77 kB / 443.7 MB, free: 4.344 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001939/0.1401, allocations: 51.75 kB / 443.8 MB, free: 4.293 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002319/0.1403, allocations: 99.5 kB / 443.9 MB, free: 4.199 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001561/0.1405, allocations: 91.77 kB / 444 MB, free: 4.109 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001135/0.1406, allocations: 16.45 kB / 444 MB, free: 4.094 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.158e-05/0.1407, allocations: 43.78 kB / 444 MB, free: 4.051 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.416e-05/0.1408, allocations: 23.86 kB / 444.1 MB, free: 4.027 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.764e-05/0.1408, allocations: 4 kB / 444.1 MB, free: 4.023 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.507e-05/0.1409, allocations: 47.97 kB / 444.1 MB, free: 3.977 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 5.557e-05/0.1409, allocations: 15.92 kB / 444.1 MB, free: 3.961 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 4.941e-05/0.141, allocations: 35.73 kB / 444.2 MB, free: 3.926 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001728/0.1412, allocations: 115.6 kB / 444.3 MB, free: 3.812 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.662e-06/0.1412, allocations: 4 kB / 444.3 MB, free: 3.809 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.1412, allocations: 0 / 444.3 MB, free: 3.809 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.911e-06/0.1412, allocations: 0 / 444.3 MB, free: 3.809 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.0004583/0.1417, allocations: 418.9 kB / 444.7 MB, free: 3.352 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.409e-05/0.1417, allocations: 15.89 kB / 444.7 MB, free: 3.336 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.845e-05/0.1418, allocations: 8.844 kB / 444.7 MB, free: 3.328 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001815/0.142, allocations: 216.6 kB / 444.9 MB, free: 3.078 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.559e-05/0.142, allocations: 384 / 444.9 MB, free: 3.078 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.172e-05/0.142, allocations: 12.11 kB / 444.9 MB, free: 3.066 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001352/0.1422, allocations: 53.67 kB / 445 MB, free: 3.008 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.063e-05/0.1422, allocations: 0 / 445 MB, free: 3.008 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.928e-06/0.1422, allocations: 4 kB / 445 MB, free: 3.004 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.43e-06/0.1422, allocations: 4 kB / 445 MB, free: 3 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.074e-05/0.1423, allocations: 23.92 kB / 445 MB, free: 2.977 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002922/0.1426, allocations: 284.9 kB / 445.3 MB, free: 2.648 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001446/0.1427, allocations: 50.69 kB / 445.3 MB, free: 2.59 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.757e-05/0.1428, allocations: 24.84 kB / 445.4 MB, free: 2.562 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.26e-05/0.1428, allocations: 7.984 kB / 445.4 MB, free: 2.555 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000184/0.143, allocations: 67.33 kB / 445.4 MB, free: 2.477 MB / 318.1 MB Notification: Performance of pre-optimization done (n=6): time 1.282e-06/0.143, allocations: 0 / 445.4 MB, free: 2.477 MB / 318.1 MB Notification: Performance of matching and sorting (n=8): time 0.0004925/0.1435, allocations: 177.1 kB / 445.6 MB, free: 2.297 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.132e-05/0.1435, allocations: 59.34 kB / 445.7 MB, free: 2.227 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001509/0.1437, allocations: 199.3 kB / 445.9 MB, free: 2.023 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.115e-05/0.1437, allocations: 29.7 kB / 445.9 MB, free: 1.988 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.961e-05/0.1438, allocations: 108 kB / 446 MB, free: 1.879 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.402e-05/0.1438, allocations: 27.72 kB / 446 MB, free: 1.852 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.207e-05/0.1438, allocations: 17.72 kB / 446 MB, free: 1.828 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 5.259e-05/0.1439, allocations: 330.8 kB / 446.4 MB, free: 1.496 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.122e-05/0.144, allocations: 19.98 kB / 446.4 MB, free: 1.477 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.257e-05/0.144, allocations: 37.7 kB / 446.4 MB, free: 1.434 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.452e-05/0.1441, allocations: 61.66 kB / 446.5 MB, free: 1.367 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.22e-07/0.1441, allocations: 0 / 446.5 MB, free: 1.367 MB / 318.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001636/0.1443, allocations: 105.4 kB / 446.6 MB, free: 1.258 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.357e-05/0.1443, allocations: 8 kB / 446.6 MB, free: 1.25 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.358e-06/0.1443, allocations: 0 / 446.6 MB, free: 1.25 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.528e-05/0.1443, allocations: 0 / 446.6 MB, free: 1.25 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.653e-05/0.1444, allocations: 12 kB / 446.6 MB, free: 1.238 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.741e-06/0.1444, allocations: 8.016 kB / 446.6 MB, free: 1.23 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.435e-05/0.1445, allocations: 7.938 kB / 446.6 MB, free: 1.223 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.844e-06/0.1445, allocations: 4 kB / 446.6 MB, free: 1.219 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.561e-05/0.1446, allocations: 129.8 kB / 446.8 MB, free: 1.082 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.021e-05/0.1446, allocations: 19.75 kB / 446.8 MB, free: 1.062 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.203e-05/0.1447, allocations: 13.41 kB / 446.8 MB, free: 1.047 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.713e-06/0.1447, allocations: 0 / 446.8 MB, free: 1.047 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.179e-06/0.1447, allocations: 0 / 446.8 MB, free: 1.047 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.899e-06/0.1447, allocations: 3.938 kB / 446.8 MB, free: 1.043 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003327/0.145, allocations: 399.3 kB / 447.2 MB, free: 0.5938 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.145, allocations: 384 / 447.2 MB, free: 0.5938 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.075e-05/0.1451, allocations: 11.94 kB / 447.2 MB, free: 0.582 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.707e-06/0.1451, allocations: 8 kB / 447.2 MB, free: 0.5742 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.121e-05/0.1451, allocations: 3.938 kB / 447.2 MB, free: 0.5703 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.463e-06/0.1451, allocations: 0 / 447.2 MB, free: 0.5703 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.1451, allocations: 0 / 447.2 MB, free: 0.5703 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001791/0.1453, allocations: 200.6 kB / 447.4 MB, free: 364 kB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.265e-05/0.1453, allocations: 92.91 kB / 447.5 MB, free: 252 kB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.603e-05/0.1454, allocations: 7.938 kB / 447.5 MB, free: 244 kB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.704e-05/0.1454, allocations: 4 kB / 447.5 MB, free: 240 kB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.415e-05/0.1455, allocations: 12.16 kB / 447.5 MB, free: 228 kB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.379e-05/0.1455, allocations: 7.938 kB / 447.5 MB, free: 220 kB / 318.1 MB Notification: Performance of sorting global known variables: time 9.152e-05/0.1456, allocations: 160.8 kB / 447.7 MB, free: 60 kB / 318.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1456, allocations: 0 / 447.7 MB, free: 60 kB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002515/0.1459, allocations: 20 kB / 447.7 MB, free: 40 kB / 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.001112/0.147, allocations: 459.6 kB / 448.1 MB, free: 15.67 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001956/0.1472, allocations: 67.89 kB / 448.2 MB, free: 15.6 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.1472, allocations: 0 / 448.2 MB, free: 15.6 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 7.657e-05/0.1473, allocations: 31.98 kB / 448.2 MB, free: 15.57 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003605/0.1476, allocations: 23.92 kB / 448.3 MB, free: 15.55 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004774/0.1481, allocations: 261.1 kB / 448.5 MB, free: 15.26 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000273/0.1484, allocations: 0.7041 MB / 449.2 MB, free: 14.53 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.016e-05/0.1485, allocations: 19.42 kB / 449.2 MB, free: 14.51 MB / 334.1 MB Notification: Performance of SimCode: time 2.41e-07/0.1485, allocations: 0 / 449.2 MB, free: 14.51 MB / 334.1 MB Notification: Performance of Templates: time 0.003841/0.1523, allocations: 1.923 MB / 451.2 MB, free: 12.59 MB / 334.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test26.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test26.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test26.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test26.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test26.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test26 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test26.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test26_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test26/Test26.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test26.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches