Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test1.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.Test1,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.Test1") translateModel(ModelicaTest.Tables.CombiTimeTable.Test1,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.Test1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001247/0.001247, allocations: 100.8 kB / 15.98 MB, free: 6.762 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.00128/0.00128, allocations: 192 kB / 16.9 MB, free: 6.559 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.866/1.866, allocations: 205.1 MB / 222.8 MB, free: 4.742 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.3784/0.3784, allocations: 43.5 MB / 313.6 MB, free: 8.492 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.001456/0.001457, allocations: 70.56 kB / 382.2 MB, free: 8.613 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1254/0.1269, allocations: 57.79 MB / 440 MB, free: 14.73 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test1): time 0.004733/0.1317, allocations: 1.752 MB / 441.8 MB, free: 12.96 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001542/0.1333, allocations: 0.7963 MB / 442.6 MB, free: 12.16 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.697e-05/0.1334, allocations: 0 / 442.6 MB, free: 12.16 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004037/0.1338, allocations: 43.88 kB / 442.6 MB, free: 12.11 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002593/0.1341, allocations: 55.77 kB / 442.7 MB, free: 12.06 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002516/0.1343, allocations: 71.92 kB / 442.7 MB, free: 11.99 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001984/0.1346, allocations: 107.6 kB / 442.8 MB, free: 11.88 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001057/0.1347, allocations: 16.16 kB / 442.9 MB, free: 11.87 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.465e-05/0.1348, allocations: 39.8 kB / 442.9 MB, free: 11.83 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.031e-05/0.1348, allocations: 35.83 kB / 442.9 MB, free: 11.79 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.835e-05/0.1349, allocations: 4 kB / 442.9 MB, free: 11.79 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.267e-05/0.135, allocations: 40 kB / 443 MB, free: 11.75 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 7.912e-05/0.1351, allocations: 35.78 kB / 443 MB, free: 11.71 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 6.532e-05/0.1351, allocations: 39.73 kB / 443 MB, free: 11.68 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002043/0.1353, allocations: 131.8 kB / 443.2 MB, free: 11.55 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.588e-06/0.1354, allocations: 0 / 443.2 MB, free: 11.55 MB / 382.1 MB Notification: Performance of FrontEnd: time 4.107e-06/0.1354, allocations: 0 / 443.2 MB, free: 11.55 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.342e-06/0.1354, allocations: 3.938 kB / 443.2 MB, free: 11.54 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0006021/0.136, allocations: 438.7 kB / 443.6 MB, free: 11.07 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.978e-05/0.136, allocations: 11.89 kB / 443.6 MB, free: 11.05 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.936e-05/0.1361, allocations: 16.84 kB / 443.6 MB, free: 11.04 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002747/0.1364, allocations: 215.7 kB / 443.8 MB, free: 10.79 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.496e-05/0.1364, allocations: 8.312 kB / 443.9 MB, free: 10.78 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.21e-05/0.1364, allocations: 8.125 kB / 443.9 MB, free: 10.77 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001749/0.1366, allocations: 53.67 kB / 443.9 MB, free: 10.71 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.361e-05/0.1366, allocations: 0 / 443.9 MB, free: 10.71 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.469e-05/0.1367, allocations: 11.98 kB / 443.9 MB, free: 10.7 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.42e-06/0.1367, allocations: 0 / 443.9 MB, free: 10.7 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.433e-05/0.1367, allocations: 15.98 kB / 443.9 MB, free: 10.69 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004142/0.1372, allocations: 296.8 kB / 444.2 MB, free: 10.35 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001911/0.1374, allocations: 62.61 kB / 444.3 MB, free: 10.28 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.073e-05/0.1374, allocations: 16.86 kB / 444.3 MB, free: 10.26 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.313e-05/0.1375, allocations: 0 / 444.3 MB, free: 10.26 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002315/0.1377, allocations: 75.38 kB / 444.4 MB, free: 10.17 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.212e-06/0.1377, allocations: 0 / 444.4 MB, free: 10.17 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005796/0.1383, allocations: 177.1 kB / 444.6 MB, free: 9.992 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.032e-05/0.1383, allocations: 55.41 kB / 444.6 MB, free: 9.926 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002442/0.1386, allocations: 255.7 kB / 444.9 MB, free: 9.664 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.529e-05/0.1386, allocations: 29.64 kB / 444.9 MB, free: 9.629 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001063/0.1387, allocations: 112.1 kB / 445 MB, free: 9.516 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.204e-05/0.1388, allocations: 31.64 kB / 445 MB, free: 9.484 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.012e-05/0.1388, allocations: 25.72 kB / 445.1 MB, free: 9.453 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001258/0.1389, allocations: 330.8 kB / 445.4 MB, free: 9.121 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.547e-05/0.139, allocations: 19.94 kB / 445.4 MB, free: 9.102 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.569e-05/0.1391, allocations: 41.64 kB / 445.4 MB, free: 9.055 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001076/0.1392, allocations: 57.69 kB / 445.5 MB, free: 8.992 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.172e-06/0.1392, allocations: 4 kB / 445.5 MB, free: 8.988 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001863/0.1394, allocations: 113.5 kB / 445.6 MB, free: 8.871 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.551e-05/0.1394, allocations: 4 kB / 445.6 MB, free: 8.867 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.663e-06/0.1394, allocations: 7.984 kB / 445.6 MB, free: 8.859 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.321e-05/0.1395, allocations: 0 / 445.6 MB, free: 8.859 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.704e-05/0.1395, allocations: 12 kB / 445.6 MB, free: 8.848 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.831e-06/0.1396, allocations: 0 / 445.6 MB, free: 8.848 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.906e-05/0.1396, allocations: 7.938 kB / 445.6 MB, free: 8.84 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.163e-05/0.1396, allocations: 8 kB / 445.6 MB, free: 8.832 MB / 382.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 0.0001071/0.1397, allocations: 141.8 kB / 445.8 MB, free: 8.684 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001056/0.1399, allocations: 15.81 kB / 445.8 MB, free: 8.668 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.727e-05/0.1399, allocations: 17.41 kB / 445.8 MB, free: 8.648 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.024e-06/0.1399, allocations: 0 / 445.8 MB, free: 8.648 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.22e-06/0.1399, allocations: 384 / 445.8 MB, free: 8.648 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.849e-06/0.1399, allocations: 7.938 kB / 445.8 MB, free: 8.641 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004472/0.1404, allocations: 407.2 kB / 446.2 MB, free: 8.184 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.1404, allocations: 4.031 kB / 446.2 MB, free: 8.18 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.047e-05/0.1404, allocations: 8 kB / 446.2 MB, free: 8.172 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.536e-06/0.1404, allocations: 3.984 kB / 446.2 MB, free: 8.168 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.2e-05/0.1405, allocations: 7.938 kB / 446.2 MB, free: 8.16 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.695e-06/0.1405, allocations: 4 kB / 446.2 MB, free: 8.156 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.1405, allocations: 0 / 446.2 MB, free: 8.156 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002253/0.1407, allocations: 196.2 kB / 446.4 MB, free: 7.945 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.959e-05/0.1408, allocations: 96.92 kB / 446.5 MB, free: 7.832 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.583e-05/0.1408, allocations: 7.938 kB / 446.5 MB, free: 7.824 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.899e-05/0.1409, allocations: 3.984 kB / 446.5 MB, free: 7.82 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.491e-05/0.1409, allocations: 4 kB / 446.5 MB, free: 7.816 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.655e-05/0.1409, allocations: 4 kB / 446.6 MB, free: 7.812 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001642/0.1411, allocations: 211 kB / 446.8 MB, free: 7.605 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1411, allocations: 0 / 446.8 MB, free: 7.605 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002512/0.1414, allocations: 24 kB / 446.8 MB, free: 7.582 MB / 382.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.001082/0.1425, allocations: 477.7 kB / 447.2 MB, free: 7.148 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001953/0.1427, allocations: 59.89 kB / 447.3 MB, free: 7.09 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.643e-06/0.1427, allocations: 0 / 447.3 MB, free: 7.09 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 8.919e-05/0.1428, allocations: 39.98 kB / 447.3 MB, free: 7.051 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003376/0.1431, allocations: 32.16 kB / 447.4 MB, free: 7.02 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005685/0.1437, allocations: 319.7 kB / 447.7 MB, free: 6.68 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003552/0.1441, allocations: 0.7158 MB / 448.4 MB, free: 5.938 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.65e-05/0.1441, allocations: 16.86 kB / 448.4 MB, free: 5.918 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.112e-05/0.1442, allocations: 15.44 kB / 448.4 MB, free: 5.902 MB / 382.1 MB Notification: Performance of SimCode: time 2.4e-07/0.1442, allocations: 4 kB / 448.4 MB, free: 5.898 MB / 382.1 MB Notification: Performance of Templates: time 0.004892/0.1491, allocations: 1.693 MB / 450.1 MB, free: 4.207 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test1.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test1.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test1.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test1.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test1.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test1.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test1_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test1/Test1.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches