Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test23.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.Test23,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.Test23") translateModel(ModelicaTest.Tables.CombiTable1D.Test23,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.Test23") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001163/0.001163, allocations: 104.1 kB / 16.41 MB, free: 6.508 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.001253/0.001254, allocations: 189.5 kB / 17.34 MB, free: 5.742 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.387/1.387, allocations: 205.1 MB / 223.2 MB, free: 12.28 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.2111/0.2111, allocations: 43.52 MB / 314.1 MB, free: 464 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.001423/0.001423, allocations: 65.47 kB / 441.8 MB, free: 5.645 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1315/0.133, allocations: 57.79 MB / 499.6 MB, free: 11.78 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1D.Test23): time 0.003161/0.1362, allocations: 1.55 MB / 0.4894 GB, free: 10.23 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0015/0.1377, allocations: 0.9455 MB / 0.4903 GB, free: 9.273 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.603e-05/0.1378, allocations: 4 kB / 0.4903 GB, free: 9.27 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002493/0.138, allocations: 23.86 kB / 0.4904 GB, free: 9.246 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001879/0.1382, allocations: 47.77 kB / 0.4904 GB, free: 9.199 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002869/0.1385, allocations: 95.75 kB / 0.4905 GB, free: 9.105 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001437/0.1387, allocations: 59.78 kB / 0.4905 GB, free: 9.047 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001177/0.1388, allocations: 15.97 kB / 0.4906 GB, free: 9.031 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.078e-05/0.1389, allocations: 23.92 kB / 0.4906 GB, free: 9.008 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001527/0.139, allocations: 35.84 kB / 0.4906 GB, free: 8.973 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.667e-05/0.1391, allocations: 0 / 0.4906 GB, free: 8.973 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001072/0.1392, allocations: 47.98 kB / 0.4907 GB, free: 8.926 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 4.96e-05/0.1392, allocations: 11.97 kB / 0.4907 GB, free: 8.914 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 3.482e-05/0.1393, allocations: 15.88 kB / 0.4907 GB, free: 8.898 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002278/0.1395, allocations: 91.72 kB / 0.4908 GB, free: 8.809 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.16e-06/0.1395, allocations: 0 / 0.4908 GB, free: 8.809 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.863e-06/0.1395, allocations: 0 / 0.4908 GB, free: 8.809 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.623e-06/0.1395, allocations: 0 / 0.4908 GB, free: 8.809 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.0005027/0.14, allocations: 383.1 kB / 0.4911 GB, free: 8.387 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.172e-05/0.1401, allocations: 15.89 kB / 0.4912 GB, free: 8.371 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.177e-05/0.1401, allocations: 8.922 kB / 0.4912 GB, free: 8.363 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000199/0.1403, allocations: 184.2 kB / 0.4913 GB, free: 8.145 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.015e-06/0.1404, allocations: 4.375 kB / 0.4914 GB, free: 8.141 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.573e-05/0.1404, allocations: 4.375 kB / 0.4914 GB, free: 8.137 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001531/0.1406, allocations: 71.45 kB / 0.4914 GB, free: 8.055 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.222e-05/0.1406, allocations: 4 kB / 0.4914 GB, free: 8.051 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.297e-06/0.1406, allocations: 4 kB / 0.4914 GB, free: 8.047 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.938e-06/0.1406, allocations: 0 / 0.4914 GB, free: 8.047 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.881e-05/0.1407, allocations: 27.97 kB / 0.4915 GB, free: 8.02 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004091/0.1411, allocations: 276.9 kB / 0.4917 GB, free: 7.699 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001882/0.1413, allocations: 42.5 kB / 0.4918 GB, free: 7.648 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.978e-05/0.1414, allocations: 24.94 kB / 0.4918 GB, free: 7.621 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.741e-05/0.1414, allocations: 0 / 0.4918 GB, free: 7.621 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.195e-05/0.1414, allocations: 34.56 kB / 0.4918 GB, free: 7.578 MB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 9.31e-07/0.1414, allocations: 4 kB / 0.4918 GB, free: 7.574 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.0006365/0.1421, allocations: 145.3 kB / 0.492 GB, free: 7.426 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.642e-05/0.1421, allocations: 81.11 kB / 0.492 GB, free: 7.328 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001318/0.1423, allocations: 133.8 kB / 0.4922 GB, free: 7.188 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.604e-05/0.1423, allocations: 25.7 kB / 0.4922 GB, free: 7.156 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.493e-05/0.1424, allocations: 95.98 kB / 0.4923 GB, free: 7.059 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.95e-05/0.1424, allocations: 11.81 kB / 0.4923 GB, free: 7.047 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.996e-05/0.1424, allocations: 25.7 kB / 0.4923 GB, free: 7.016 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.000153/0.1426, allocations: 318.7 kB / 0.4926 GB, free: 6.695 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.754e-05/0.1427, allocations: 19.98 kB / 0.4926 GB, free: 6.676 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.245e-05/0.1427, allocations: 45.69 kB / 0.4927 GB, free: 6.625 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001193/0.1429, allocations: 44.83 kB / 0.4927 GB, free: 6.578 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.354e-06/0.1429, allocations: 0 / 0.4927 GB, free: 6.578 MB / 382.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001775/0.1431, allocations: 89.5 kB / 0.4928 GB, free: 6.484 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.214e-05/0.1431, allocations: 8 kB / 0.4928 GB, free: 6.477 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.408e-06/0.1431, allocations: 4.031 kB / 0.4928 GB, free: 6.473 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.511e-05/0.1431, allocations: 0 / 0.4928 GB, free: 6.473 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.572e-05/0.1432, allocations: 8 kB / 0.4928 GB, free: 6.465 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.312e-06/0.1432, allocations: 7.984 kB / 0.4928 GB, free: 6.457 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.842e-05/0.1432, allocations: 7.984 kB / 0.4928 GB, free: 6.449 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.781e-06/0.1432, allocations: 4 kB / 0.4929 GB, free: 6.445 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.306e-05/0.1433, allocations: 125.7 kB / 0.493 GB, free: 6.312 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.83e-05/0.1434, allocations: 4 kB / 0.493 GB, free: 6.309 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002366/0.1436, allocations: 105.5 kB / 0.4931 GB, free: 6.195 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.483e-06/0.1436, allocations: 0 / 0.4931 GB, free: 6.195 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.759e-06/0.1436, allocations: 320 / 0.4931 GB, free: 6.195 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.92e-06/0.1436, allocations: 4 kB / 0.4931 GB, free: 6.191 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004397/0.1441, allocations: 354.5 kB / 0.4934 GB, free: 5.789 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.193e-06/0.1441, allocations: 3.938 kB / 0.4934 GB, free: 5.785 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.116e-05/0.1441, allocations: 15.98 kB / 0.4934 GB, free: 5.77 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.613e-06/0.1442, allocations: 4 kB / 0.4934 GB, free: 5.766 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.404e-06/0.1442, allocations: 0 / 0.4934 GB, free: 5.766 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.805e-06/0.1442, allocations: 3.938 kB / 0.4934 GB, free: 5.762 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.61e-07/0.1442, allocations: 0 / 0.4934 GB, free: 5.762 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002236/0.1444, allocations: 175.5 kB / 0.4936 GB, free: 5.574 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.162e-05/0.1445, allocations: 81.3 kB / 0.4937 GB, free: 5.477 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.808e-05/0.1445, allocations: 8 kB / 0.4937 GB, free: 5.469 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.109e-05/0.1445, allocations: 7.938 kB / 0.4937 GB, free: 5.461 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.775e-05/0.1446, allocations: 11.97 kB / 0.4937 GB, free: 5.449 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.817e-06/0.1446, allocations: 0 / 0.4937 GB, free: 5.449 MB / 382.1 MB Notification: Performance of sorting global known variables: time 8.258e-05/0.1447, allocations: 107.8 kB / 0.4938 GB, free: 5.344 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.453e-06/0.1447, allocations: 0 / 0.4938 GB, free: 5.344 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002498/0.145, allocations: 27.92 kB / 0.4938 GB, free: 5.316 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.0009768/0.1459, allocations: 440.8 kB / 0.4943 GB, free: 4.926 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002137/0.1462, allocations: 51.97 kB / 0.4943 GB, free: 4.875 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/0.1462, allocations: 0 / 0.4943 GB, free: 4.875 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.489e-05/0.1463, allocations: 31.91 kB / 0.4943 GB, free: 4.844 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003721/0.1466, allocations: 15.86 kB / 0.4944 GB, free: 4.828 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003551/0.147, allocations: 169.4 kB / 0.4945 GB, free: 4.637 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002775/0.1473, allocations: 0.6885 MB / 0.4952 GB, free: 3.922 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 6.295e-05/0.1474, allocations: 12.23 kB / 0.4952 GB, free: 3.91 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.554e-05/0.1474, allocations: 15.44 kB / 0.4952 GB, free: 3.895 MB / 382.1 MB Notification: Performance of SimCode: time 2.31e-07/0.1474, allocations: 0 / 0.4952 GB, free: 3.895 MB / 382.1 MB Notification: Performance of Templates: time 0.003876/0.1513, allocations: 1.377 MB / 0.4966 GB, free: 2.516 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test23.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test23.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test23.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test23.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test23.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test23 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test23.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test23_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1D/Test23/Test23.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test23.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches