Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test8.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.CombiTable1D.Test8,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test8") translateModel(ModelicaTest.Tables.CombiTable1D.Test8,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test8") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001578/0.001578, allocations: 111.1 kB / 16.41 MB, free: 6.484 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.001751/0.001751, allocations: 189.5 kB / 17.34 MB, free: 5.766 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.405/1.405, 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.2028/0.2028, 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.001419/0.001419, allocations: 63.91 kB / 441.8 MB, free: 5.664 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1249/0.1263, allocations: 57.79 MB / 499.6 MB, free: 11.8 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1D.Test8): time 0.004025/0.1304, allocations: 1.546 MB / 0.4894 GB, free: 10.24 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006924/0.1311, allocations: 335.4 kB / 0.4897 GB, free: 9.91 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.37e-05/0.1312, allocations: 0 / 0.4897 GB, free: 9.91 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003109/0.1316, allocations: 27.86 kB / 0.4898 GB, free: 9.883 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002996/0.1319, allocations: 31.84 kB / 0.4898 GB, free: 9.852 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003879/0.1323, allocations: 95.75 kB / 0.4899 GB, free: 9.758 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001982/0.1325, allocations: 55.89 kB / 0.4899 GB, free: 9.703 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001511/0.1327, allocations: 15.97 kB / 0.4899 GB, free: 9.688 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.984e-05/0.1327, allocations: 19.88 kB / 0.49 GB, free: 9.668 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.759e-05/0.1328, allocations: 19.92 kB / 0.49 GB, free: 9.648 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.363e-05/0.1329, allocations: 0 / 0.49 GB, free: 9.648 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000142/0.133, allocations: 39.97 kB / 0.49 GB, free: 9.609 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.746e-05/0.1331, allocations: 11.88 kB / 0.49 GB, free: 9.598 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.278e-05/0.1332, allocations: 27.8 kB / 0.4901 GB, free: 9.57 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000229/0.1334, allocations: 71.8 kB / 0.4901 GB, free: 9.5 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.29e-06/0.1334, allocations: 0 / 0.4901 GB, free: 9.5 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.284e-06/0.1334, allocations: 4 kB / 0.4901 GB, free: 9.496 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.855e-06/0.1334, allocations: 0 / 0.4901 GB, free: 9.496 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.000507/0.1339, allocations: 375.2 kB / 0.4905 GB, free: 9.082 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.417e-05/0.134, allocations: 15.89 kB / 0.4905 GB, free: 9.066 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.573e-05/0.134, allocations: 8.828 kB / 0.4905 GB, free: 9.059 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002173/0.1343, allocations: 196.1 kB / 0.4907 GB, free: 8.828 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.173e-05/0.1343, allocations: 384 / 0.4907 GB, free: 8.828 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.614e-05/0.1343, allocations: 4.312 kB / 0.4907 GB, free: 8.824 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001498/0.1345, allocations: 53.8 kB / 0.4908 GB, free: 8.766 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.111e-05/0.1345, allocations: 7.938 kB / 0.4908 GB, free: 8.758 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.167e-05/0.1345, allocations: 4 kB / 0.4908 GB, free: 8.754 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.819e-06/0.1345, allocations: 0 / 0.4908 GB, free: 8.754 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.02e-05/0.1346, allocations: 23.98 kB / 0.4908 GB, free: 8.73 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004268/0.1351, allocations: 276.9 kB / 0.491 GB, free: 8.41 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002145/0.1353, allocations: 50.5 kB / 0.4911 GB, free: 8.352 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.227e-05/0.1353, allocations: 20.94 kB / 0.4911 GB, free: 8.328 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.144e-05/0.1354, allocations: 0 / 0.4911 GB, free: 8.328 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.489e-05/0.1354, allocations: 30.56 kB / 0.4911 GB, free: 8.289 MB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 1.322e-06/0.1354, allocations: 0 / 0.4911 GB, free: 8.289 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.0006097/0.136, allocations: 149.2 kB / 0.4913 GB, free: 8.137 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.683e-05/0.1361, allocations: 55.41 kB / 0.4913 GB, free: 8.07 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001512/0.1362, allocations: 156.5 kB / 0.4915 GB, free: 7.91 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.584e-05/0.1363, allocations: 29.7 kB / 0.4915 GB, free: 7.875 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.634e-05/0.1363, allocations: 96.12 kB / 0.4916 GB, free: 7.777 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.461e-05/0.1364, allocations: 15.66 kB / 0.4916 GB, free: 7.762 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.177e-05/0.1364, allocations: 17.72 kB / 0.4916 GB, free: 7.738 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001266/0.1365, allocations: 326.8 kB / 0.492 GB, free: 7.41 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.838e-05/0.1366, allocations: 23.98 kB / 0.492 GB, free: 7.387 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.956e-05/0.1367, allocations: 20.17 kB / 0.492 GB, free: 7.367 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001347/0.1368, allocations: 56.77 kB / 0.4921 GB, free: 7.309 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.042e-06/0.1368, allocations: 0 / 0.4921 GB, free: 7.309 MB / 382.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001913/0.137, allocations: 85.56 kB / 0.4921 GB, free: 7.219 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.418e-05/0.1371, allocations: 4 kB / 0.4921 GB, free: 7.215 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.739e-06/0.1371, allocations: 4 kB / 0.4921 GB, free: 7.211 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.225e-05/0.1371, allocations: 0 / 0.4921 GB, free: 7.211 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.243e-05/0.1371, allocations: 19.98 kB / 0.4922 GB, free: 7.191 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.933e-06/0.1372, allocations: 0 / 0.4922 GB, free: 7.191 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.579e-05/0.1372, allocations: 4 kB / 0.4922 GB, free: 7.188 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.885e-06/0.1372, allocations: 3.938 kB / 0.4922 GB, free: 7.184 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 5 * 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 8.647e-05/0.1373, allocations: 129.7 kB / 0.4923 GB, free: 7.047 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.744e-05/0.1373, allocations: 3.906 kB / 0.4923 GB, free: 7.043 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002407/0.1376, allocations: 97.97 kB / 0.4924 GB, free: 6.938 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.204e-06/0.1376, allocations: 0 / 0.4924 GB, free: 6.938 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.621e-06/0.1376, allocations: 0 / 0.4924 GB, free: 6.938 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.358e-06/0.1376, allocations: 7.922 kB / 0.4924 GB, free: 6.93 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003984/0.138, allocations: 358.4 kB / 0.4927 GB, free: 6.523 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.332e-06/0.138, allocations: 0 / 0.4927 GB, free: 6.523 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.979e-05/0.1381, allocations: 12.17 kB / 0.4927 GB, free: 6.512 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.618e-06/0.1381, allocations: 8 kB / 0.4928 GB, free: 6.504 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.596e-06/0.1381, allocations: 0 / 0.4928 GB, free: 6.504 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.229e-05/0.1381, allocations: 11.92 kB / 0.4928 GB, free: 6.492 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.1381, allocations: 0 / 0.4928 GB, free: 6.492 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00022/0.1384, allocations: 179.4 kB / 0.4929 GB, free: 6.301 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.292e-05/0.1384, allocations: 85.3 kB / 0.493 GB, free: 6.199 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.479e-05/0.1384, allocations: 0 / 0.493 GB, free: 6.199 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.334e-05/0.1385, allocations: 19.86 kB / 0.493 GB, free: 6.18 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.822e-05/0.1386, allocations: 3.984 kB / 0.493 GB, free: 6.176 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.832e-06/0.1386, allocations: 4 kB / 0.493 GB, free: 6.172 MB / 382.1 MB Notification: Performance of sorting global known variables: time 9.65e-05/0.1387, allocations: 122.1 kB / 0.4932 GB, free: 6.055 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1387, allocations: 0 / 0.4932 GB, free: 6.055 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002262/0.1389, allocations: 16 kB / 0.4932 GB, free: 6.039 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 5 * 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 Backend phase and start with SimCode phase: time 0.0008974/0.1398, allocations: 401.8 kB / 0.4936 GB, free: 5.68 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001943/0.14, allocations: 59.89 kB / 0.4936 GB, free: 5.621 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.924e-06/0.14, allocations: 0 / 0.4936 GB, free: 5.621 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 6.97e-05/0.1401, allocations: 27.92 kB / 0.4936 GB, free: 5.594 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000331/0.1404, allocations: 19.84 kB / 0.4937 GB, free: 5.574 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000443/0.1409, allocations: 181.4 kB / 0.4938 GB, free: 5.371 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002637/0.1412, allocations: 0.6963 MB / 0.4945 GB, free: 4.648 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.344e-05/0.1412, allocations: 11.98 kB / 0.4945 GB, free: 4.637 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.786e-05/0.1413, allocations: 11.44 kB / 0.4945 GB, free: 4.625 MB / 382.1 MB Notification: Performance of SimCode: time 2.2e-07/0.1413, allocations: 0 / 0.4945 GB, free: 4.625 MB / 382.1 MB Notification: Performance of Templates: time 0.003464/0.1447, allocations: 1.108 MB / 0.4956 GB, free: 3.52 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test8.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test8.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test8.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test8.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test8.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test8 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test8.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test8_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1D/Test8/Test8.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test8.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches