Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test8.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.CombiTimeTable.Test8,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test8") translateModel(ModelicaTest.Tables.CombiTimeTable.Test8,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test8") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001026/0.001027, allocations: 180.1 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.254/1.254, allocations: 221.3 MB / 236 MB, free: 2.977 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.000789/0.0007891, allocations: 90.05 kB / 287 MB, free: 252 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.1717/0.1717, allocations: 44.15 MB / 382 MB, free: 14.68 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 3.222e-05/3.225e-05, allocations: 8.203 kB / 451.8 MB, free: 9.422 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1149/0.1149, allocations: 61.91 MB / 0.5017 GB, free: 11.45 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3655/0.4805, allocations: 89.28 MB / 0.5889 GB, free: 52 kB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002208/0.4807, allocations: 76.55 kB / 0.589 GB, free: 15.98 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01606/0.4968, allocations: 6.283 MB / 0.5951 GB, free: 9.707 MB / 410.7 MB Notification: Performance of FrontEnd: time 8.92e-07/0.4968, allocations: 0 / 0.5951 GB, free: 9.707 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.238e-05/0.4969, allocations: 4 kB / 0.5951 GB, free: 9.703 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0004087/0.4973, allocations: 422 kB / 0.5955 GB, free: 9.246 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.683e-05/0.4973, allocations: 12.03 kB / 0.5955 GB, free: 9.234 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.347e-05/0.4974, allocations: 15.8 kB / 0.5955 GB, free: 9.219 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002896/0.4977, allocations: 234.5 kB / 0.5958 GB, free: 8.949 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.616e-05/0.4977, allocations: 11.89 kB / 0.5958 GB, free: 8.938 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.956e-05/0.4977, allocations: 4 kB / 0.5958 GB, free: 8.934 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001227/0.4979, allocations: 65.61 kB / 0.5958 GB, free: 8.863 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.748e-06/0.4979, allocations: 0 / 0.5958 GB, free: 8.863 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.012e-05/0.4979, allocations: 4 kB / 0.5958 GB, free: 8.859 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.737e-06/0.4979, allocations: 4 kB / 0.5958 GB, free: 8.855 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.601e-05/0.498, allocations: 35.97 kB / 0.5959 GB, free: 8.82 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003893/0.4984, allocations: 336.6 kB / 0.5962 GB, free: 8.441 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002123/0.4986, allocations: 74.55 kB / 0.5963 GB, free: 8.359 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.707e-05/0.4987, allocations: 21.02 kB / 0.5963 GB, free: 8.336 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.435e-05/0.4987, allocations: 7.984 kB / 0.5963 GB, free: 8.328 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001344/0.4988, allocations: 83.45 kB / 0.5964 GB, free: 8.234 MB / 410.7 MB Notification: Performance of pre-optimization done (n=8): time 1.382e-06/0.4988, allocations: 3.938 kB / 0.5964 GB, free: 8.23 MB / 410.7 MB Notification: Performance of matching and sorting (n=12): time 0.0005352/0.4994, allocations: 244.9 kB / 0.5966 GB, free: 7.984 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.15e-05/0.4994, allocations: 51.41 kB / 0.5967 GB, free: 7.922 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002201/0.4996, allocations: 229.6 kB / 0.5969 GB, free: 7.684 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.953e-05/0.4997, allocations: 29.7 kB / 0.5969 GB, free: 7.648 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.64e-05/0.4997, allocations: 112.1 kB / 0.597 GB, free: 7.535 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.822e-05/0.4998, allocations: 47.44 kB / 0.5971 GB, free: 7.488 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.93e-06/0.4998, allocations: 0 / 0.5971 GB, free: 7.488 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001284/0.4999, allocations: 334.8 kB / 0.5974 GB, free: 7.152 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.635e-05/0.5, allocations: 32 kB / 0.5974 GB, free: 7.121 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.685e-05/0.5001, allocations: 49.7 kB / 0.5975 GB, free: 7.066 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.261e-05/0.5001, allocations: 35.98 kB / 0.5975 GB, free: 7.031 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.31e-07/0.5001, allocations: 0 / 0.5975 GB, free: 7.031 MB / 410.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001903/0.5003, allocations: 148.3 kB / 0.5976 GB, free: 6.883 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.334e-05/0.5004, allocations: 4 kB / 0.5976 GB, free: 6.879 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.102e-06/0.5004, allocations: 4 kB / 0.5976 GB, free: 6.875 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.131e-05/0.5004, allocations: 0 / 0.5976 GB, free: 6.875 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.141e-05/0.5005, allocations: 27.98 kB / 0.5977 GB, free: 6.848 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.292e-06/0.5005, allocations: 0 / 0.5977 GB, free: 6.848 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.971e-05/0.5006, allocations: 4 kB / 0.5977 GB, free: 6.844 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.046e-05/0.5006, allocations: 4 kB / 0.5977 GB, free: 6.84 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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 7.029e-05/0.5006, allocations: 116.9 kB / 0.5978 GB, free: 6.719 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.684e-05/0.5007, allocations: 19.8 kB / 0.5978 GB, free: 6.699 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002714/0.501, allocations: 167.2 kB / 0.598 GB, free: 6.527 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.974e-06/0.501, allocations: 3.938 kB / 0.598 GB, free: 6.523 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.487e-06/0.501, allocations: 0 / 0.598 GB, free: 6.523 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.226e-06/0.501, allocations: 0 / 0.598 GB, free: 6.523 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005164/0.5015, allocations: 0.5077 MB / 0.5985 GB, free: 5.953 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-06/0.5015, allocations: 0 / 0.5985 GB, free: 5.953 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.211e-05/0.5016, allocations: 19.98 kB / 0.5985 GB, free: 5.934 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.298e-06/0.5016, allocations: 4 kB / 0.5985 GB, free: 5.93 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.343e-05/0.5016, allocations: 4 kB / 0.5985 GB, free: 5.926 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.336e-06/0.5016, allocations: 4 kB / 0.5985 GB, free: 5.922 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.496e-06/0.5016, allocations: 7.891 kB / 0.5985 GB, free: 5.914 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002459/0.5019, allocations: 273.5 kB / 0.5988 GB, free: 5.613 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.937e-05/0.502, allocations: 108.9 kB / 0.5989 GB, free: 5.488 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.58e-05/0.502, allocations: 0 / 0.5989 GB, free: 5.488 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.142e-05/0.5021, allocations: 8 kB / 0.5989 GB, free: 5.48 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.978e-05/0.5021, allocations: 11.98 kB / 0.5989 GB, free: 5.469 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.351e-05/0.5021, allocations: 7.984 kB / 0.5989 GB, free: 5.461 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001585/0.5023, allocations: 184.5 kB / 0.5991 GB, free: 5.281 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.7e-07/0.5023, allocations: 0 / 0.5991 GB, free: 5.281 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002643/0.5026, allocations: 47.92 kB / 0.5991 GB, free: 5.234 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (14): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001004/0.5036, allocations: 485 kB / 0.5996 GB, free: 4.883 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001697/0.5038, allocations: 91.92 kB / 0.5997 GB, free: 4.793 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.5038, allocations: 0 / 0.5997 GB, free: 4.793 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 8.525e-05/0.5039, allocations: 55.98 kB / 0.5997 GB, free: 4.738 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002458/0.5041, allocations: 20.17 kB / 0.5997 GB, free: 4.715 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004242/0.5046, allocations: 249.2 kB / 0.6 GB, free: 4.441 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000238/0.5048, allocations: 0.7281 MB / 0.6007 GB, free: 3.688 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 7.283e-05/0.5049, allocations: 29.31 kB / 0.6007 GB, free: 3.66 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.151e-05/0.505, allocations: 31.36 kB / 0.6008 GB, free: 3.629 MB / 410.7 MB Notification: Performance of SimCode: time 2.7e-07/0.505, allocations: 0 / 0.6008 GB, free: 3.629 MB / 410.7 MB Notification: Performance of Templates: time 0.004354/0.5093, allocations: 2.159 MB / 0.6029 GB, free: 1.484 MB / 410.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test8.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test8.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test8.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test8.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test8.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test8 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test8.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test8_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test8/Test8.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test8.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches