Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test12.conf.json 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 4.0.0+maint.om/package.mo", uses=false) 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/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 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) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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) Running command: translateModel(ModelicaTest.Tables.CombiTable1Ds.Test12,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test12") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test12,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test12") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001013/0.001013, allocations: 179.8 kB / 14.15 MB, free: 1.172 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.267/1.267, allocations: 221.3 MB / 236 MB, free: 2.895 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008412/0.0008412, allocations: 95.16 kB / 287 MB, free: 176 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1723/0.1723, allocations: 44.15 MB / 382 MB, free: 14.66 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 3.546e-05/3.554e-05, allocations: 224 / 451.8 MB, free: 9.426 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.121/0.1211, allocations: 61.92 MB / 0.5017 GB, free: 11.45 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3528/0.4739, allocations: 87.87 MB / 0.5875 GB, free: 1.441 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002163/0.4742, allocations: 75.86 kB / 0.5876 GB, free: 1.371 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.009921/0.4841, allocations: 3.755 MB / 0.5913 GB, free: 13.62 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.793e-06/0.4842, allocations: 4 kB / 0.5913 GB, free: 13.62 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.264e-05/0.4842, allocations: 0 / 0.5913 GB, free: 13.62 MB / 410.7 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.0004598/0.4847, allocations: 370.3 kB / 0.5916 GB, free: 13.21 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.167e-05/0.4847, allocations: 12.02 kB / 0.5916 GB, free: 13.2 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.111e-05/0.4848, allocations: 7.906 kB / 0.5916 GB, free: 13.2 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002587/0.485, allocations: 190.9 kB / 0.5918 GB, free: 12.97 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.604e-05/0.4851, allocations: 7.953 kB / 0.5918 GB, free: 12.96 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.299e-05/0.4851, allocations: 7.984 kB / 0.5918 GB, free: 12.95 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001078/0.4852, allocations: 41.7 kB / 0.5919 GB, free: 12.91 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.164e-05/0.4852, allocations: 0 / 0.5919 GB, free: 12.91 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.22e-05/0.4852, allocations: 0 / 0.5919 GB, free: 12.91 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.37e-06/0.4852, allocations: 0 / 0.5919 GB, free: 12.91 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.696e-05/0.4853, allocations: 19.92 kB / 0.5919 GB, free: 12.89 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003707/0.4857, allocations: 284.9 kB / 0.5922 GB, free: 12.56 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001752/0.4859, allocations: 34.58 kB / 0.5922 GB, free: 12.52 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.439e-05/0.4859, allocations: 8.859 kB / 0.5922 GB, free: 12.5 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.732e-05/0.4859, allocations: 7.938 kB / 0.5922 GB, free: 12.5 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.251e-05/0.486, allocations: 34.5 kB / 0.5922 GB, free: 12.45 MB / 410.7 MB Notification: Performance of pre-optimization done (n=3): time 1.072e-06/0.486, allocations: 0 / 0.5922 GB, free: 12.45 MB / 410.7 MB Notification: Performance of matching and sorting (n=5): time 0.0003695/0.4863, allocations: 105.5 kB / 0.5923 GB, free: 12.34 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.648e-05/0.4864, allocations: 55.41 kB / 0.5924 GB, free: 12.28 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001466/0.4865, allocations: 154.6 kB / 0.5925 GB, free: 12.12 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.34e-05/0.4866, allocations: 29.64 kB / 0.5926 GB, free: 12.09 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.053e-05/0.4866, allocations: 96.08 kB / 0.5927 GB, free: 11.99 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.255e-05/0.4866, allocations: 19.7 kB / 0.5927 GB, free: 11.97 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.446e-06/0.4867, allocations: 4 kB / 0.5927 GB, free: 11.96 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001033/0.4868, allocations: 318.8 kB / 0.593 GB, free: 11.64 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.199e-05/0.4868, allocations: 8 kB / 0.593 GB, free: 11.64 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.847e-05/0.4868, allocations: 8 kB / 0.593 GB, free: 11.63 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.877e-05/0.4869, allocations: 19.98 kB / 0.593 GB, free: 11.61 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.91e-07/0.4869, allocations: 0 / 0.593 GB, free: 11.61 MB / 410.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 8.6e-05/0.487, allocations: 57.61 kB / 0.5931 GB, free: 11.55 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.646e-05/0.487, allocations: 7.984 kB / 0.5931 GB, free: 11.54 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.769e-06/0.487, allocations: 0 / 0.5931 GB, free: 11.54 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.197e-06/0.487, allocations: 0 / 0.5931 GB, free: 11.54 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.067e-05/0.4871, allocations: 12 kB / 0.5931 GB, free: 11.53 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.583e-06/0.4871, allocations: 3.938 kB / 0.5931 GB, free: 11.52 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.492e-05/0.4871, allocations: 19.98 kB / 0.5931 GB, free: 11.5 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.342e-06/0.4872, allocations: 256 / 0.5931 GB, free: 11.5 MB / 410.7 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.09e-05/0.4872, allocations: 104.9 kB / 0.5932 GB, free: 11.39 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.628e-05/0.4872, allocations: 7.906 kB / 0.5932 GB, free: 11.39 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001388/0.4874, allocations: 81.89 kB / 0.5933 GB, free: 11.3 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.835e-06/0.4874, allocations: 3.984 kB / 0.5933 GB, free: 11.3 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.895e-06/0.4874, allocations: 0 / 0.5933 GB, free: 11.3 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.334e-06/0.4874, allocations: 0 / 0.5933 GB, free: 11.3 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002943/0.4877, allocations: 346.5 kB / 0.5936 GB, free: 10.9 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/0.4877, allocations: 0 / 0.5936 GB, free: 10.9 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.83e-05/0.4878, allocations: 15.98 kB / 0.5937 GB, free: 10.89 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.904e-06/0.4878, allocations: 0 / 0.5937 GB, free: 10.89 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.063e-06/0.4878, allocations: 0 / 0.5937 GB, free: 10.89 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.626e-06/0.4878, allocations: 4 kB / 0.5937 GB, free: 10.88 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.31e-07/0.4878, allocations: 3.938 kB / 0.5937 GB, free: 10.88 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000127/0.488, allocations: 167.3 kB / 0.5938 GB, free: 10.7 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.291e-05/0.488, allocations: 85.02 kB / 0.5939 GB, free: 10.6 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.841e-05/0.488, allocations: 11.98 kB / 0.5939 GB, free: 10.59 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.589e-05/0.4881, allocations: 7.938 kB / 0.5939 GB, free: 10.58 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.113e-05/0.4882, allocations: 0 / 0.5939 GB, free: 10.58 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.255e-06/0.4882, allocations: 7.984 kB / 0.5939 GB, free: 10.57 MB / 410.7 MB Notification: Performance of sorting global known variables: time 9.256e-05/0.4883, allocations: 125.6 kB / 0.594 GB, free: 10.45 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.41e-07/0.4883, allocations: 0 / 0.594 GB, free: 10.45 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002005/0.4885, allocations: 19.94 kB / 0.5941 GB, free: 10.43 MB / 410.7 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007491/0.4892, allocations: 361.9 kB / 0.5944 GB, free: 10.18 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 9.109e-05/0.4893, allocations: 31.94 kB / 0.5944 GB, free: 10.14 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.4893, allocations: 0 / 0.5944 GB, free: 10.14 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 2.893e-05/0.4894, allocations: 12 kB / 0.5945 GB, free: 10.13 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001933/0.4896, allocations: 19.92 kB / 0.5945 GB, free: 10.11 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003104/0.4899, allocations: 130.1 kB / 0.5946 GB, free: 9.961 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002528/0.4902, allocations: 0.7043 MB / 0.5953 GB, free: 9.23 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 4.847e-05/0.4902, allocations: 12.19 kB / 0.5953 GB, free: 9.215 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.261e-05/0.4903, allocations: 11.44 kB / 0.5953 GB, free: 9.203 MB / 410.7 MB Notification: Performance of SimCode: time 4.41e-07/0.4903, allocations: 0 / 0.5953 GB, free: 9.203 MB / 410.7 MB Notification: Performance of Templates: time 0.003118/0.4934, allocations: 1.087 MB / 0.5964 GB, free: 8.121 MB / 410.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test12.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test12.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test12.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test12.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test12.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test12 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test12.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test12_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test12/Test12.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test12.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches