Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test35.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.Test35,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.Test35") translateModel(ModelicaTest.Tables.CombiTimeTable.Test35,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.Test35") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001329/0.001329, allocations: 103.2 kB / 16.4 MB, free: 6.453 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.00136/0.00136, allocations: 192.2 kB / 17.34 MB, free: 5.719 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.366/1.366, allocations: 205.1 MB / 223.2 MB, free: 12.22 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.2182/0.2182, allocations: 43.52 MB / 314.1 MB, free: 440 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.001323/0.001323, allocations: 77.45 kB / 441.9 MB, free: 5.562 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1303/0.1316, allocations: 57.79 MB / 499.7 MB, free: 11.7 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test35): time 0.0029/0.1345, allocations: 1.697 MB / 0.4896 GB, free: 9.988 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.00127/0.1358, allocations: 0.7884 MB / 0.4904 GB, free: 9.191 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.556e-05/0.1359, allocations: 4 kB / 0.4904 GB, free: 9.188 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003321/0.1363, allocations: 95.67 kB / 0.4905 GB, free: 9.094 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002387/0.1365, allocations: 75.73 kB / 0.4905 GB, free: 9.02 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002577/0.1368, allocations: 87.69 kB / 0.4906 GB, free: 8.934 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001646/0.137, allocations: 115.6 kB / 0.4907 GB, free: 8.82 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.549e-05/0.1371, allocations: 16.2 kB / 0.4908 GB, free: 8.805 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.019e-05/0.1372, allocations: 51.78 kB / 0.4908 GB, free: 8.754 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001033/0.1373, allocations: 63.81 kB / 0.4909 GB, free: 8.691 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.853e-05/0.1373, allocations: 4 kB / 0.4909 GB, free: 8.688 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.103e-05/0.1374, allocations: 43.98 kB / 0.4909 GB, free: 8.645 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.622e-05/0.1375, allocations: 27.91 kB / 0.4909 GB, free: 8.617 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 6.296e-05/0.1375, allocations: 43.61 kB / 0.491 GB, free: 8.574 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002006/0.1377, allocations: 119.7 kB / 0.4911 GB, free: 8.457 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.036e-06/0.1377, allocations: 4 kB / 0.4911 GB, free: 8.453 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.522e-06/0.1377, allocations: 0 / 0.4911 GB, free: 8.453 MB / 382.1 MB Notification: Performance of Transformations before backend: time 9.929e-06/0.1378, allocations: 0 / 0.4911 GB, free: 8.453 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.0005708/0.1383, allocations: 426.7 kB / 0.4915 GB, free: 7.988 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.655e-05/0.1384, allocations: 15.89 kB / 0.4915 GB, free: 7.973 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.072e-05/0.1384, allocations: 8.844 kB / 0.4915 GB, free: 7.965 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002727/0.1387, allocations: 212 kB / 0.4917 GB, free: 7.719 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.487e-05/0.1387, allocations: 384 / 0.4917 GB, free: 7.719 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.527e-05/0.1388, allocations: 16.06 kB / 0.4917 GB, free: 7.703 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001513/0.1389, allocations: 53.67 kB / 0.4918 GB, free: 7.645 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.198e-05/0.1389, allocations: 0 / 0.4918 GB, free: 7.645 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.284e-05/0.139, allocations: 4 kB / 0.4918 GB, free: 7.641 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.253e-06/0.139, allocations: 4 kB / 0.4918 GB, free: 7.637 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.939e-05/0.139, allocations: 15.98 kB / 0.4918 GB, free: 7.621 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000393/0.1394, allocations: 284.9 kB / 0.4921 GB, free: 7.293 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001719/0.1396, allocations: 70.59 kB / 0.4922 GB, free: 7.215 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.442e-05/0.1397, allocations: 20.84 kB / 0.4922 GB, free: 7.191 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.33e-05/0.1397, allocations: 0 / 0.4922 GB, free: 7.191 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001494/0.1399, allocations: 71.39 kB / 0.4923 GB, free: 7.109 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.402e-06/0.1399, allocations: 0 / 0.4923 GB, free: 7.109 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005403/0.1404, allocations: 181.1 kB / 0.4924 GB, free: 6.926 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.881e-05/0.1405, allocations: 55.41 kB / 0.4925 GB, free: 6.859 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002049/0.1407, allocations: 218.7 kB / 0.4927 GB, free: 6.633 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.725e-05/0.1407, allocations: 29.69 kB / 0.4927 GB, free: 6.598 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.891e-05/0.1408, allocations: 112.1 kB / 0.4928 GB, free: 6.484 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.075e-05/0.1408, allocations: 23.7 kB / 0.4928 GB, free: 6.461 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.979e-05/0.1409, allocations: 21.72 kB / 0.4929 GB, free: 6.434 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001152/0.141, allocations: 326.8 kB / 0.4932 GB, free: 6.105 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.15e-05/0.1411, allocations: 31.92 kB / 0.4932 GB, free: 6.074 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.302e-05/0.1411, allocations: 41.58 kB / 0.4932 GB, free: 6.027 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001134/0.1413, allocations: 61.7 kB / 0.4933 GB, free: 5.961 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.72e-07/0.1413, allocations: 0 / 0.4933 GB, free: 5.961 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001666/0.1414, allocations: 97.44 kB / 0.4934 GB, free: 5.859 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.518e-05/0.1415, allocations: 8 kB / 0.4934 GB, free: 5.852 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.769e-06/0.1415, allocations: 4.031 kB / 0.4934 GB, free: 5.848 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.456e-05/0.1415, allocations: 0 / 0.4934 GB, free: 5.848 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.725e-05/0.1416, allocations: 15.98 kB / 0.4934 GB, free: 5.832 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.033e-06/0.1416, allocations: 4 kB / 0.4934 GB, free: 5.828 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.46e-05/0.1416, allocations: 7.938 kB / 0.4934 GB, free: 5.82 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.638e-06/0.1417, allocations: 4 kB / 0.4934 GB, free: 5.816 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.0001136/0.1418, allocations: 137.7 kB / 0.4936 GB, free: 5.672 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.95e-05/0.1418, allocations: 7.906 kB / 0.4936 GB, free: 5.664 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.798e-05/0.1419, allocations: 21.39 kB / 0.4936 GB, free: 5.637 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.863e-06/0.1419, allocations: 4 kB / 0.4936 GB, free: 5.633 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.089e-06/0.1419, allocations: 0 / 0.4936 GB, free: 5.633 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.616e-06/0.1419, allocations: 7.938 kB / 0.4936 GB, free: 5.625 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000431/0.1423, allocations: 395.2 kB / 0.494 GB, free: 5.18 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.874e-06/0.1423, allocations: 0 / 0.494 GB, free: 5.18 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.206e-05/0.1424, allocations: 11.98 kB / 0.494 GB, free: 5.168 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.853e-06/0.1424, allocations: 0 / 0.494 GB, free: 5.168 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.374e-05/0.1424, allocations: 7.938 kB / 0.494 GB, free: 5.16 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.402e-06/0.1424, allocations: 0 / 0.494 GB, free: 5.16 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.1424, allocations: 4.406 kB / 0.494 GB, free: 5.156 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00023/0.1426, allocations: 204.2 kB / 0.4942 GB, free: 4.938 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.041e-05/0.1427, allocations: 88.92 kB / 0.4943 GB, free: 4.832 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.409e-05/0.1427, allocations: 11.92 kB / 0.4943 GB, free: 4.82 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.765e-05/0.1428, allocations: 8 kB / 0.4943 GB, free: 4.812 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.654e-05/0.1429, allocations: 8 kB / 0.4943 GB, free: 4.805 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.537e-05/0.1429, allocations: 7.984 kB / 0.4943 GB, free: 4.797 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001299/0.143, allocations: 163.2 kB / 0.4945 GB, free: 4.637 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.143, allocations: 0 / 0.4945 GB, free: 4.637 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002605/0.1433, allocations: 24 kB / 0.4945 GB, free: 4.613 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.001019/0.1443, allocations: 473.9 kB / 0.495 GB, free: 4.195 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001905/0.1445, allocations: 63.91 kB / 0.495 GB, free: 4.133 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.1445, allocations: 0 / 0.495 GB, free: 4.133 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 6.918e-05/0.1446, allocations: 27.92 kB / 0.495 GB, free: 4.105 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003255/0.1449, allocations: 39.03 kB / 0.4951 GB, free: 4.07 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000475/0.1454, allocations: 263 kB / 0.4953 GB, free: 3.785 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002973/0.1457, allocations: 0.7041 MB / 0.496 GB, free: 3.055 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 4.707e-05/0.1458, allocations: 17.19 kB / 0.496 GB, free: 3.039 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.49e-05/0.1458, allocations: 15.44 kB / 0.496 GB, free: 3.023 MB / 382.1 MB Notification: Performance of SimCode: time 2.6e-07/0.1458, allocations: 0 / 0.496 GB, free: 3.023 MB / 382.1 MB Notification: Performance of Templates: time 0.004435/0.1503, allocations: 1.724 MB / 0.4977 GB, free: 1.305 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test35.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test35.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test35.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test35.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test35.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test35 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test35.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test35_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test35/Test35.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test35.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches