Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test75.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.Test75,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|t_new_2.y.1.|d_t_new_2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test75") translateModel(ModelicaTest.Tables.CombiTimeTable.Test75,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|t_new_2.y.1.|d_t_new_2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test75") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001009/0.001009, allocations: 88.19 kB / 15.7 MB, free: 460 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001785/0.001785, allocations: 174.1 kB / 16.58 MB, free: 6.84 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.113/2.113, allocations: 205.4 MB / 222.8 MB, free: 5.652 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.4703/0.4703, allocations: 43.58 MB / 314.6 MB, free: 9.02 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.0005147/0.000515, allocations: 16 kB / 384 MB, free: 8.227 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1364/0.137, allocations: 58.86 MB / 442.8 MB, free: 13.26 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test75): time 0.002333/0.1393, allocations: 1.519 MB / 444.3 MB, free: 11.73 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001548/0.141, allocations: 0.8357 MB / 445.2 MB, free: 10.89 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001637/0.1412, allocations: 7.938 kB / 445.2 MB, free: 10.88 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004921/0.1417, allocations: 199.6 kB / 445.4 MB, free: 10.68 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004211/0.1421, allocations: 159.5 kB / 445.5 MB, free: 10.53 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004605/0.1426, allocations: 135.7 kB / 445.7 MB, free: 10.39 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003906/0.143, allocations: 191.4 kB / 445.9 MB, free: 10.21 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001339/0.1431, allocations: 25.52 kB / 445.9 MB, free: 10.18 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002083/0.1433, allocations: 99.59 kB / 446 MB, free: 10.08 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001923/0.1435, allocations: 123.5 kB / 446.1 MB, free: 9.957 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.348e-05/0.1436, allocations: 8 kB / 446.1 MB, free: 9.949 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000125/0.1437, allocations: 35.98 kB / 446.1 MB, free: 9.914 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001146/0.1438, allocations: 47.83 kB / 446.2 MB, free: 9.867 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 6.805e-05/0.1439, allocations: 57.58 kB / 446.2 MB, free: 9.805 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002431/0.1441, allocations: 152 kB / 446.4 MB, free: 9.656 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.184e-06/0.1442, allocations: 3.938 kB / 446.4 MB, free: 9.652 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.903e-06/0.1442, allocations: 3.938 kB / 446.4 MB, free: 9.648 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.296e-06/0.1442, allocations: 0 / 446.4 MB, free: 9.648 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0009961/0.1452, allocations: 0.5136 MB / 446.9 MB, free: 9.086 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.94e-05/0.1452, allocations: 16.02 kB / 446.9 MB, free: 9.07 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.028e-05/0.1453, allocations: 23.72 kB / 447 MB, free: 9.047 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00039/0.1457, allocations: 267 kB / 447.2 MB, free: 8.746 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.583e-05/0.1458, allocations: 3.938 kB / 447.2 MB, free: 8.742 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.942e-05/0.1458, allocations: 4 kB / 447.2 MB, free: 8.738 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002616/0.1461, allocations: 99.3 kB / 447.3 MB, free: 8.629 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.414e-05/0.1461, allocations: 0 / 447.3 MB, free: 8.629 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.308e-05/0.1461, allocations: 11.94 kB / 447.3 MB, free: 8.617 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.674e-06/0.1461, allocations: 8 kB / 447.3 MB, free: 8.609 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001327/0.1463, allocations: 35.98 kB / 447.4 MB, free: 8.574 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007027/0.147, allocations: 445 kB / 447.8 MB, free: 8.086 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000302/0.1473, allocations: 121.3 kB / 447.9 MB, free: 7.949 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.116e-05/0.1474, allocations: 37.7 kB / 448 MB, free: 7.906 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.452e-05/0.1474, allocations: 7.953 kB / 448 MB, free: 7.898 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002828/0.1477, allocations: 116.9 kB / 448.1 MB, free: 7.766 MB / 382.1 MB Notification: Performance of pre-optimization done (n=12): time 1.493e-06/0.1477, allocations: 0 / 448.1 MB, free: 7.766 MB / 382.1 MB Notification: Performance of matching and sorting (n=16): time 0.001075/0.1488, allocations: 360 kB / 448.4 MB, free: 7.406 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.843e-05/0.1489, allocations: 81.11 kB / 448.5 MB, free: 7.309 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005981/0.1495, allocations: 432.5 kB / 448.9 MB, free: 6.879 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.229e-05/0.1496, allocations: 25.7 kB / 449 MB, free: 6.848 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001697/0.1498, allocations: 160.3 kB / 449.1 MB, free: 6.688 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000107/0.1499, allocations: 55.28 kB / 449.2 MB, free: 6.633 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.077e-05/0.1499, allocations: 4 kB / 449.2 MB, free: 6.629 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0002264/0.1501, allocations: 342.8 kB / 449.5 MB, free: 6.285 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000111/0.1503, allocations: 39.94 kB / 449.6 MB, free: 6.246 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001384/0.1504, allocations: 71.41 kB / 449.6 MB, free: 6.164 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001336/0.1505, allocations: 48 kB / 449.7 MB, free: 6.117 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/0.1506, allocations: 0 / 449.7 MB, free: 6.117 MB / 382.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003863/0.1509, allocations: 181.2 kB / 449.8 MB, free: 5.934 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.696e-05/0.151, allocations: 4 kB / 449.9 MB, free: 5.93 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.258e-06/0.151, allocations: 0 / 449.9 MB, free: 5.93 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.329e-05/0.151, allocations: 4 kB / 449.9 MB, free: 5.926 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000162/0.1512, allocations: 27.98 kB / 449.9 MB, free: 5.898 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.404e-06/0.1512, allocations: 12 kB / 449.9 MB, free: 5.887 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001027/0.1513, allocations: 11.98 kB / 449.9 MB, free: 5.875 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.226e-05/0.1514, allocations: 8 kB / 449.9 MB, free: 5.867 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition2,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled,$whenCondition1,$PRE.t_new_2.nextTimeEvent,t_new_2.nextTimeEvent,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (20): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002297/0.1516, allocations: 169.7 kB / 450.1 MB, free: 5.691 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.846e-05/0.1517, allocations: 27.62 kB / 450.1 MB, free: 5.664 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.451e-05/0.1518, allocations: 34.62 kB / 450.1 MB, free: 5.629 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.612e-06/0.1518, allocations: 7.938 kB / 450.1 MB, free: 5.621 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.084e-05/0.1518, allocations: 0 / 450.1 MB, free: 5.621 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.58e-06/0.1518, allocations: 4.75 kB / 450.2 MB, free: 5.617 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009914/0.1528, allocations: 0.6283 MB / 450.8 MB, free: 4.926 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.006e-06/0.1528, allocations: 0 / 450.8 MB, free: 4.926 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.304e-05/0.1529, allocations: 19.98 kB / 450.8 MB, free: 4.906 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.35e-06/0.1529, allocations: 0 / 450.8 MB, free: 4.906 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.699e-05/0.1529, allocations: 12 kB / 450.8 MB, free: 4.895 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.999e-06/0.153, allocations: 8.062 kB / 450.8 MB, free: 4.887 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.639e-06/0.153, allocations: 7.891 kB / 450.8 MB, free: 4.879 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005342/0.1535, allocations: 360.1 kB / 451.2 MB, free: 4.504 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001052/0.1536, allocations: 100.8 kB / 451.3 MB, free: 4.387 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.648e-05/0.1537, allocations: 12 kB / 451.3 MB, free: 4.375 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001586/0.1538, allocations: 11.98 kB / 451.3 MB, free: 4.363 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.34e-05/0.1539, allocations: 11.94 kB / 451.3 MB, free: 4.352 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.873e-05/0.154, allocations: 8 kB / 451.3 MB, free: 4.344 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.000388/0.1543, allocations: 323 kB / 451.6 MB, free: 4.027 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1544, allocations: 0 / 451.6 MB, free: 4.027 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003905/0.1548, allocations: 36 kB / 451.7 MB, free: 3.992 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition2,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001271/0.156, allocations: 472.9 kB / 452.1 MB, free: 3.562 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002937/0.1563, allocations: 107.9 kB / 452.2 MB, free: 3.457 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.1564, allocations: 128 / 452.2 MB, free: 3.457 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001435/0.1565, allocations: 67.86 kB / 452.3 MB, free: 3.391 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005432/0.1571, allocations: 52.91 kB / 452.4 MB, free: 3.34 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001001/0.1581, allocations: 0.517 MB / 452.9 MB, free: 2.793 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004868/0.1586, allocations: 0.7635 MB / 453.6 MB, free: 2.004 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001424/0.1587, allocations: 34.56 kB / 453.7 MB, free: 1.969 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.546e-05/0.1588, allocations: 27.42 kB / 453.7 MB, free: 1.941 MB / 382.1 MB Notification: Performance of SimCode: time 6.91e-07/0.1588, allocations: 0 / 453.7 MB, free: 1.941 MB / 382.1 MB Notification: Performance of Templates: time 0.2216/0.3804, allocations: 2.501 MB / 456.2 MB, free: 45.61 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test75.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test75.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test75.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test75.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test75.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test75 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test75.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test75_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test75/Test75.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test75.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches