Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test41.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.Test41,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.Test41") translateModel(ModelicaTest.Tables.CombiTimeTable.Test41,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.Test41") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001499/0.001498, allocations: 115.4 kB / 17.04 MB, free: 5.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.001582/0.001582, allocations: 195 kB / 17.97 MB, free: 5.027 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.497/1.497, allocations: 205.1 MB / 223.8 MB, free: 12.25 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.212/0.212, allocations: 43.52 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.002794/0.002795, allocations: 68.02 kB / 384.2 MB, free: 56.38 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1349/0.1377, allocations: 57.8 MB / 442 MB, free: 6.148 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test41): time 0.002994/0.1407, allocations: 1.689 MB / 443.7 MB, free: 4.445 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001049/0.1418, allocations: 0.7961 MB / 444.5 MB, free: 3.641 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.235e-05/0.1419, allocations: 11.94 kB / 444.5 MB, free: 3.629 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003241/0.1422, allocations: 83.7 kB / 444.6 MB, free: 3.547 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002398/0.1425, allocations: 71.66 kB / 444.6 MB, free: 3.477 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002918/0.1428, allocations: 87.77 kB / 444.7 MB, free: 3.391 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001605/0.143, allocations: 103.7 kB / 444.8 MB, free: 3.289 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001006/0.1431, allocations: 16.23 kB / 444.8 MB, free: 3.273 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.348e-05/0.1432, allocations: 43.78 kB / 444.9 MB, free: 3.23 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.731e-05/0.1433, allocations: 59.81 kB / 444.9 MB, free: 3.172 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.928e-05/0.1433, allocations: 4 kB / 444.9 MB, free: 3.168 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.333e-05/0.1434, allocations: 47.91 kB / 445 MB, free: 3.121 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 5.091e-05/0.1434, allocations: 19.92 kB / 445 MB, free: 3.102 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 4.9e-05/0.1435, allocations: 35.69 kB / 445 MB, free: 3.066 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001773/0.1437, allocations: 119.6 kB / 445.2 MB, free: 2.949 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.831e-06/0.1437, allocations: 4 kB / 445.2 MB, free: 2.945 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.353e-06/0.1437, allocations: 0 / 445.2 MB, free: 2.945 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.711e-06/0.1437, allocations: 3.984 kB / 445.2 MB, free: 2.941 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.0004442/0.1442, allocations: 415 kB / 445.6 MB, free: 2.488 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.648e-05/0.1442, allocations: 19.88 kB / 445.6 MB, free: 2.469 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.282e-05/0.1443, allocations: 16.75 kB / 445.6 MB, free: 2.453 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000222/0.1445, allocations: 208 kB / 445.8 MB, free: 2.211 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.332e-05/0.1445, allocations: 8.297 kB / 445.8 MB, free: 2.203 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.186e-05/0.1445, allocations: 8.125 kB / 445.8 MB, free: 2.195 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001299/0.1447, allocations: 53.67 kB / 445.9 MB, free: 2.137 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.07e-05/0.1447, allocations: 4 kB / 445.9 MB, free: 2.133 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.06e-05/0.1447, allocations: 0 / 445.9 MB, free: 2.133 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.118e-06/0.1447, allocations: 0 / 445.9 MB, free: 2.133 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.096e-05/0.1448, allocations: 23.98 kB / 445.9 MB, free: 2.109 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002831/0.1451, allocations: 292.7 kB / 446.2 MB, free: 1.773 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001516/0.1453, allocations: 58.61 kB / 446.2 MB, free: 1.707 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.631e-05/0.1453, allocations: 24.86 kB / 446.3 MB, free: 1.68 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.96e-05/0.1453, allocations: 0 / 446.3 MB, free: 1.68 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001207/0.1455, allocations: 63.39 kB / 446.3 MB, free: 1.605 MB / 318.1 MB Notification: Performance of pre-optimization done (n=6): time 1.293e-06/0.1455, allocations: 0 / 446.3 MB, free: 1.605 MB / 318.1 MB Notification: Performance of matching and sorting (n=8): time 0.0004847/0.146, allocations: 173.2 kB / 446.5 MB, free: 1.43 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.365e-05/0.146, allocations: 51.41 kB / 446.6 MB, free: 1.367 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001412/0.1461, allocations: 215.6 kB / 446.8 MB, free: 1.148 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.061e-05/0.1462, allocations: 33.7 kB / 446.8 MB, free: 1.109 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.789e-05/0.1462, allocations: 104.1 kB / 446.9 MB, free: 1.004 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.368e-05/0.1462, allocations: 27.64 kB / 446.9 MB, free: 0.9766 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.391e-05/0.1463, allocations: 25.72 kB / 447 MB, free: 0.9453 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 4.59e-05/0.1463, allocations: 330.8 kB / 447.3 MB, free: 0.6133 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.067e-05/0.1464, allocations: 19.94 kB / 447.3 MB, free: 0.5938 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.31e-05/0.1464, allocations: 41.7 kB / 447.3 MB, free: 0.5469 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.247e-05/0.1465, allocations: 53.7 kB / 447.4 MB, free: 500 kB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.172e-06/0.1465, allocations: 0 / 447.4 MB, free: 500 kB / 318.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001534/0.1467, allocations: 109.5 kB / 447.5 MB, free: 384 kB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.208e-05/0.1467, allocations: 4 kB / 447.5 MB, free: 380 kB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.658e-06/0.1467, allocations: 0 / 447.5 MB, free: 380 kB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.382e-05/0.1468, allocations: 7.984 kB / 447.5 MB, free: 372 kB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.239e-05/0.1468, allocations: 16.03 kB / 447.5 MB, free: 356 kB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.821e-06/0.1469, allocations: 384 / 447.5 MB, free: 356 kB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.605e-05/0.1469, allocations: 7.938 kB / 447.5 MB, free: 348 kB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.314e-06/0.1469, allocations: 3.938 kB / 447.5 MB, free: 344 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 6.849e-05/0.147, allocations: 137.8 kB / 447.7 MB, free: 196 kB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.056e-05/0.147, allocations: 19.84 kB / 447.7 MB, free: 176 kB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.997e-05/0.1471, allocations: 17.39 kB / 447.7 MB, free: 156 kB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.134e-06/0.1471, allocations: 0 / 447.7 MB, free: 156 kB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.027e-06/0.1471, allocations: 0 / 447.7 MB, free: 156 kB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.577e-06/0.1471, allocations: 7.938 kB / 447.7 MB, free: 148 kB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004121/0.1475, allocations: 395.2 kB / 448.1 MB, free: 15.7 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.984e-06/0.1475, allocations: 4 kB / 448.1 MB, free: 15.7 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.663e-05/0.1476, allocations: 11.98 kB / 448.1 MB, free: 15.68 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.234e-06/0.1476, allocations: 0 / 448.1 MB, free: 15.68 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.16e-05/0.1476, allocations: 7.938 kB / 448.1 MB, free: 15.68 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.184e-06/0.1476, allocations: 0 / 448.1 MB, free: 15.68 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.1476, allocations: 4 kB / 448.1 MB, free: 15.67 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002537/0.1479, allocations: 204.2 kB / 448.3 MB, free: 15.45 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.807e-05/0.1479, allocations: 88.92 kB / 448.4 MB, free: 15.35 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.731e-05/0.148, allocations: 11.92 kB / 448.4 MB, free: 15.34 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.076e-05/0.148, allocations: 0 / 448.4 MB, free: 15.34 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.118e-05/0.1481, allocations: 4 kB / 448.4 MB, free: 15.33 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.73e-05/0.1481, allocations: 7.984 kB / 448.4 MB, free: 15.32 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001208/0.1482, allocations: 163.2 kB / 448.6 MB, free: 15.16 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.1482, allocations: 192 / 448.6 MB, free: 15.16 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.000266/0.1485, allocations: 28 kB / 448.6 MB, free: 15.14 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.001016/0.1495, allocations: 462.7 kB / 449.1 MB, free: 14.77 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001751/0.1497, allocations: 67.89 kB / 449.1 MB, free: 14.7 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.195e-06/0.1497, allocations: 0 / 449.1 MB, free: 14.7 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 7.103e-05/0.1498, allocations: 27.92 kB / 449.2 MB, free: 14.67 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003339/0.1501, allocations: 28.3 kB / 449.2 MB, free: 14.64 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004251/0.1506, allocations: 243 kB / 449.4 MB, free: 14.38 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002502/0.1508, allocations: 0.7159 MB / 450.1 MB, free: 13.64 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 5.223e-05/0.1509, allocations: 12.89 kB / 450.2 MB, free: 13.62 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.586e-05/0.1509, allocations: 19.42 kB / 450.2 MB, free: 13.6 MB / 334.1 MB Notification: Performance of SimCode: time 3.61e-07/0.1509, allocations: 0 / 450.2 MB, free: 13.6 MB / 334.1 MB Notification: Performance of Templates: time 0.004264/0.1552, allocations: 1.696 MB / 451.9 MB, free: 11.92 MB / 334.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test41.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test41.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test41.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test41.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test41.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test41 -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test41.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test41_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test41/Test41.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test41.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches