Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test27.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.CombiTable1Dv.Test27,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test27") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test27,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test27") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009861/0.0009863, allocations: 179.6 kB / 14.15 MB, free: 1.176 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.338/1.338, allocations: 221.3 MB / 236 MB, free: 2.953 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.0009533/0.0009534, allocations: 101.5 kB / 287 MB, free: 248 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.1689/0.1689, allocations: 44.15 MB / 382 MB, free: 14.69 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 2.56e-05/2.562e-05, allocations: 4.219 kB / 451.8 MB, free: 9.43 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1156/0.1156, allocations: 61.91 MB / 0.5017 GB, free: 11.46 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3531/0.4687, allocations: 88.08 MB / 0.5877 GB, free: 1.227 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002074/0.469, allocations: 71.95 kB / 0.5878 GB, free: 1.156 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01105/0.4801, allocations: 4.5 MB / 0.5922 GB, free: 12.67 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.074e-06/0.4801, allocations: 0 / 0.5922 GB, free: 12.67 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.401e-05/0.4801, allocations: 8 kB / 0.5922 GB, free: 12.66 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0003565/0.4805, allocations: 406.2 kB / 0.5926 GB, free: 12.22 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.832e-05/0.4805, allocations: 8.031 kB / 0.5926 GB, free: 12.21 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.989e-05/0.4806, allocations: 15.8 kB / 0.5926 GB, free: 12.2 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002598/0.4809, allocations: 214.5 kB / 0.5928 GB, free: 11.95 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.795e-05/0.4809, allocations: 11.95 kB / 0.5928 GB, free: 11.93 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.196e-05/0.4809, allocations: 3.938 kB / 0.5928 GB, free: 11.93 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001159/0.481, allocations: 53.61 kB / 0.5929 GB, free: 11.87 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.216e-05/0.4811, allocations: 0 / 0.5929 GB, free: 11.87 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.057e-05/0.4811, allocations: 4 kB / 0.5929 GB, free: 11.87 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.104e-06/0.4811, allocations: 7.984 kB / 0.5929 GB, free: 11.86 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.023e-05/0.4811, allocations: 16 kB / 0.5929 GB, free: 11.84 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004081/0.4816, allocations: 316.7 kB / 0.5932 GB, free: 11.48 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.275e-05/0.4816, allocations: 46.5 kB / 0.5932 GB, free: 11.43 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.911e-05/0.4817, allocations: 12.86 kB / 0.5933 GB, free: 11.41 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.014e-05/0.4817, allocations: 4 kB / 0.5933 GB, free: 11.41 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.773e-05/0.4817, allocations: 34.56 kB / 0.5933 GB, free: 11.37 MB / 410.7 MB Notification: Performance of pre-optimization done (n=4): time 1.082e-06/0.4817, allocations: 0 / 0.5933 GB, free: 11.37 MB / 410.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004906/0.4822, allocations: 173.1 kB / 0.5935 GB, free: 11.19 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.768e-05/0.4823, allocations: 51.41 kB / 0.5935 GB, free: 11.13 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000255/0.4825, allocations: 241.5 kB / 0.5937 GB, free: 10.88 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.48e-05/0.4826, allocations: 29.7 kB / 0.5938 GB, free: 10.85 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.248e-05/0.4826, allocations: 120.1 kB / 0.5939 GB, free: 10.73 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.503e-05/0.4827, allocations: 27.55 kB / 0.5939 GB, free: 10.7 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.047e-06/0.4827, allocations: 0 / 0.5939 GB, free: 10.7 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001044/0.4828, allocations: 330.8 kB / 0.5942 GB, free: 10.37 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.662e-05/0.4828, allocations: 20 kB / 0.5942 GB, free: 10.35 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.481e-05/0.4829, allocations: 27.98 kB / 0.5943 GB, free: 10.32 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.22e-05/0.4829, allocations: 23.98 kB / 0.5943 GB, free: 10.3 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.81e-07/0.4829, allocations: 0 / 0.5943 GB, free: 10.3 MB / 410.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001431/0.4831, allocations: 97.5 kB / 0.5944 GB, free: 10.2 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.176e-05/0.4831, allocations: 7.938 kB / 0.5944 GB, free: 10.19 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.048e-06/0.4831, allocations: 0 / 0.5944 GB, free: 10.19 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.628e-06/0.4831, allocations: 0 / 0.5944 GB, free: 10.19 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001032/0.4832, allocations: 23.98 kB / 0.5944 GB, free: 10.16 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.763e-06/0.4832, allocations: 0 / 0.5944 GB, free: 10.16 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.065e-05/0.4833, allocations: 15.98 kB / 0.5944 GB, free: 10.15 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.306e-06/0.4833, allocations: 3.953 kB / 0.5944 GB, free: 10.14 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 (8): * Single equations (assignments): 8 * 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 6.436e-05/0.4834, allocations: 112.9 kB / 0.5945 GB, free: 10.03 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.469e-05/0.4834, allocations: 7.906 kB / 0.5946 GB, free: 10.02 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001902/0.4836, allocations: 127 kB / 0.5947 GB, free: 9.891 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.894e-06/0.4836, allocations: 0 / 0.5947 GB, free: 9.891 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.216e-06/0.4836, allocations: 0 / 0.5947 GB, free: 9.891 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.907e-06/0.4836, allocations: 4 kB / 0.5947 GB, free: 9.887 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004745/0.4841, allocations: 431.2 kB / 0.5951 GB, free: 9.406 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.352e-06/0.4841, allocations: 4.031 kB / 0.5951 GB, free: 9.402 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.369e-05/0.4842, allocations: 23.92 kB / 0.5951 GB, free: 9.379 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.134e-06/0.4842, allocations: 0 / 0.5951 GB, free: 9.379 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.634e-06/0.4842, allocations: 0 / 0.5951 GB, free: 9.379 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.986e-06/0.4843, allocations: 4 kB / 0.5951 GB, free: 9.375 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.314e-06/0.4843, allocations: 3.953 kB / 0.5951 GB, free: 9.371 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001966/0.4845, allocations: 218.3 kB / 0.5953 GB, free: 9.133 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.315e-05/0.4846, allocations: 100.9 kB / 0.5954 GB, free: 9.016 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.309e-05/0.4846, allocations: 3.984 kB / 0.5954 GB, free: 9.012 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.673e-05/0.4847, allocations: 7.953 kB / 0.5954 GB, free: 9.004 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.666e-05/0.4847, allocations: 7.984 kB / 0.5954 GB, free: 8.996 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.322e-06/0.4847, allocations: 4 kB / 0.5955 GB, free: 8.992 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001678/0.4849, allocations: 192.4 kB / 0.5956 GB, free: 8.805 MB / 410.7 MB Notification: Performance of sort global known variables: time 2.224e-06/0.4849, allocations: 4 kB / 0.5956 GB, free: 8.801 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002267/0.4851, allocations: 39.88 kB / 0.5957 GB, free: 8.762 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 8 * 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.0008862/0.486, allocations: 420.7 kB / 0.5961 GB, free: 8.461 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.000135/0.4862, allocations: 63.92 kB / 0.5961 GB, free: 8.398 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.4862, allocations: 0 / 0.5961 GB, free: 8.398 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 4.749e-05/0.4862, allocations: 28 kB / 0.5962 GB, free: 8.371 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002136/0.4865, allocations: 17.73 kB / 0.5962 GB, free: 8.352 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004578/0.4869, allocations: 243.5 kB / 0.5964 GB, free: 8.09 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003403/0.4873, allocations: 0.7278 MB / 0.5971 GB, free: 7.336 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 7.986e-05/0.4874, allocations: 28.95 kB / 0.5972 GB, free: 7.305 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.097e-05/0.4874, allocations: 15.44 kB / 0.5972 GB, free: 7.289 MB / 410.7 MB Notification: Performance of SimCode: time 3.31e-07/0.4874, allocations: 0 / 0.5972 GB, free: 7.289 MB / 410.7 MB Notification: Performance of Templates: time 0.0039/0.4913, allocations: 1.496 MB / 0.5986 GB, free: 5.797 MB / 410.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test27.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test27.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test27.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test27.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test27.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test27 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test27.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test27_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test27/Test27.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test27.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches