Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test1.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.Test1,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.Test1") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test1,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.Test1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001287/0.001286, allocations: 180.3 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.319/1.319, allocations: 221.3 MB / 236 MB, free: 2.891 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.0009001/0.0009003, allocations: 98.42 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.1755/0.1755, allocations: 44.14 MB / 382 MB, free: 14.67 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 3.134e-05/3.134e-05, allocations: 0 / 451.8 MB, free: 9.438 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1122/0.1123, allocations: 61.92 MB / 0.5017 GB, free: 11.46 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3663/0.4786, allocations: 87.87 MB / 0.5875 GB, free: 1.457 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002021/0.4789, allocations: 67.88 kB / 0.5876 GB, free: 1.395 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.009271/0.4881, allocations: 3.681 MB / 0.5912 GB, free: 13.72 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.172e-06/0.4882, allocations: 0 / 0.5912 GB, free: 13.72 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.248e-05/0.4882, allocations: 4 kB / 0.5912 GB, free: 13.71 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.0003618/0.4886, allocations: 362.5 kB / 0.5915 GB, free: 13.32 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.949e-05/0.4886, allocations: 11.97 kB / 0.5915 GB, free: 13.3 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.454e-05/0.4887, allocations: 11.91 kB / 0.5916 GB, free: 13.29 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000216/0.4889, allocations: 190.8 kB / 0.5917 GB, free: 13.07 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.011e-05/0.4889, allocations: 0 / 0.5917 GB, free: 13.07 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.064e-05/0.4889, allocations: 8 kB / 0.5917 GB, free: 13.06 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.587e-05/0.489, allocations: 45.64 kB / 0.5918 GB, free: 13.01 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.09e-05/0.4891, allocations: 0 / 0.5918 GB, free: 13.01 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.256e-06/0.4891, allocations: 0 / 0.5918 GB, free: 13.01 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.829e-06/0.4891, allocations: 0 / 0.5918 GB, free: 13.01 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.083e-05/0.4891, allocations: 12 kB / 0.5918 GB, free: 13 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003231/0.4895, allocations: 276.9 kB / 0.5921 GB, free: 12.68 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001522/0.4896, allocations: 42.45 kB / 0.5921 GB, free: 12.62 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.545e-05/0.4897, allocations: 12.86 kB / 0.5921 GB, free: 12.61 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.461e-05/0.4897, allocations: 0 / 0.5921 GB, free: 12.61 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.803e-05/0.4897, allocations: 34.64 kB / 0.5921 GB, free: 12.57 MB / 410.7 MB Notification: Performance of pre-optimization done (n=3): time 1.022e-06/0.4897, allocations: 0 / 0.5921 GB, free: 12.57 MB / 410.7 MB Notification: Performance of matching and sorting (n=5): time 0.0003762/0.4901, allocations: 109.3 kB / 0.5922 GB, free: 12.45 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.126e-05/0.4901, allocations: 51.41 kB / 0.5923 GB, free: 12.39 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001323/0.4903, allocations: 134.8 kB / 0.5924 GB, free: 12.25 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.506e-05/0.4903, allocations: 25.7 kB / 0.5925 GB, free: 12.22 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.485e-05/0.4904, allocations: 96.12 kB / 0.5925 GB, free: 12.12 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.121e-05/0.4904, allocations: 11.72 kB / 0.5926 GB, free: 12.11 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.129e-06/0.4904, allocations: 4 kB / 0.5926 GB, free: 12.11 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001192/0.4905, allocations: 326.8 kB / 0.5929 GB, free: 11.78 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.765e-05/0.4906, allocations: 8 kB / 0.5929 GB, free: 11.77 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.008e-05/0.4906, allocations: 12 kB / 0.5929 GB, free: 11.76 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.675e-05/0.4906, allocations: 8 kB / 0.5929 GB, free: 11.75 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.21e-07/0.4906, allocations: 3.938 kB / 0.5929 GB, free: 11.75 MB / 410.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 9.259e-05/0.4907, allocations: 57.69 kB / 0.593 GB, free: 11.68 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.498e-05/0.4907, allocations: 9.094 kB / 0.593 GB, free: 11.68 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.779e-06/0.4908, allocations: 256 / 0.593 GB, free: 11.68 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.073e-05/0.4908, allocations: 0 / 0.593 GB, free: 11.68 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.126e-05/0.4909, allocations: 23.98 kB / 0.593 GB, free: 11.65 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.4e-06/0.4909, allocations: 0 / 0.593 GB, free: 11.65 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.933e-05/0.4909, allocations: 4 kB / 0.593 GB, free: 11.65 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.365e-06/0.4909, allocations: 4.141 kB / 0.593 GB, free: 11.64 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.809e-05/0.491, allocations: 108.9 kB / 0.5931 GB, free: 11.53 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.899e-05/0.491, allocations: 11.89 kB / 0.5931 GB, free: 11.52 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001478/0.4912, allocations: 77.69 kB / 0.5932 GB, free: 11.44 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.493e-06/0.4912, allocations: 4 kB / 0.5932 GB, free: 11.43 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.228e-06/0.4912, allocations: 0 / 0.5932 GB, free: 11.43 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.344e-06/0.4912, allocations: 0 / 0.5932 GB, free: 11.43 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003062/0.4915, allocations: 338.3 kB / 0.5935 GB, free: 11.05 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/0.4915, allocations: 0 / 0.5935 GB, free: 11.05 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.164e-05/0.4916, allocations: 15.98 kB / 0.5935 GB, free: 11.03 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.446e-06/0.4916, allocations: 0 / 0.5935 GB, free: 11.03 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.943e-06/0.4916, allocations: 3.938 kB / 0.5935 GB, free: 11.03 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.002e-06/0.4916, allocations: 0 / 0.5935 GB, free: 11.03 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.4916, allocations: 4 kB / 0.5935 GB, free: 11.02 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001279/0.4918, allocations: 159.5 kB / 0.5937 GB, free: 10.85 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.195e-05/0.4918, allocations: 89.02 kB / 0.5938 GB, free: 10.75 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.512e-05/0.4919, allocations: 0 / 0.5938 GB, free: 10.75 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.849e-05/0.4919, allocations: 7.984 kB / 0.5938 GB, free: 10.74 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.757e-05/0.492, allocations: 4 kB / 0.5938 GB, free: 10.73 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.466e-06/0.492, allocations: 4 kB / 0.5938 GB, free: 10.73 MB / 410.7 MB Notification: Performance of sorting global known variables: time 7.748e-05/0.4921, allocations: 110.4 kB / 0.5939 GB, free: 10.62 MB / 410.7 MB Notification: Performance of sort global known variables: time 3.01e-07/0.4921, allocations: 3.938 kB / 0.5939 GB, free: 10.62 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002206/0.4923, allocations: 19.94 kB / 0.5939 GB, free: 10.6 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.0007731/0.4931, allocations: 360.6 kB / 0.5943 GB, free: 10.35 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 8.257e-05/0.4932, allocations: 32 kB / 0.5943 GB, free: 10.32 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.4932, allocations: 0 / 0.5943 GB, free: 10.32 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 3.493e-05/0.4932, allocations: 23.92 kB / 0.5943 GB, free: 10.29 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001768/0.4934, allocations: 15.95 kB / 0.5943 GB, free: 10.28 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002441/0.4937, allocations: 113 kB / 0.5944 GB, free: 10.15 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002126/0.4939, allocations: 0.6965 MB / 0.5951 GB, free: 9.426 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 4.489e-05/0.494, allocations: 4.188 kB / 0.5951 GB, free: 9.418 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.838e-05/0.494, allocations: 11.44 kB / 0.5951 GB, free: 9.406 MB / 410.7 MB Notification: Performance of SimCode: time 2.3e-07/0.494, allocations: 4 kB / 0.5951 GB, free: 9.402 MB / 410.7 MB Notification: Performance of Templates: time 0.002957/0.497, allocations: 1.02 MB / 0.5961 GB, free: 8.387 MB / 410.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test1.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test1.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test1.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test1.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test1.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test1.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test1_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test1/Test1.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches