Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test2.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.Test2,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.Test2") translateModel(ModelicaTest.Tables.CombiTimeTable.Test2,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.Test2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001098/0.001098, allocations: 112.7 kB / 17.04 MB, free: 6.129 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.0009879/0.0009879, allocations: 196.1 kB / 17.98 MB, free: 5.227 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.741/1.741, allocations: 205.1 MB / 223.8 MB, free: 12.26 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.2455/0.2455, allocations: 43.52 MB / 314.7 MB, free: 476 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.001429/0.001429, allocations: 73.47 kB / 442.5 MB, free: 5.621 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1439/0.1454, allocations: 57.78 MB / 0.4885 GB, free: 11.75 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test2): time 0.003411/0.1488, allocations: 1.697 MB / 0.4902 GB, free: 10.04 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001413/0.1503, allocations: 0.8 MB / 0.491 GB, free: 9.234 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.977e-05/0.1504, allocations: 0 / 0.491 GB, free: 9.234 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003403/0.1507, allocations: 31.78 kB / 0.491 GB, free: 9.203 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002309/0.151, allocations: 59.69 kB / 0.4911 GB, free: 9.145 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002751/0.1513, allocations: 95.77 kB / 0.4912 GB, free: 9.051 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001699/0.1514, allocations: 91.69 kB / 0.4913 GB, free: 8.961 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001149/0.1516, allocations: 20.2 kB / 0.4913 GB, free: 8.941 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.206e-05/0.1517, allocations: 35.8 kB / 0.4913 GB, free: 8.906 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.893e-05/0.1517, allocations: 31.84 kB / 0.4913 GB, free: 8.875 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.806e-05/0.1518, allocations: 4 kB / 0.4913 GB, free: 8.871 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.551e-05/0.1519, allocations: 43.98 kB / 0.4914 GB, free: 8.828 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.385e-05/0.1519, allocations: 19.92 kB / 0.4914 GB, free: 8.809 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.724e-05/0.152, allocations: 31.75 kB / 0.4914 GB, free: 8.777 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001961/0.1522, allocations: 107.7 kB / 0.4915 GB, free: 8.672 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.62e-06/0.1522, allocations: 4 kB / 0.4915 GB, free: 8.668 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.733e-06/0.1522, allocations: 0 / 0.4915 GB, free: 8.668 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.001e-05/0.1522, allocations: 0 / 0.4915 GB, free: 8.668 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.0005728/0.1528, allocations: 398.5 kB / 0.4919 GB, free: 8.234 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.674e-05/0.1529, allocations: 15.89 kB / 0.4919 GB, free: 8.219 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.305e-05/0.1529, allocations: 12.78 kB / 0.4919 GB, free: 8.207 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002703/0.1532, allocations: 204.7 kB / 0.4921 GB, free: 7.969 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.124e-05/0.1532, allocations: 19.91 kB / 0.4922 GB, free: 7.949 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.457e-05/0.1533, allocations: 3.938 kB / 0.4922 GB, free: 7.945 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001636/0.1534, allocations: 53.67 kB / 0.4922 GB, free: 7.887 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.241e-05/0.1535, allocations: 0 / 0.4922 GB, free: 7.887 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.138e-05/0.1535, allocations: 0 / 0.4922 GB, free: 7.887 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.217e-06/0.1535, allocations: 4 kB / 0.4922 GB, free: 7.883 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.276e-05/0.1536, allocations: 15.98 kB / 0.4922 GB, free: 7.867 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003714/0.1539, allocations: 280.9 kB / 0.4925 GB, free: 7.543 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001819/0.1541, allocations: 62.62 kB / 0.4926 GB, free: 7.473 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.425e-05/0.1542, allocations: 20.84 kB / 0.4926 GB, free: 7.449 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.196e-05/0.1542, allocations: 0 / 0.4926 GB, free: 7.449 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001554/0.1544, allocations: 67.39 kB / 0.4926 GB, free: 7.371 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.332e-06/0.1544, allocations: 4 kB / 0.4927 GB, free: 7.367 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005475/0.155, allocations: 173.4 kB / 0.4928 GB, free: 7.191 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.356e-05/0.155, allocations: 59.28 kB / 0.4929 GB, free: 7.121 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001625/0.1552, allocations: 162.4 kB / 0.493 GB, free: 6.949 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.54e-05/0.1552, allocations: 25.7 kB / 0.4931 GB, free: 6.918 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.632e-05/0.1553, allocations: 100.1 kB / 0.4931 GB, free: 6.816 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.399e-05/0.1553, allocations: 27.64 kB / 0.4932 GB, free: 6.789 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.698e-05/0.1554, allocations: 21.72 kB / 0.4932 GB, free: 6.762 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001141/0.1555, allocations: 322.8 kB / 0.4935 GB, free: 6.438 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.874e-05/0.1555, allocations: 27.92 kB / 0.4935 GB, free: 6.41 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.775e-05/0.1556, allocations: 33.7 kB / 0.4936 GB, free: 6.371 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001177/0.1557, allocations: 65.77 kB / 0.4936 GB, free: 6.301 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.11e-07/0.1558, allocations: 0 / 0.4936 GB, free: 6.301 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000178/0.1559, allocations: 93.53 kB / 0.4937 GB, free: 6.203 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.615e-05/0.156, allocations: 12.03 kB / 0.4937 GB, free: 6.191 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.681e-06/0.156, allocations: 0 / 0.4937 GB, free: 6.191 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.628e-05/0.156, allocations: 3.938 kB / 0.4937 GB, free: 6.188 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.445e-05/0.1561, allocations: 15.98 kB / 0.4937 GB, free: 6.172 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.055e-06/0.1561, allocations: 4 kB / 0.4937 GB, free: 6.168 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.489e-05/0.1562, allocations: 4 kB / 0.4938 GB, free: 6.164 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.577e-06/0.1562, allocations: 7.938 kB / 0.4938 GB, free: 6.156 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.0001017/0.1563, allocations: 129.5 kB / 0.4939 GB, free: 6.023 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.594e-05/0.1563, allocations: 19.81 kB / 0.4939 GB, free: 6.004 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.68e-05/0.1564, allocations: 16.66 kB / 0.4939 GB, free: 5.984 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.184e-06/0.1564, allocations: 0 / 0.4939 GB, free: 5.984 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.029e-06/0.1564, allocations: 0 / 0.4939 GB, free: 5.984 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.018e-06/0.1564, allocations: 0 / 0.4939 GB, free: 5.984 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000416/0.1568, allocations: 391.3 kB / 0.4943 GB, free: 5.543 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.422e-06/0.1568, allocations: 0 / 0.4943 GB, free: 5.543 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.697e-05/0.1569, allocations: 11.98 kB / 0.4943 GB, free: 5.531 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.763e-06/0.1569, allocations: 0 / 0.4943 GB, free: 5.531 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.618e-06/0.1569, allocations: 8.031 kB / 0.4943 GB, free: 5.523 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.572e-06/0.1569, allocations: 0 / 0.4943 GB, free: 5.523 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.1569, allocations: 0 / 0.4943 GB, free: 5.523 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002286/0.1571, allocations: 208.2 kB / 0.4945 GB, free: 5.301 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.973e-05/0.1572, allocations: 85.02 kB / 0.4946 GB, free: 5.199 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.358e-05/0.1572, allocations: 3.984 kB / 0.4946 GB, free: 5.195 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.795e-05/0.1573, allocations: 8 kB / 0.4946 GB, free: 5.188 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.837e-05/0.1573, allocations: 8.188 kB / 0.4946 GB, free: 5.18 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.686e-05/0.1574, allocations: 7.984 kB / 0.4946 GB, free: 5.172 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001021/0.1575, allocations: 127.9 kB / 0.4947 GB, free: 5.047 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1575, allocations: 0 / 0.4947 GB, free: 5.047 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002519/0.1577, allocations: 24 kB / 0.4948 GB, free: 5.023 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.001074/0.1588, allocations: 463.8 kB / 0.4952 GB, free: 4.613 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002139/0.159, allocations: 67.83 kB / 0.4953 GB, free: 4.547 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.654e-06/0.1591, allocations: 4 kB / 0.4953 GB, free: 4.543 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.53e-05/0.1591, allocations: 32.08 kB / 0.4953 GB, free: 4.512 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003406/0.1595, allocations: 28.25 kB / 0.4953 GB, free: 4.484 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004644/0.16, allocations: 236.5 kB / 0.4956 GB, free: 4.219 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000276/0.1603, allocations: 0.7002 MB / 0.4962 GB, free: 3.492 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.773e-05/0.1603, allocations: 19.44 kB / 0.4963 GB, free: 3.473 MB / 382.1 MB Notification: Performance of SimCode: time 2e-07/0.1603, allocations: 0 / 0.4963 GB, free: 3.473 MB / 382.1 MB Notification: Performance of Templates: time 0.003784/0.1641, allocations: 1.844 MB / 0.4981 GB, free: 1.629 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test2.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test2.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test2.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test2.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test2.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test2.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test2/Test2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches