Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test7.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.Test7,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.Test7") translateModel(ModelicaTest.Tables.CombiTimeTable.Test7,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.Test7") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00124/0.00124, allocations: 110.5 kB / 16.41 MB, free: 6.496 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.001383/0.001383, allocations: 188.1 kB / 17.34 MB, free: 5.762 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.561/1.561, allocations: 205.1 MB / 223.2 MB, free: 12.23 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.2233/0.2233, allocations: 43.53 MB / 314.1 MB, free: 464 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.001545/0.001545, allocations: 67.89 kB / 441.9 MB, free: 5.609 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1277/0.1292, allocations: 57.79 MB / 499.7 MB, free: 11.75 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test7): time 0.004229/0.1335, allocations: 1.693 MB / 0.4896 GB, free: 10.04 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001798/0.1354, allocations: 0.8078 MB / 0.4904 GB, free: 9.227 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001357/0.1355, allocations: 0 / 0.4904 GB, free: 9.227 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004235/0.136, allocations: 107.7 kB / 0.4905 GB, free: 9.121 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003051/0.1363, allocations: 87.64 kB / 0.4906 GB, free: 9.035 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003309/0.1366, allocations: 87.77 kB / 0.4907 GB, free: 8.949 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002322/0.1369, allocations: 111.7 kB / 0.4908 GB, free: 8.84 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001178/0.137, allocations: 16.2 kB / 0.4908 GB, free: 8.824 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001343/0.1372, allocations: 55.77 kB / 0.4908 GB, free: 8.77 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001235/0.1373, allocations: 55.81 kB / 0.4909 GB, free: 8.715 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.357e-05/0.1373, allocations: 4 kB / 0.4909 GB, free: 8.711 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001219/0.1374, allocations: 51.92 kB / 0.4909 GB, free: 8.66 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.762e-05/0.1375, allocations: 27.86 kB / 0.491 GB, free: 8.633 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 6.3e-05/0.1376, allocations: 43.72 kB / 0.491 GB, free: 8.59 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002786/0.1379, allocations: 123.6 kB / 0.4911 GB, free: 8.469 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.378e-06/0.1379, allocations: 0 / 0.4911 GB, free: 8.469 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.763e-06/0.1379, allocations: 0 / 0.4911 GB, free: 8.469 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.742e-06/0.1379, allocations: 0 / 0.4911 GB, free: 8.469 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.0007765/0.1387, allocations: 426.8 kB / 0.4915 GB, free: 8.004 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.895e-05/0.1387, allocations: 15.83 kB / 0.4916 GB, free: 7.988 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.026e-05/0.1388, allocations: 20.73 kB / 0.4916 GB, free: 7.969 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004337/0.1393, allocations: 220.7 kB / 0.4918 GB, free: 7.715 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.922e-05/0.1393, allocations: 384 / 0.4918 GB, free: 7.715 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.428e-05/0.1393, allocations: 16.09 kB / 0.4918 GB, free: 7.699 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000194/0.1395, allocations: 53.67 kB / 0.4918 GB, free: 7.641 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.376e-05/0.1396, allocations: 0 / 0.4918 GB, free: 7.641 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.265e-05/0.1396, allocations: 0 / 0.4918 GB, free: 7.641 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.632e-06/0.1396, allocations: 0 / 0.4918 GB, free: 7.641 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.055e-05/0.1397, allocations: 19.98 kB / 0.4919 GB, free: 7.621 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005793/0.1403, allocations: 300.8 kB / 0.4922 GB, free: 7.277 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001966/0.1405, allocations: 58.67 kB / 0.4922 GB, free: 7.211 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.648e-05/0.1405, allocations: 16.86 kB / 0.4922 GB, free: 7.191 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.896e-05/0.1406, allocations: 0 / 0.4922 GB, free: 7.191 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001893/0.1408, allocations: 79.31 kB / 0.4923 GB, free: 7.102 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 2.274e-06/0.1408, allocations: 0 / 0.4923 GB, free: 7.102 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006408/0.1414, allocations: 181 kB / 0.4925 GB, free: 6.918 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.299e-05/0.1415, allocations: 55.41 kB / 0.4925 GB, free: 6.852 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002506/0.1418, allocations: 242.3 kB / 0.4928 GB, free: 6.602 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.628e-05/0.1418, allocations: 25.7 kB / 0.4928 GB, free: 6.57 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.682e-05/0.1419, allocations: 108.1 kB / 0.4929 GB, free: 6.461 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.179e-05/0.1419, allocations: 27.66 kB / 0.4929 GB, free: 6.434 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.629e-05/0.142, allocations: 25.7 kB / 0.4929 GB, free: 6.402 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001402/0.1421, allocations: 330.8 kB / 0.4933 GB, free: 6.07 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.967e-05/0.1422, allocations: 19.98 kB / 0.4933 GB, free: 6.051 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.798e-05/0.1423, allocations: 34.08 kB / 0.4933 GB, free: 6.012 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001339/0.1424, allocations: 69.7 kB / 0.4934 GB, free: 5.938 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.082e-06/0.1424, allocations: 4 kB / 0.4934 GB, free: 5.934 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002044/0.1426, allocations: 105.5 kB / 0.4935 GB, free: 5.824 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.908e-05/0.1427, allocations: 4 kB / 0.4935 GB, free: 5.82 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.811e-06/0.1427, allocations: 0 / 0.4935 GB, free: 5.82 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.8e-05/0.1427, allocations: 0 / 0.4935 GB, free: 5.82 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001038/0.1428, allocations: 23.94 kB / 0.4935 GB, free: 5.797 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.187e-06/0.1428, allocations: 3.984 kB / 0.4935 GB, free: 5.793 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.049e-05/0.1429, allocations: 3.938 kB / 0.4935 GB, free: 5.789 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.169e-05/0.1429, allocations: 4 kB / 0.4935 GB, free: 5.785 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.0001364/0.143, allocations: 145.7 kB / 0.4937 GB, free: 5.633 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.927e-05/0.1431, allocations: 11.81 kB / 0.4937 GB, free: 5.621 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.423e-05/0.1431, allocations: 17.41 kB / 0.4937 GB, free: 5.602 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.396e-06/0.1431, allocations: 0 / 0.4937 GB, free: 5.602 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.137e-06/0.1431, allocations: 3.984 kB / 0.4937 GB, free: 5.598 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.302e-06/0.1432, allocations: 3.938 kB / 0.4937 GB, free: 5.594 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004882/0.1437, allocations: 395.3 kB / 0.4941 GB, free: 5.148 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.505e-06/0.1437, allocations: 4.031 kB / 0.4941 GB, free: 5.145 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.301e-05/0.1437, allocations: 12 kB / 0.4941 GB, free: 5.133 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.415e-06/0.1437, allocations: 0 / 0.4941 GB, free: 5.133 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.782e-05/0.1437, allocations: 11.92 kB / 0.4941 GB, free: 5.121 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.635e-06/0.1437, allocations: 3.938 kB / 0.4941 GB, free: 5.117 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.104e-06/0.1438, allocations: 0 / 0.4941 GB, free: 5.117 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000251/0.144, allocations: 200.2 kB / 0.4943 GB, free: 4.902 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.797e-05/0.1441, allocations: 89.02 kB / 0.4944 GB, free: 4.797 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.363e-05/0.1441, allocations: 7.938 kB / 0.4944 GB, free: 4.789 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.855e-05/0.1442, allocations: 4.172 kB / 0.4944 GB, free: 4.785 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.963e-05/0.1442, allocations: 4 kB / 0.4944 GB, free: 4.781 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.747e-05/0.1443, allocations: 11.94 kB / 0.4944 GB, free: 4.77 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001499/0.1444, allocations: 180.3 kB / 0.4946 GB, free: 4.594 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1444, allocations: 0 / 0.4946 GB, free: 4.594 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002552/0.1447, allocations: 31.89 kB / 0.4946 GB, free: 4.562 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.001089/0.1458, allocations: 469.4 kB / 0.495 GB, free: 4.145 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001994/0.146, allocations: 55.97 kB / 0.4951 GB, free: 4.09 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.146, allocations: 0 / 0.4951 GB, free: 4.09 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.484e-05/0.1461, allocations: 35.98 kB / 0.4951 GB, free: 4.055 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003464/0.1464, allocations: 47.02 kB / 0.4952 GB, free: 4.012 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005291/0.147, allocations: 263.5 kB / 0.4954 GB, free: 3.727 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003532/0.1473, allocations: 0.708 MB / 0.4961 GB, free: 2.992 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.885e-05/0.1474, allocations: 20.94 kB / 0.4961 GB, free: 2.969 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.491e-05/0.1474, allocations: 11.44 kB / 0.4962 GB, free: 2.957 MB / 382.1 MB Notification: Performance of SimCode: time 2.41e-07/0.1475, allocations: 7.938 kB / 0.4962 GB, free: 2.949 MB / 382.1 MB Notification: Performance of Templates: time 0.00471/0.1522, allocations: 1.72 MB / 0.4978 GB, free: 1.234 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test7.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test7.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test7.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test7.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test7.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test7 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test7.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test7_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test7/Test7.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test7.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches