Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test39.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.Test39,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test39") translateModel(ModelicaTest.Tables.CombiTimeTable.Test39,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test39") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009012/0.0009009, allocations: 95 kB / 17 MB, free: 6.418 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.001053/0.001053, allocations: 189.2 kB / 17.89 MB, free: 5.945 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.582/1.582, allocations: 223.2 MB / 241.9 MB, free: 360 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2355/0.2355, allocations: 44.25 MB / 337.3 MB, free: 2.773 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003702/0.0003702, allocations: 12.88 kB / 409.7 MB, free: 27.65 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1338/0.1342, allocations: 61.93 MB / 471.6 MB, free: 13.69 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test39): time 0.002386/0.1366, allocations: 1.359 MB / 473 MB, free: 12.32 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001406/0.138, allocations: 0.7842 MB / 473.7 MB, free: 11.53 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.528e-05/0.1381, allocations: 3.938 kB / 473.7 MB, free: 11.52 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000337/0.1385, allocations: 59.86 kB / 473.8 MB, free: 11.46 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001825/0.1387, allocations: 51.81 kB / 473.9 MB, free: 11.41 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002577/0.1389, allocations: 86.45 kB / 473.9 MB, free: 11.33 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001612/0.1391, allocations: 87.69 kB / 474 MB, free: 11.25 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.754e-05/0.1392, allocations: 11.98 kB / 474 MB, free: 11.23 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.456e-05/0.1393, allocations: 39.8 kB / 474.1 MB, free: 11.2 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.747e-05/0.1394, allocations: 39.83 kB / 474.1 MB, free: 11.16 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.539e-05/0.1394, allocations: 0 / 474.1 MB, free: 11.16 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.865e-05/0.1395, allocations: 23.98 kB / 474.1 MB, free: 11.13 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.836e-05/0.1395, allocations: 15.92 kB / 474.2 MB, free: 11.12 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.56e-05/0.1396, allocations: 37.64 kB / 474.2 MB, free: 11.07 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001477/0.1398, allocations: 84.03 kB / 474.3 MB, free: 10.99 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.649e-06/0.1398, allocations: 3.938 kB / 474.3 MB, free: 10.99 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.383e-06/0.1398, allocations: 4 kB / 474.3 MB, free: 10.98 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.008e-06/0.1398, allocations: 0 / 474.3 MB, free: 10.98 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0005617/0.1404, allocations: 387 kB / 474.7 MB, free: 10.56 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.789e-05/0.1404, allocations: 8.031 kB / 474.7 MB, free: 10.55 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.518e-05/0.1405, allocations: 7.906 kB / 474.7 MB, free: 10.54 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002427/0.1407, allocations: 191 kB / 474.9 MB, free: 10.32 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.161e-05/0.1408, allocations: 7.984 kB / 474.9 MB, free: 10.31 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.434e-05/0.1408, allocations: 4 kB / 474.9 MB, free: 10.3 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001569/0.1409, allocations: 53.58 kB / 474.9 MB, free: 10.25 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.809e-06/0.141, allocations: 0 / 474.9 MB, free: 10.25 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.098e-05/0.141, allocations: 0 / 474.9 MB, free: 10.25 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.163e-06/0.141, allocations: 3.984 kB / 474.9 MB, free: 10.24 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.546e-05/0.1411, allocations: 12 kB / 474.9 MB, free: 10.23 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002266/0.1413, allocations: 193.5 kB / 475.1 MB, free: 9.992 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001539/0.1415, allocations: 50.61 kB / 475.2 MB, free: 9.934 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.253e-05/0.1415, allocations: 20.86 kB / 475.2 MB, free: 9.91 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.218e-05/0.1416, allocations: 7.922 kB / 475.2 MB, free: 9.902 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002207/0.1418, allocations: 67.34 kB / 475.3 MB, free: 9.824 MB / 350.1 MB Notification: Performance of pre-optimization done (n=5): time 1.262e-06/0.1418, allocations: 0 / 475.3 MB, free: 9.824 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.0002959/0.1421, allocations: 89.58 kB / 475.4 MB, free: 9.73 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.411e-05/0.1422, allocations: 55.41 kB / 475.4 MB, free: 9.664 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000197/0.1424, allocations: 194.1 kB / 475.6 MB, free: 9.465 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.016e-05/0.1424, allocations: 25.7 kB / 475.6 MB, free: 9.434 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.697e-05/0.1425, allocations: 100.1 kB / 475.7 MB, free: 9.332 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.222e-05/0.1425, allocations: 23.78 kB / 475.8 MB, free: 9.309 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.398e-06/0.1426, allocations: 0 / 475.8 MB, free: 9.309 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001623/0.1427, allocations: 322.8 kB / 476.1 MB, free: 8.984 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.585e-05/0.1428, allocations: 12 kB / 476.1 MB, free: 8.973 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.493e-05/0.1428, allocations: 29.7 kB / 476.1 MB, free: 8.938 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.1e-05/0.1429, allocations: 20.25 kB / 476.1 MB, free: 8.918 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.873e-06/0.1429, allocations: 0 / 476.1 MB, free: 8.918 MB / 350.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001392/0.1431, allocations: 85.53 kB / 476.2 MB, free: 8.828 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.507e-05/0.1431, allocations: 7.953 kB / 476.2 MB, free: 8.82 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.951e-06/0.1431, allocations: 3.984 kB / 476.2 MB, free: 8.816 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.381e-05/0.1431, allocations: 3.984 kB / 476.2 MB, free: 8.812 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.989e-05/0.1432, allocations: 8 kB / 476.2 MB, free: 8.805 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.63e-06/0.1432, allocations: 4 kB / 476.2 MB, free: 8.801 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.101e-05/0.1432, allocations: 4.031 kB / 476.2 MB, free: 8.797 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.065e-06/0.1433, allocations: 4 kB / 476.2 MB, free: 8.793 MB / 350.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 ($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 (7): * Single equations (assignments): 7 * 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.0001044/0.1434, allocations: 126.4 kB / 476.4 MB, free: 8.66 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.542e-05/0.1434, allocations: 7.906 kB / 476.4 MB, free: 8.652 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.907e-05/0.1434, allocations: 24.19 kB / 476.4 MB, free: 8.625 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.866e-06/0.1434, allocations: 4 kB / 476.4 MB, free: 8.621 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.817e-06/0.1434, allocations: 0 / 476.4 MB, free: 8.621 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.775e-06/0.1435, allocations: 0 / 476.4 MB, free: 8.621 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001459/0.1436, allocations: 177.5 kB / 476.6 MB, free: 8.398 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.218e-06/0.1436, allocations: 8 kB / 476.6 MB, free: 8.391 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.734e-05/0.1436, allocations: 3.938 kB / 476.6 MB, free: 8.387 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.729e-06/0.1437, allocations: 4 kB / 476.6 MB, free: 8.383 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.968e-06/0.1437, allocations: 7.938 kB / 476.6 MB, free: 8.375 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.685e-06/0.1437, allocations: 3.953 kB / 476.6 MB, free: 8.371 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.416e-06/0.1437, allocations: 3.984 kB / 476.6 MB, free: 8.367 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001676/0.1439, allocations: 97.03 kB / 476.7 MB, free: 8.254 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.146e-05/0.1439, allocations: 96.94 kB / 476.8 MB, free: 8.141 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.024e-05/0.1439, allocations: 4 kB / 476.8 MB, free: 8.137 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.429e-05/0.144, allocations: 4 kB / 476.8 MB, free: 8.133 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.799e-05/0.144, allocations: 7.938 kB / 476.8 MB, free: 8.125 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.522e-05/0.144, allocations: 4 kB / 476.8 MB, free: 8.121 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001178/0.1442, allocations: 135.2 kB / 477 MB, free: 7.988 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1442, allocations: 0 / 477 MB, free: 7.988 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002118/0.1444, allocations: 23.98 kB / 477 MB, free: 7.965 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 3 * 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.0009484/0.1453, allocations: 408.8 kB / 477.4 MB, free: 7.711 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001459/0.1455, allocations: 39.98 kB / 477.4 MB, free: 7.672 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.824e-06/0.1455, allocations: 0 / 477.4 MB, free: 7.672 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 5.775e-05/0.1456, allocations: 23.92 kB / 477.4 MB, free: 7.648 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002636/0.1458, allocations: 23.61 kB / 477.5 MB, free: 7.629 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004252/0.1463, allocations: 213 kB / 477.7 MB, free: 7.395 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003138/0.1466, allocations: 0.7004 MB / 478.4 MB, free: 6.668 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 4.823e-05/0.1467, allocations: 12.8 kB / 478.4 MB, free: 6.656 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.467e-05/0.1467, allocations: 23.42 kB / 478.4 MB, free: 6.633 MB / 350.1 MB Notification: Performance of SimCode: time 2.71e-07/0.1467, allocations: 4 kB / 478.4 MB, free: 6.629 MB / 350.1 MB Notification: Performance of Templates: time 0.004261/0.151, allocations: 1.379 MB / 479.8 MB, free: 5.262 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test39.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test39.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test39.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test39.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test39.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test39 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test39.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test39_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test39/Test39.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test39.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches