Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test47.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.Test47,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.Test47") translateModel(ModelicaTest.Tables.CombiTimeTable.Test47,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.Test47") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001224/0.001224, allocations: 105.2 kB / 16.41 MB, free: 6.488 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.001307/0.001307, allocations: 189.5 kB / 17.34 MB, free: 5.734 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.463/1.463, allocations: 205.1 MB / 223.2 MB, free: 12.24 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.2252/0.2252, allocations: 43.53 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.001644/0.001645, allocations: 74.02 kB / 441.9 MB, free: 5.594 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1372/0.1388, allocations: 57.79 MB / 499.7 MB, free: 11.72 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test47): time 0.004197/0.1431, allocations: 1.689 MB / 0.4896 GB, free: 10.02 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001809/0.1449, allocations: 0.8078 MB / 0.4904 GB, free: 9.203 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001275/0.1451, allocations: 0 / 0.4904 GB, free: 9.203 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004519/0.1456, allocations: 59.69 kB / 0.4905 GB, free: 9.145 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003077/0.1459, allocations: 59.75 kB / 0.4905 GB, free: 9.086 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003771/0.1463, allocations: 87.77 kB / 0.4906 GB, free: 9 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002531/0.1466, allocations: 95.69 kB / 0.4907 GB, free: 8.906 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001251/0.1467, allocations: 12.22 kB / 0.4907 GB, free: 8.895 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000126/0.1468, allocations: 43.78 kB / 0.4907 GB, free: 8.852 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001295/0.147, allocations: 31.84 kB / 0.4908 GB, free: 8.82 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.011e-05/0.147, allocations: 11.94 kB / 0.4908 GB, free: 8.809 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001497/0.1472, allocations: 39.98 kB / 0.4908 GB, free: 8.77 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 8.009e-05/0.1473, allocations: 31.86 kB / 0.4908 GB, free: 8.738 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 8.398e-05/0.1473, allocations: 47.66 kB / 0.4909 GB, free: 8.691 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003096/0.1477, allocations: 119.6 kB / 0.491 GB, free: 8.574 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.025e-06/0.1477, allocations: 0 / 0.491 GB, free: 8.574 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.723e-06/0.1477, allocations: 0 / 0.491 GB, free: 8.574 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.213e-05/0.1477, allocations: 4 kB / 0.491 GB, free: 8.57 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.0007483/0.1485, allocations: 442.6 kB / 0.4914 GB, free: 8.09 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.094e-05/0.1485, allocations: 19.89 kB / 0.4915 GB, free: 8.07 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.843e-05/0.1486, allocations: 8.844 kB / 0.4915 GB, free: 8.062 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003665/0.149, allocations: 215.8 kB / 0.4917 GB, free: 7.812 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.658e-05/0.149, allocations: 4.375 kB / 0.4917 GB, free: 7.809 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.572e-05/0.149, allocations: 8.125 kB / 0.4917 GB, free: 7.801 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001886/0.1492, allocations: 53.67 kB / 0.4917 GB, free: 7.742 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.489e-05/0.1492, allocations: 3.906 kB / 0.4917 GB, free: 7.738 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.219e-05/0.1492, allocations: 0 / 0.4917 GB, free: 7.738 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.598e-06/0.1493, allocations: 0 / 0.4917 GB, free: 7.738 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.705e-05/0.1494, allocations: 27.92 kB / 0.4918 GB, free: 7.711 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004901/0.1499, allocations: 308.8 kB / 0.4921 GB, free: 7.359 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001816/0.1501, allocations: 46.69 kB / 0.4921 GB, free: 7.305 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.066e-05/0.1501, allocations: 24.84 kB / 0.4921 GB, free: 7.277 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.805e-05/0.1502, allocations: 0 / 0.4921 GB, free: 7.277 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001728/0.1503, allocations: 71.33 kB / 0.4922 GB, free: 7.195 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.473e-06/0.1503, allocations: 3.938 kB / 0.4922 GB, free: 7.191 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006336/0.151, allocations: 185.1 kB / 0.4924 GB, free: 7.004 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.179e-05/0.1511, allocations: 51.41 kB / 0.4924 GB, free: 6.941 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002738/0.1513, allocations: 258.5 kB / 0.4927 GB, free: 6.672 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.96e-05/0.1514, allocations: 29.7 kB / 0.4927 GB, free: 6.637 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.257e-05/0.1514, allocations: 116 kB / 0.4928 GB, free: 6.52 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.223e-05/0.1515, allocations: 19.75 kB / 0.4928 GB, free: 6.5 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.818e-05/0.1516, allocations: 29.7 kB / 0.4929 GB, free: 6.465 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.000136/0.1517, allocations: 326.8 kB / 0.4932 GB, free: 6.137 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.963e-05/0.1518, allocations: 23.98 kB / 0.4932 GB, free: 6.113 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.928e-05/0.1518, allocations: 41.64 kB / 0.4932 GB, free: 6.066 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001282/0.152, allocations: 69.7 kB / 0.4933 GB, free: 5.992 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.162e-06/0.152, allocations: 0 / 0.4933 GB, free: 5.992 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001912/0.1522, allocations: 101.5 kB / 0.4934 GB, free: 5.887 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.627e-05/0.1522, allocations: 4 kB / 0.4934 GB, free: 5.883 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.53e-06/0.1522, allocations: 0 / 0.4934 GB, free: 5.883 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.75e-05/0.1522, allocations: 4 kB / 0.4934 GB, free: 5.879 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001023/0.1523, allocations: 19.92 kB / 0.4934 GB, free: 5.859 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.74e-06/0.1524, allocations: 0 / 0.4934 GB, free: 5.859 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.489e-05/0.1524, allocations: 11.94 kB / 0.4934 GB, free: 5.848 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.524e-06/0.1524, allocations: 4.031 kB / 0.4934 GB, free: 5.844 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.0001333/0.1526, allocations: 137.8 kB / 0.4936 GB, free: 5.699 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.893e-05/0.1526, allocations: 15.81 kB / 0.4936 GB, free: 5.684 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.709e-05/0.1527, allocations: 21.39 kB / 0.4936 GB, free: 5.66 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.184e-06/0.1527, allocations: 0 / 0.4936 GB, free: 5.66 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.001e-06/0.1527, allocations: 0 / 0.4936 GB, free: 5.66 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.683e-06/0.1527, allocations: 3.938 kB / 0.4936 GB, free: 5.656 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004894/0.1532, allocations: 407.2 kB / 0.494 GB, free: 5.199 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.585e-06/0.1532, allocations: 0 / 0.494 GB, free: 5.199 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.779e-05/0.1533, allocations: 12 kB / 0.494 GB, free: 5.188 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.819e-06/0.1533, allocations: 7.938 kB / 0.494 GB, free: 5.18 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.247e-05/0.1533, allocations: 3.938 kB / 0.494 GB, free: 5.176 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.665e-06/0.1533, allocations: 0 / 0.494 GB, free: 5.176 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.403e-06/0.1533, allocations: 0 / 0.494 GB, free: 5.176 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002558/0.1536, allocations: 208.3 kB / 0.4942 GB, free: 4.953 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.234e-05/0.1536, allocations: 92.91 kB / 0.4943 GB, free: 4.844 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.646e-05/0.1537, allocations: 3.938 kB / 0.4943 GB, free: 4.84 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.177e-05/0.1537, allocations: 4.375 kB / 0.4943 GB, free: 4.836 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.242e-05/0.1538, allocations: 3.984 kB / 0.4943 GB, free: 4.832 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.597e-05/0.1538, allocations: 8 kB / 0.4943 GB, free: 4.824 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001671/0.154, allocations: 192.5 kB / 0.4945 GB, free: 4.637 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.21e-07/0.154, allocations: 0 / 0.4945 GB, free: 4.637 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002783/0.1543, allocations: 27.98 kB / 0.4945 GB, free: 4.609 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.001095/0.1554, allocations: 473.4 kB / 0.495 GB, free: 4.191 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.000208/0.1556, allocations: 55.97 kB / 0.495 GB, free: 4.137 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 7.144e-06/0.1556, allocations: 4.062 kB / 0.495 GB, free: 4.133 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.783e-05/0.1557, allocations: 35.91 kB / 0.4951 GB, free: 4.098 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003789/0.1561, allocations: 39.27 kB / 0.4951 GB, free: 4.062 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005578/0.1566, allocations: 287.5 kB / 0.4954 GB, free: 3.75 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003414/0.157, allocations: 0.7197 MB / 0.4961 GB, free: 3.004 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 6.15e-05/0.1571, allocations: 16.89 kB / 0.4961 GB, free: 2.984 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.026e-05/0.1571, allocations: 19.42 kB / 0.4961 GB, free: 2.965 MB / 382.1 MB Notification: Performance of SimCode: time 1.91e-07/0.1571, allocations: 0 / 0.4961 GB, free: 2.965 MB / 382.1 MB Notification: Performance of Templates: time 0.005333/0.1625, allocations: 1.728 MB / 0.4978 GB, free: 1.242 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test47.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test47.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test47.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test47.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test47.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test47 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test47.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test47_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test47/Test47.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test47.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches