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.001216/0.001216, allocations: 116.8 kB / 17.08 MB, free: 5.965 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.001184/0.001184, allocations: 198.5 kB / 18.02 MB, free: 5.047 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.507/1.507, allocations: 205.1 MB / 223.9 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.2163/0.2163, allocations: 43.52 MB / 314.8 MB, free: 444 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.001647/0.001647, allocations: 77.47 kB / 442.6 MB, free: 5.566 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1319/0.1336, allocations: 57.79 MB / 0.4886 GB, free: 11.7 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test1): time 0.003663/0.1373, allocations: 1.697 MB / 0.4903 GB, free: 9.992 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001498/0.1388, allocations: 0.7962 MB / 0.491 GB, free: 9.188 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001031/0.139, allocations: 3.938 kB / 0.4911 GB, free: 9.184 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004377/0.1394, allocations: 55.75 kB / 0.4911 GB, free: 9.129 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002737/0.1397, allocations: 63.69 kB / 0.4912 GB, free: 9.066 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003584/0.1401, allocations: 87.77 kB / 0.4912 GB, free: 8.98 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001972/0.1403, allocations: 95.69 kB / 0.4913 GB, free: 8.887 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001063/0.1404, allocations: 12.22 kB / 0.4914 GB, free: 8.875 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001035/0.1405, allocations: 39.78 kB / 0.4914 GB, free: 8.836 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001191/0.1407, allocations: 35.84 kB / 0.4914 GB, free: 8.801 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.275e-05/0.1407, allocations: 4 kB / 0.4914 GB, free: 8.797 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001837/0.1409, allocations: 43.98 kB / 0.4915 GB, free: 8.754 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.38e-05/0.141, allocations: 35.8 kB / 0.4915 GB, free: 8.719 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 6.607e-05/0.141, allocations: 47.66 kB / 0.4915 GB, free: 8.672 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002374/0.1413, allocations: 119.6 kB / 0.4917 GB, free: 8.555 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.402e-06/0.1413, allocations: 4 kB / 0.4917 GB, free: 8.551 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.924e-06/0.1413, allocations: 0 / 0.4917 GB, free: 8.551 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.923e-06/0.1413, allocations: 0 / 0.4917 GB, free: 8.551 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.0005843/0.1419, allocations: 442.7 kB / 0.4921 GB, free: 8.07 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.978e-05/0.1419, allocations: 11.89 kB / 0.4921 GB, free: 8.059 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.324e-05/0.142, allocations: 16.83 kB / 0.4921 GB, free: 8.043 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004084/0.1424, allocations: 223.7 kB / 0.4923 GB, free: 7.785 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.664e-05/0.1424, allocations: 384 / 0.4923 GB, free: 7.785 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.871e-05/0.1425, allocations: 8.125 kB / 0.4923 GB, free: 7.777 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000161/0.1426, allocations: 53.67 kB / 0.4924 GB, free: 7.719 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.56e-05/0.1427, allocations: 3.906 kB / 0.4924 GB, free: 7.715 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.069e-05/0.1427, allocations: 0 / 0.4924 GB, free: 7.715 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.211e-06/0.1427, allocations: 8 kB / 0.4924 GB, free: 7.707 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.504e-05/0.1428, allocations: 15.98 kB / 0.4924 GB, free: 7.691 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004137/0.1432, allocations: 300.8 kB / 0.4927 GB, free: 7.348 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001722/0.1434, allocations: 54.62 kB / 0.4928 GB, free: 7.285 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.542e-05/0.1434, allocations: 24.84 kB / 0.4928 GB, free: 7.258 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.743e-05/0.1435, allocations: 4 kB / 0.4928 GB, free: 7.254 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002064/0.1437, allocations: 67.33 kB / 0.4928 GB, free: 7.176 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.563e-06/0.1437, allocations: 0 / 0.4928 GB, free: 7.176 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.000611/0.1443, allocations: 181.1 kB / 0.493 GB, free: 6.992 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.059e-05/0.1444, allocations: 51.41 kB / 0.4931 GB, free: 6.93 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002547/0.1446, allocations: 262.5 kB / 0.4933 GB, free: 6.656 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.881e-05/0.1447, allocations: 33.7 kB / 0.4934 GB, free: 6.617 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.267e-05/0.1447, allocations: 116 kB / 0.4935 GB, free: 6.5 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.673e-05/0.1448, allocations: 27.67 kB / 0.4935 GB, free: 6.473 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.302e-05/0.1449, allocations: 21.7 kB / 0.4935 GB, free: 6.445 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001225/0.145, allocations: 334.8 kB / 0.4938 GB, free: 6.109 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.758e-05/0.145, allocations: 15.98 kB / 0.4938 GB, free: 6.094 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.77e-05/0.1452, allocations: 41.64 kB / 0.4939 GB, free: 6.047 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001303/0.1453, allocations: 61.78 kB / 0.4939 GB, free: 5.98 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.237e-06/0.1453, allocations: 0 / 0.4939 GB, free: 5.98 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001957/0.1455, allocations: 105.4 kB / 0.494 GB, free: 5.871 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.616e-05/0.1456, allocations: 4 kB / 0.494 GB, free: 5.867 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.869e-06/0.1456, allocations: 0 / 0.494 GB, free: 5.867 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.697e-05/0.1456, allocations: 4 kB / 0.494 GB, free: 5.863 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.466e-05/0.1457, allocations: 19.98 kB / 0.4941 GB, free: 5.844 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.221e-06/0.1457, allocations: 3.938 kB / 0.4941 GB, free: 5.84 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.017e-05/0.1458, allocations: 11.97 kB / 0.4941 GB, free: 5.828 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.844e-06/0.1458, allocations: 0 / 0.4941 GB, free: 5.828 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.0001191/0.1459, allocations: 137.8 kB / 0.4942 GB, free: 5.684 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.532e-05/0.1459, allocations: 15.81 kB / 0.4942 GB, free: 5.668 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.173e-05/0.146, allocations: 21.39 kB / 0.4943 GB, free: 5.645 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.124e-06/0.146, allocations: 0 / 0.4943 GB, free: 5.645 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.198e-06/0.146, allocations: 0 / 0.4943 GB, free: 5.645 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.41e-06/0.146, allocations: 3.938 kB / 0.4943 GB, free: 5.641 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004834/0.1465, allocations: 411.2 kB / 0.4946 GB, free: 5.18 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.897e-06/0.1465, allocations: 4 kB / 0.4947 GB, free: 5.176 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.552e-05/0.1466, allocations: 4 kB / 0.4947 GB, free: 5.172 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.401e-05/0.1466, allocations: 4 kB / 0.4947 GB, free: 5.168 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.635e-05/0.1466, allocations: 3.938 kB / 0.4947 GB, free: 5.164 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.543e-06/0.1466, allocations: 0 / 0.4947 GB, free: 5.164 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.109e-06/0.1466, allocations: 4 kB / 0.4947 GB, free: 5.16 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002813/0.1469, allocations: 208.2 kB / 0.4949 GB, free: 4.938 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.349e-05/0.147, allocations: 92.91 kB / 0.495 GB, free: 4.828 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.56e-05/0.147, allocations: 3.938 kB / 0.495 GB, free: 4.824 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.195e-05/0.1471, allocations: 8 kB / 0.495 GB, free: 4.816 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.025e-05/0.1472, allocations: 12.34 kB / 0.495 GB, free: 4.805 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.409e-05/0.1472, allocations: 0 / 0.495 GB, free: 4.805 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001639/0.1474, allocations: 196.5 kB / 0.4952 GB, free: 4.613 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1474, allocations: 0 / 0.4952 GB, free: 4.613 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002677/0.1476, allocations: 32 kB / 0.4952 GB, free: 4.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.001107/0.1487, allocations: 455.2 kB / 0.4956 GB, free: 4.18 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002047/0.149, allocations: 71.89 kB / 0.4957 GB, free: 4.109 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.245e-06/0.149, allocations: 0 / 0.4957 GB, free: 4.109 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.496e-05/0.1491, allocations: 27.92 kB / 0.4957 GB, free: 4.082 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003545/0.1494, allocations: 51.14 kB / 0.4958 GB, free: 4.035 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006592/0.1501, allocations: 317.3 kB / 0.4961 GB, free: 3.688 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003742/0.1505, allocations: 0.7159 MB / 0.4968 GB, free: 2.945 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.983e-05/0.1505, allocations: 19.44 kB / 0.4968 GB, free: 2.926 MB / 382.1 MB Notification: Performance of SimCode: time 5.2e-07/0.1505, allocations: 0 / 0.4968 GB, free: 2.926 MB / 382.1 MB Notification: Performance of Templates: time 0.004449/0.155, allocations: 2.054 MB / 0.4988 GB, free: 0.875 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test1/Test1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches