Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test15.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.CombiTable1Ds.Test15,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.CombiTable1Ds.Test15") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test15,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.CombiTable1Ds.Test15") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00115/0.00115, allocations: 104.8 kB / 16.4 MB, free: 6.445 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.001205/0.001205, allocations: 190.8 kB / 17.34 MB, free: 5.711 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.693/1.693, 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.2494/0.2494, allocations: 43.52 MB / 314.1 MB, free: 436 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.001715/0.001715, allocations: 73.45 kB / 441.8 MB, free: 5.605 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1465/0.1482, allocations: 57.78 MB / 499.6 MB, free: 11.75 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test15): time 0.003748/0.152, allocations: 1.55 MB / 0.4894 GB, free: 10.2 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007542/0.1528, allocations: 327.5 kB / 0.4897 GB, free: 9.875 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.802e-05/0.1529, allocations: 4 kB / 0.4897 GB, free: 9.871 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003433/0.1533, allocations: 67.78 kB / 0.4898 GB, free: 9.805 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002826/0.1536, allocations: 63.8 kB / 0.4898 GB, free: 9.742 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003105/0.1539, allocations: 75.78 kB / 0.4899 GB, free: 9.668 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002029/0.1542, allocations: 67.88 kB / 0.49 GB, free: 9.602 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001251/0.1543, allocations: 11.97 kB / 0.49 GB, free: 9.59 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.607e-05/0.1544, allocations: 35.8 kB / 0.49 GB, free: 9.555 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001505/0.1545, allocations: 55.88 kB / 0.4901 GB, free: 9.5 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.122e-05/0.1546, allocations: 0 / 0.4901 GB, free: 9.5 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000127/0.1547, allocations: 31.98 kB / 0.4901 GB, free: 9.469 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 7.085e-05/0.1548, allocations: 23.86 kB / 0.4901 GB, free: 9.445 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.617e-05/0.1548, allocations: 27.73 kB / 0.4902 GB, free: 9.418 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002502/0.1551, allocations: 87.61 kB / 0.4902 GB, free: 9.332 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.293e-06/0.1551, allocations: 4 kB / 0.4902 GB, free: 9.328 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.305e-06/0.1551, allocations: 0 / 0.4902 GB, free: 9.328 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.216e-05/0.1551, allocations: 0 / 0.4902 GB, free: 9.328 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.0006485/0.1558, allocations: 394.9 kB / 0.4906 GB, free: 8.895 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.364e-05/0.1558, allocations: 15.89 kB / 0.4906 GB, free: 8.879 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.798e-05/0.1559, allocations: 12.84 kB / 0.4906 GB, free: 8.867 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003028/0.1562, allocations: 196.2 kB / 0.4908 GB, free: 8.637 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.116e-05/0.1562, allocations: 4.375 kB / 0.4908 GB, free: 8.633 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.246e-05/0.1563, allocations: 4.312 kB / 0.4908 GB, free: 8.629 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000201/0.1565, allocations: 53.81 kB / 0.4909 GB, free: 8.57 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.914e-05/0.1565, allocations: 3.984 kB / 0.4909 GB, free: 8.566 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.421e-05/0.1565, allocations: 0 / 0.4909 GB, free: 8.566 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.651e-06/0.1565, allocations: 4 kB / 0.4909 GB, free: 8.562 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001026/0.1567, allocations: 19.98 kB / 0.4909 GB, free: 8.543 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005321/0.1572, allocations: 284.8 kB / 0.4912 GB, free: 8.215 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000272/0.1575, allocations: 46.44 kB / 0.4912 GB, free: 8.16 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.467e-05/0.1576, allocations: 16.94 kB / 0.4913 GB, free: 8.141 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.752e-05/0.1576, allocations: 8 kB / 0.4913 GB, free: 8.133 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.985e-05/0.1576, allocations: 34.56 kB / 0.4913 GB, free: 8.09 MB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 1.854e-06/0.1576, allocations: 0 / 0.4913 GB, free: 8.09 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.0006738/0.1583, allocations: 141.4 kB / 0.4914 GB, free: 7.945 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.543e-05/0.1584, allocations: 55.41 kB / 0.4915 GB, free: 7.879 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002496/0.1587, allocations: 198.2 kB / 0.4917 GB, free: 7.676 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.781e-05/0.1588, allocations: 29.7 kB / 0.4917 GB, free: 7.641 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.504e-05/0.1589, allocations: 108.1 kB / 0.4918 GB, free: 7.531 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.82e-05/0.1589, allocations: 15.84 kB / 0.4918 GB, free: 7.516 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.406e-05/0.159, allocations: 21.7 kB / 0.4918 GB, free: 7.488 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0002515/0.1592, allocations: 322.8 kB / 0.4921 GB, free: 7.164 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.337e-05/0.1593, allocations: 15.98 kB / 0.4922 GB, free: 7.148 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.785e-05/0.1594, allocations: 19.98 kB / 0.4922 GB, free: 7.129 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001287/0.1595, allocations: 52.77 kB / 0.4922 GB, free: 7.074 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.112e-06/0.1595, allocations: 0 / 0.4922 GB, free: 7.074 MB / 382.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001933/0.1597, allocations: 77.62 kB / 0.4923 GB, free: 6.992 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.88e-05/0.1597, allocations: 4 kB / 0.4923 GB, free: 6.988 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.661e-06/0.1597, allocations: 0 / 0.4923 GB, free: 6.988 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.776e-05/0.1598, allocations: 7.922 kB / 0.4923 GB, free: 6.98 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.113e-05/0.1599, allocations: 12 kB / 0.4923 GB, free: 6.969 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.476e-06/0.1599, allocations: 4 kB / 0.4923 GB, free: 6.965 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.784e-05/0.1599, allocations: 11.98 kB / 0.4923 GB, free: 6.953 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.615e-06/0.1599, allocations: 0 / 0.4923 GB, free: 6.953 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 0.0001178/0.1601, allocations: 133.7 kB / 0.4925 GB, free: 6.812 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.952e-05/0.1601, allocations: 11.91 kB / 0.4925 GB, free: 6.801 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002663/0.1604, allocations: 93.95 kB / 0.4926 GB, free: 6.699 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.607e-06/0.1604, allocations: 0 / 0.4926 GB, free: 6.699 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.558e-06/0.1604, allocations: 4.312 kB / 0.4926 GB, free: 6.695 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.858e-06/0.1604, allocations: 0 / 0.4926 GB, free: 6.695 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004786/0.1609, allocations: 354.4 kB / 0.4929 GB, free: 6.293 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.146e-06/0.1609, allocations: 0 / 0.4929 GB, free: 6.293 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.648e-05/0.161, allocations: 19.98 kB / 0.4929 GB, free: 6.273 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.571e-06/0.161, allocations: 0 / 0.4929 GB, free: 6.273 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.145e-06/0.161, allocations: 3.938 kB / 0.4929 GB, free: 6.27 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.053e-05/0.161, allocations: 3.938 kB / 0.4929 GB, free: 6.266 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.372e-06/0.161, allocations: 4 kB / 0.4929 GB, free: 6.262 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002363/0.1613, allocations: 175.5 kB / 0.4931 GB, free: 6.074 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.026e-05/0.1614, allocations: 89.02 kB / 0.4932 GB, free: 5.969 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.008e-05/0.1614, allocations: 0 / 0.4932 GB, free: 5.969 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.933e-05/0.1615, allocations: 11.88 kB / 0.4932 GB, free: 5.957 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.364e-05/0.1615, allocations: 7.984 kB / 0.4932 GB, free: 5.949 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.298e-06/0.1615, allocations: 4 kB / 0.4932 GB, free: 5.945 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001493/0.1617, allocations: 164 kB / 0.4934 GB, free: 5.785 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1617, allocations: 0 / 0.4934 GB, free: 5.785 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002576/0.162, allocations: 16 kB / 0.4934 GB, free: 5.77 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.001023/0.163, allocations: 396.4 kB / 0.4938 GB, free: 5.418 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002121/0.1632, allocations: 43.97 kB / 0.4938 GB, free: 5.375 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.906e-06/0.1632, allocations: 4 kB / 0.4938 GB, free: 5.371 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.161e-05/0.1633, allocations: 27.92 kB / 0.4938 GB, free: 5.344 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004021/0.1637, allocations: 23.78 kB / 0.4939 GB, free: 5.32 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004993/0.1642, allocations: 209.8 kB / 0.4941 GB, free: 5.09 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003111/0.1645, allocations: 0.704 MB / 0.4948 GB, free: 4.359 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.9e-05/0.1646, allocations: 11.98 kB / 0.4948 GB, free: 4.348 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.856e-05/0.1647, allocations: 15.44 kB / 0.4948 GB, free: 4.332 MB / 382.1 MB Notification: Performance of SimCode: time 4.51e-07/0.1647, allocations: 4 kB / 0.4948 GB, free: 4.328 MB / 382.1 MB Notification: Performance of Templates: time 0.004658/0.1693, allocations: 1.112 MB / 0.4959 GB, free: 3.219 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test15.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test15.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test15.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test15.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test15.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test15 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test15.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test15_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1Ds/Test15/Test15.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test15.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches