Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test76.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.Test76,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|t_new.y.3.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test76") translateModel(ModelicaTest.Tables.CombiTimeTable.Test76,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|t_new.y.3.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test76") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001387/0.001387, allocations: 104.8 kB / 16.4 MB, free: 6.504 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.001287/0.001288, allocations: 189.5 kB / 17.34 MB, free: 5.742 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.579/1.579, allocations: 205.1 MB / 223.2 MB, free: 12.27 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.2302/0.2302, allocations: 43.52 MB / 314.1 MB, free: 460 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.001407/0.001407, allocations: 69.47 kB / 441.9 MB, free: 5.578 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1247/0.1261, allocations: 57.78 MB / 499.7 MB, free: 11.72 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test76): time 0.004293/0.1304, allocations: 1.7 MB / 0.4896 GB, free: 10.01 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001382/0.1319, allocations: 0.8 MB / 0.4904 GB, free: 9.199 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.256e-05/0.132, allocations: 0 / 0.4904 GB, free: 9.199 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003692/0.1324, allocations: 55.73 kB / 0.4904 GB, free: 9.145 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003297/0.1327, allocations: 55.75 kB / 0.4905 GB, free: 9.09 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003603/0.1331, allocations: 91.7 kB / 0.4906 GB, free: 9 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002637/0.1334, allocations: 119.7 kB / 0.4907 GB, free: 8.883 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001404/0.1335, allocations: 16.22 kB / 0.4907 GB, free: 8.867 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001461/0.1337, allocations: 51.78 kB / 0.4908 GB, free: 8.816 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001245/0.1338, allocations: 43.83 kB / 0.4908 GB, free: 8.773 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.613e-05/0.1339, allocations: 4 kB / 0.4908 GB, free: 8.77 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001443/0.134, allocations: 43.98 kB / 0.4909 GB, free: 8.727 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 8.016e-05/0.1341, allocations: 31.91 kB / 0.4909 GB, free: 8.695 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 8.793e-05/0.1342, allocations: 47.66 kB / 0.4909 GB, free: 8.648 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000271/0.1345, allocations: 123.6 kB / 0.491 GB, free: 8.527 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.082e-06/0.1345, allocations: 0 / 0.491 GB, free: 8.527 MB / 382.1 MB Notification: Performance of FrontEnd: time 4.148e-06/0.1345, allocations: 8 kB / 0.4911 GB, free: 8.52 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.693e-06/0.1345, allocations: 0 / 0.4911 GB, free: 8.52 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.000669/0.1352, allocations: 418.9 kB / 0.4915 GB, free: 8.062 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.502e-05/0.1352, allocations: 11.89 kB / 0.4915 GB, free: 8.051 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.562e-05/0.1353, allocations: 12.75 kB / 0.4915 GB, free: 8.039 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000361/0.1357, allocations: 224.8 kB / 0.4917 GB, free: 7.781 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.313e-05/0.1357, allocations: 8.312 kB / 0.4917 GB, free: 7.773 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.604e-05/0.1357, allocations: 8.125 kB / 0.4917 GB, free: 7.766 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002263/0.136, allocations: 69.66 kB / 0.4918 GB, free: 7.691 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.022e-05/0.136, allocations: 0 / 0.4918 GB, free: 7.691 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.159e-05/0.136, allocations: 0 / 0.4918 GB, free: 7.691 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.338e-06/0.136, allocations: 0 / 0.4918 GB, free: 7.691 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001079/0.1361, allocations: 43.97 kB / 0.4918 GB, free: 7.648 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004455/0.1366, allocations: 308.7 kB / 0.4921 GB, free: 7.297 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002585/0.1368, allocations: 86.61 kB / 0.4922 GB, free: 7.203 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.678e-05/0.1369, allocations: 28.84 kB / 0.4922 GB, free: 7.172 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.522e-05/0.137, allocations: 4 kB / 0.4922 GB, free: 7.168 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000157/0.1371, allocations: 71.38 kB / 0.4923 GB, free: 7.086 MB / 382.1 MB Notification: Performance of pre-optimization done (n=8): time 1.643e-06/0.1371, allocations: 0 / 0.4923 GB, free: 7.086 MB / 382.1 MB Notification: Performance of matching and sorting (n=10): time 0.0006047/0.1377, allocations: 229.1 kB / 0.4925 GB, free: 6.855 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.14e-05/0.1378, allocations: 59.34 kB / 0.4926 GB, free: 6.785 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000159/0.138, allocations: 183.3 kB / 0.4927 GB, free: 6.598 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.919e-05/0.138, allocations: 25.7 kB / 0.4928 GB, free: 6.566 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.844e-05/0.1381, allocations: 112.1 kB / 0.4929 GB, free: 6.453 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.784e-05/0.1381, allocations: 31.55 kB / 0.4929 GB, free: 6.422 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.13e-05/0.1382, allocations: 21.72 kB / 0.4929 GB, free: 6.395 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001687/0.1383, allocations: 326.8 kB / 0.4932 GB, free: 6.066 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.128e-05/0.1384, allocations: 31.92 kB / 0.4933 GB, free: 6.035 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.11e-05/0.1385, allocations: 57.62 kB / 0.4933 GB, free: 5.973 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001428/0.1387, allocations: 81.64 kB / 0.4934 GB, free: 5.887 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.452e-06/0.1387, allocations: 0 / 0.4934 GB, free: 5.887 MB / 382.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002491/0.1389, allocations: 121.5 kB / 0.4935 GB, free: 5.762 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.661e-05/0.1389, allocations: 7.984 kB / 0.4935 GB, free: 5.754 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.739e-06/0.139, allocations: 0 / 0.4935 GB, free: 5.754 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.822e-05/0.139, allocations: 32 / 0.4935 GB, free: 5.754 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001009/0.1391, allocations: 24 kB / 0.4935 GB, free: 5.73 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.879e-06/0.1391, allocations: 4 kB / 0.4935 GB, free: 5.727 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.084e-05/0.1392, allocations: 7.922 kB / 0.4936 GB, free: 5.719 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.838e-06/0.1392, allocations: 4 kB / 0.4936 GB, free: 5.715 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 (12): * Single equations (assignments): 12 * 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.000122/0.1393, allocations: 133.7 kB / 0.4937 GB, free: 5.574 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.718e-05/0.1393, allocations: 15.8 kB / 0.4937 GB, free: 5.559 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.428e-05/0.1394, allocations: 18.06 kB / 0.4937 GB, free: 5.535 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.204e-06/0.1394, allocations: 0 / 0.4937 GB, free: 5.535 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.508e-06/0.1394, allocations: 7.938 kB / 0.4937 GB, free: 5.527 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.29e-06/0.1394, allocations: 3.938 kB / 0.4937 GB, free: 5.523 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005106/0.1399, allocations: 431.3 kB / 0.4941 GB, free: 5.043 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.934e-06/0.14, allocations: 0 / 0.4941 GB, free: 5.043 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.795e-05/0.14, allocations: 15.92 kB / 0.4942 GB, free: 5.027 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.16e-06/0.14, allocations: 7.938 kB / 0.4942 GB, free: 5.02 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.005e-05/0.14, allocations: 0 / 0.4942 GB, free: 5.02 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.773e-06/0.14, allocations: 0 / 0.4942 GB, free: 5.02 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.764e-06/0.14, allocations: 4 kB / 0.4942 GB, free: 5.016 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002655/0.1403, allocations: 236.1 kB / 0.4944 GB, free: 4.766 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.638e-05/0.1404, allocations: 85.02 kB / 0.4945 GB, free: 4.664 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.723e-05/0.1404, allocations: 7.938 kB / 0.4945 GB, free: 4.656 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.003e-05/0.1405, allocations: 0 / 0.4945 GB, free: 4.656 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.018e-05/0.1405, allocations: 11.98 kB / 0.4945 GB, free: 4.645 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.535e-05/0.1405, allocations: 4 kB / 0.4945 GB, free: 4.641 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001093/0.1407, allocations: 144.9 kB / 0.4946 GB, free: 4.5 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1407, allocations: 3.938 kB / 0.4946 GB, free: 4.496 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002773/0.141, allocations: 28 kB / 0.4947 GB, free: 4.469 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 (10): * Single equations (assignments): 8 * 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.001119/0.1421, allocations: 469 kB / 0.4951 GB, free: 4.051 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002287/0.1423, allocations: 79.91 kB / 0.4952 GB, free: 3.973 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.588e-06/0.1423, allocations: 0 / 0.4952 GB, free: 3.973 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 9.047e-05/0.1424, allocations: 39.92 kB / 0.4952 GB, free: 3.934 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003708/0.1428, allocations: 31.44 kB / 0.4953 GB, free: 3.906 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005128/0.1433, allocations: 258.9 kB / 0.4955 GB, free: 3.625 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003293/0.1437, allocations: 0.7084 MB / 0.4962 GB, free: 2.891 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 7.303e-05/0.1438, allocations: 21.06 kB / 0.4962 GB, free: 2.871 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.713e-05/0.1438, allocations: 23.44 kB / 0.4962 GB, free: 2.848 MB / 382.1 MB Notification: Performance of SimCode: time 3.1e-07/0.1438, allocations: 0 / 0.4962 GB, free: 2.848 MB / 382.1 MB Notification: Performance of Templates: time 0.004776/0.1486, allocations: 1.876 MB / 0.4981 GB, free: 0.9805 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test76.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test76.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test76.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test76.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test76.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test76 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test76.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test76_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test76/Test76.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test76.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches