Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test4.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.Test4,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.Test4") translateModel(ModelicaTest.Tables.CombiTimeTable.Test4,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.Test4") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001757/0.001757, allocations: 105.2 kB / 16.27 MB, free: 5.93 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.001886/0.001886, allocations: 188.3 kB / 17.2 MB, free: 5.574 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.709/1.709, allocations: 205.1 MB / 223.1 MB, free: 12.3 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.2478/0.2478, allocations: 43.52 MB / 313.9 MB, free: 0.5273 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.001543/0.001543, allocations: 63.44 kB / 382.7 MB, free: 56.71 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.138/0.1396, allocations: 57.79 MB / 440.5 MB, free: 6.898 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test4): time 0.002892/0.1425, allocations: 1.689 MB / 442.2 MB, free: 5.191 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001109/0.1437, allocations: 0.7961 MB / 443 MB, free: 4.387 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.008e-05/0.1437, allocations: 0 / 443 MB, free: 4.387 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003797/0.1441, allocations: 95.69 kB / 443.1 MB, free: 4.293 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002234/0.1444, allocations: 71.72 kB / 443.2 MB, free: 4.223 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002403/0.1446, allocations: 91.7 kB / 443.3 MB, free: 4.133 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001949/0.1448, allocations: 99.69 kB / 443.4 MB, free: 4.035 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001247/0.145, allocations: 12.52 kB / 443.4 MB, free: 4.023 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.469e-05/0.1451, allocations: 55.77 kB / 443.4 MB, free: 3.969 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.798e-05/0.1452, allocations: 55.81 kB / 443.5 MB, free: 3.914 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.9e-05/0.1452, allocations: 4 kB / 443.5 MB, free: 3.91 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.643e-05/0.1453, allocations: 43.98 kB / 443.5 MB, free: 3.867 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 7.589e-05/0.1454, allocations: 19.92 kB / 443.6 MB, free: 3.848 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 5.257e-05/0.1454, allocations: 35.73 kB / 443.6 MB, free: 3.812 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001892/0.1456, allocations: 115.6 kB / 443.7 MB, free: 3.699 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.38e-06/0.1456, allocations: 0 / 443.7 MB, free: 3.699 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.844e-06/0.1456, allocations: 0 / 443.7 MB, free: 3.699 MB / 318.1 MB Notification: Performance of Transformations before backend: time 7.785e-06/0.1457, allocations: 0 / 443.7 MB, free: 3.699 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.0005254/0.1462, allocations: 422.9 kB / 444.1 MB, free: 3.238 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.115e-05/0.1462, allocations: 11.89 kB / 444.1 MB, free: 3.227 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.771e-05/0.1463, allocations: 16.75 kB / 444.1 MB, free: 3.211 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000211/0.1465, allocations: 208.1 kB / 444.3 MB, free: 2.969 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.444e-05/0.1465, allocations: 384 / 444.3 MB, free: 2.969 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.804e-05/0.1466, allocations: 8.125 kB / 444.4 MB, free: 2.961 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001804/0.1467, allocations: 57.61 kB / 444.4 MB, free: 2.898 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.475e-05/0.1468, allocations: 0 / 444.4 MB, free: 2.898 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.254e-05/0.1468, allocations: 0 / 444.4 MB, free: 2.898 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.761e-06/0.1468, allocations: 4 kB / 444.4 MB, free: 2.895 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.297e-05/0.1469, allocations: 19.98 kB / 444.4 MB, free: 2.875 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004005/0.1473, allocations: 308.6 kB / 444.7 MB, free: 2.523 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001737/0.1475, allocations: 50.62 kB / 444.8 MB, free: 2.465 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.121e-05/0.1475, allocations: 24.84 kB / 444.8 MB, free: 2.438 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.268e-05/0.1476, allocations: 11.98 kB / 444.8 MB, free: 2.426 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002278/0.1478, allocations: 59.39 kB / 444.9 MB, free: 2.355 MB / 318.1 MB Notification: Performance of pre-optimization done (n=6): time 1.293e-06/0.1478, allocations: 0 / 444.9 MB, free: 2.355 MB / 318.1 MB Notification: Performance of matching and sorting (n=8): time 0.000603/0.1484, allocations: 181.5 kB / 445.1 MB, free: 2.172 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.35e-05/0.1485, allocations: 51.41 kB / 445.1 MB, free: 2.109 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001616/0.1486, allocations: 207.6 kB / 445.3 MB, free: 1.898 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.509e-05/0.1487, allocations: 29.7 kB / 445.3 MB, free: 1.863 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.454e-05/0.1487, allocations: 112.1 kB / 445.4 MB, free: 1.75 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.298e-05/0.1488, allocations: 27.64 kB / 445.5 MB, free: 1.723 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.539e-05/0.1488, allocations: 17.72 kB / 445.5 MB, free: 1.699 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 7.902e-05/0.1489, allocations: 330.8 kB / 445.8 MB, free: 1.367 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.422e-05/0.1489, allocations: 19.98 kB / 445.8 MB, free: 1.348 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.765e-05/0.149, allocations: 41.64 kB / 445.9 MB, free: 1.301 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.73e-05/0.1491, allocations: 61.78 kB / 445.9 MB, free: 1.234 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.62e-07/0.1491, allocations: 0 / 445.9 MB, free: 1.234 MB / 318.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001551/0.1493, allocations: 109.4 kB / 446 MB, free: 1.121 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.768e-05/0.1493, allocations: 4.938 kB / 446 MB, free: 1.117 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.996e-05/0.1493, allocations: 0 / 446 MB, free: 1.117 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.257e-05/0.1494, allocations: 0 / 446 MB, free: 1.117 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.352e-05/0.1495, allocations: 23.98 kB / 446.1 MB, free: 1.094 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.478e-06/0.1495, allocations: 0 / 446.1 MB, free: 1.094 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.202e-05/0.1495, allocations: 7.969 kB / 446.1 MB, free: 1.086 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.474e-06/0.1495, allocations: 4 kB / 446.1 MB, free: 1.082 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 8.508e-05/0.1496, allocations: 137.7 kB / 446.2 MB, free: 0.9375 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.938e-05/0.1497, allocations: 7.906 kB / 446.2 MB, free: 0.9297 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.775e-05/0.1497, allocations: 17.41 kB / 446.2 MB, free: 0.9102 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.103e-06/0.1497, allocations: 0 / 446.2 MB, free: 0.9102 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.282e-06/0.1497, allocations: 3.984 kB / 446.2 MB, free: 0.9062 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.132e-06/0.1497, allocations: 3.938 kB / 446.2 MB, free: 0.9023 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003422/0.1501, allocations: 399.2 kB / 446.6 MB, free: 464 kB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.873e-06/0.1501, allocations: 0 / 446.6 MB, free: 464 kB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.708e-05/0.1501, allocations: 8 kB / 446.6 MB, free: 456 kB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.454e-06/0.1501, allocations: 4 kB / 446.7 MB, free: 452 kB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.167e-06/0.1502, allocations: 4.125 kB / 446.7 MB, free: 448 kB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.104e-06/0.1502, allocations: 3.984 kB / 446.7 MB, free: 444 kB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.001e-06/0.1502, allocations: 3.938 kB / 446.7 MB, free: 440 kB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001629/0.1503, allocations: 204.3 kB / 446.9 MB, free: 216 kB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.363e-05/0.1504, allocations: 88.92 kB / 446.9 MB, free: 108 kB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.29e-05/0.1504, allocations: 7.938 kB / 447 MB, free: 100 kB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.39e-05/0.1505, allocations: 4 kB / 447 MB, free: 96 kB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.036e-05/0.1505, allocations: 7.984 kB / 447 MB, free: 88 kB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.359e-05/0.1505, allocations: 4 kB / 447 MB, free: 84 kB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001211/0.1507, allocations: 155.2 kB / 447.1 MB, free: 15.93 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.81e-07/0.1507, allocations: 7.938 kB / 447.1 MB, free: 15.92 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.000255/0.1509, allocations: 27.98 kB / 447.2 MB, free: 15.89 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.001017/0.152, allocations: 471 kB / 447.6 MB, free: 15.52 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001848/0.1522, allocations: 63.91 kB / 447.7 MB, free: 15.46 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.1522, allocations: 0 / 447.7 MB, free: 15.46 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 6.74e-05/0.1522, allocations: 27.94 kB / 447.7 MB, free: 15.43 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003321/0.1526, allocations: 27.97 kB / 447.7 MB, free: 15.4 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004641/0.153, allocations: 251.1 kB / 448 MB, free: 15.13 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000297/0.1534, allocations: 0.708 MB / 448.7 MB, free: 14.39 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 5.329e-05/0.1534, allocations: 17.19 kB / 448.7 MB, free: 14.38 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.578e-05/0.1535, allocations: 19.44 kB / 448.7 MB, free: 14.36 MB / 334.1 MB Notification: Performance of SimCode: time 3.31e-07/0.1535, allocations: 0 / 448.7 MB, free: 14.36 MB / 334.1 MB Notification: Performance of Templates: time 0.004668/0.1581, allocations: 1.699 MB / 450.4 MB, free: 12.67 MB / 334.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test4.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test4.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test4.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test4.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test4.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test4 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test4.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test4_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test4/Test4.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test4.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches