Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test56.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 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 ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test56,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.Test56") translateModel(ModelicaTest.Tables.CombiTimeTable.Test56,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.Test56") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001238/0.001238, allocations: 183.7 kB / 15.76 MB, free: 6.367 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.717/1.717, allocations: 205.4 MB / 221.9 MB, free: 13.83 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008582/0.0008582, allocations: 94.86 kB / 270.2 MB, free: 13.36 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2124/0.2124, allocations: 43.56 MB / 362 MB, free: 11.3 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003406/0.0003403, allocations: 8 kB / 431.4 MB, free: 19.59 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1429/0.1432, allocations: 58.86 MB / 490.3 MB, free: 8.66 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.449/0.5923, allocations: 87.94 MB / 0.5646 GB, free: 11.91 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002672/0.5926, allocations: 78.8 kB / 0.5647 GB, free: 11.87 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01805/0.6107, allocations: 5.96 MB / 0.5705 GB, free: 7.082 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.284e-06/0.6107, allocations: 0 / 0.5705 GB, free: 7.082 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.402e-05/0.6107, allocations: 0 / 0.5705 GB, free: 7.082 MB / 378.7 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.0007006/0.6115, allocations: 402.8 kB / 0.5709 GB, free: 6.648 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.086e-05/0.6115, allocations: 16.02 kB / 0.5709 GB, free: 6.633 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.095e-05/0.6116, allocations: 7.906 kB / 0.5709 GB, free: 6.625 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003816/0.612, allocations: 219 kB / 0.5712 GB, free: 6.379 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.384e-05/0.6121, allocations: 0 / 0.5712 GB, free: 6.379 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.646e-05/0.6121, allocations: 7.5 kB / 0.5712 GB, free: 6.375 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002193/0.6123, allocations: 67.27 kB / 0.5712 GB, free: 6.305 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.824e-05/0.6123, allocations: 3.938 kB / 0.5712 GB, free: 6.301 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.723e-05/0.6124, allocations: 0 / 0.5712 GB, free: 6.301 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.733e-06/0.6124, allocations: 4 kB / 0.5712 GB, free: 6.297 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.59e-05/0.6125, allocations: 19.92 kB / 0.5713 GB, free: 6.281 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005919/0.6131, allocations: 291.4 kB / 0.5715 GB, free: 5.969 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001966/0.6133, allocations: 61.98 kB / 0.5716 GB, free: 5.91 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.093e-05/0.6133, allocations: 0 / 0.5716 GB, free: 5.91 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001848/0.6135, allocations: 67.14 kB / 0.5717 GB, free: 5.84 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 4.258e-06/0.6135, allocations: 0 / 0.5717 GB, free: 5.84 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0007448/0.6143, allocations: 172 kB / 0.5718 GB, free: 5.699 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.954e-05/0.6144, allocations: 77.11 kB / 0.5719 GB, free: 5.605 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001964/0.6146, allocations: 151.9 kB / 0.572 GB, free: 5.465 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.764e-05/0.6146, allocations: 29.58 kB / 0.5721 GB, free: 5.434 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.382e-05/0.6147, allocations: 95.81 kB / 0.5722 GB, free: 5.344 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.94e-05/0.6148, allocations: 27.56 kB / 0.5722 GB, free: 5.32 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.3e-06/0.6148, allocations: 0 / 0.5722 GB, free: 5.32 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001552/0.6149, allocations: 318.7 kB / 0.5725 GB, free: 5.004 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.634e-05/0.615, allocations: 19.55 kB / 0.5725 GB, free: 4.992 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.821e-05/0.6151, allocations: 50.31 kB / 0.5726 GB, free: 4.941 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.857e-05/0.6152, allocations: 27.42 kB / 0.5726 GB, free: 4.926 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.072e-06/0.6152, allocations: 0 / 0.5726 GB, free: 4.926 MB / 378.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002063/0.6154, allocations: 108.9 kB / 0.5727 GB, free: 4.832 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.199e-05/0.6154, allocations: 6.656 kB / 0.5727 GB, free: 4.828 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.857e-06/0.6154, allocations: 3.953 kB / 0.5727 GB, free: 4.824 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.115e-05/0.6155, allocations: 4 kB / 0.5727 GB, free: 4.82 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.645e-05/0.6156, allocations: 15.98 kB / 0.5727 GB, free: 4.805 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.012e-05/0.6156, allocations: 4.062 kB / 0.5727 GB, free: 4.801 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.659e-05/0.6157, allocations: 4 kB / 0.5727 GB, free: 4.797 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.178e-06/0.6157, allocations: 0 / 0.5727 GB, free: 4.797 MB / 378.7 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 ($whenCondition1,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001184/0.6158, allocations: 137.5 kB / 0.5728 GB, free: 4.66 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.872e-05/0.6159, allocations: 8.281 kB / 0.5729 GB, free: 4.652 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002662/0.6161, allocations: 117 kB / 0.573 GB, free: 4.555 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.282e-06/0.6162, allocations: 3.953 kB / 0.573 GB, free: 4.551 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.839e-06/0.6162, allocations: 0 / 0.573 GB, free: 4.551 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.03e-06/0.6162, allocations: 8 kB / 0.573 GB, free: 4.543 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005132/0.6167, allocations: 405.2 kB / 0.5734 GB, free: 4.129 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.083e-06/0.6167, allocations: 3.938 kB / 0.5734 GB, free: 4.125 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.781e-05/0.6168, allocations: 15.94 kB / 0.5734 GB, free: 4.109 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.048e-06/0.6168, allocations: 0 / 0.5734 GB, free: 4.109 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.73e-05/0.6168, allocations: 7.938 kB / 0.5734 GB, free: 4.105 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.435e-06/0.6168, allocations: 0 / 0.5734 GB, free: 4.105 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.843e-06/0.6168, allocations: 0 / 0.5734 GB, free: 4.105 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002964/0.6171, allocations: 221.3 kB / 0.5736 GB, free: 3.883 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.522e-05/0.6172, allocations: 96.66 kB / 0.5737 GB, free: 3.773 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.817e-05/0.6173, allocations: 384 / 0.5737 GB, free: 3.773 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.565e-05/0.6174, allocations: 4 kB / 0.5737 GB, free: 3.77 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.467e-05/0.6174, allocations: 11.92 kB / 0.5737 GB, free: 3.762 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.186e-05/0.6174, allocations: 8 kB / 0.5737 GB, free: 3.754 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001105/0.6176, allocations: 121.9 kB / 0.5738 GB, free: 3.648 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.51e-07/0.6176, allocations: 0 / 0.5738 GB, free: 3.648 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003615/0.6179, allocations: 43.8 kB / 0.5739 GB, free: 3.613 MB / 378.7 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 (9): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001536/0.6195, allocations: 0.4977 MB / 0.5744 GB, free: 3.176 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002761/0.6198, allocations: 67.16 kB / 0.5744 GB, free: 3.125 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 4.468e-06/0.6198, allocations: 0 / 0.5744 GB, free: 3.125 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 9.283e-05/0.6199, allocations: 31.67 kB / 0.5745 GB, free: 3.102 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003085/0.6202, allocations: 31.75 kB / 0.5745 GB, free: 3.074 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005578/0.6208, allocations: 210.2 kB / 0.5747 GB, free: 2.848 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003471/0.6211, allocations: 0.7043 MB / 0.5754 GB, free: 2.117 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 8.012e-05/0.6212, allocations: 20.53 kB / 0.5754 GB, free: 2.098 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.895e-05/0.6213, allocations: 27.19 kB / 0.5754 GB, free: 2.074 MB / 378.7 MB Notification: Performance of SimCode: time 2.2e-07/0.6213, allocations: 0 / 0.5754 GB, free: 2.074 MB / 378.7 MB Notification: Performance of Templates: time 0.00576/0.6271, allocations: 1.882 MB / 0.5773 GB, free: 212 kB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test56.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test56.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test56.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test56.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test56.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test56 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test56.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test56_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test56/Test56.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test56.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches