Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test16.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 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 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) 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.Test16,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.CombiTable1Ds.Test16") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test16,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.CombiTable1Ds.Test16") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001024/0.001024, allocations: 113.2 kB / 17.78 MB, free: 5.258 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.001075/0.001075, allocations: 184.2 kB / 18.72 MB, free: 4.332 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.289/1.289, allocations: 222.9 MB / 242.4 MB, free: 15.05 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.185/0.185, allocations: 44.18 MB / 336.7 MB, free: 2.668 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001082/0.001082, allocations: 67.91 kB / 470.6 MB, free: 13.14 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.277/0.2781, allocations: 60.82 MB / 0.5189 GB, free: 3.629 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test16): time 0.002513/0.2806, allocations: 1.585 MB / 0.5205 GB, free: 2.531 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006521/0.2813, allocations: 405.5 kB / 0.5209 GB, free: 2.266 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.571e-05/0.2814, allocations: 1 kB / 0.5209 GB, free: 2.266 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002841/0.2817, allocations: 71.94 kB / 0.5209 GB, free: 2.25 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000206/0.2819, allocations: 68.09 kB / 0.521 GB, free: 2.223 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002707/0.2822, allocations: 85.75 kB / 0.5211 GB, free: 2.184 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001535/0.2823, allocations: 77.98 kB / 0.5212 GB, free: 2.152 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.496e-05/0.2824, allocations: 21.72 kB / 0.5212 GB, free: 2.141 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.242e-05/0.2825, allocations: 37 kB / 0.5212 GB, free: 2.125 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.254e-05/0.2826, allocations: 53.73 kB / 0.5213 GB, free: 2.109 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.564e-05/0.2826, allocations: 3.938 kB / 0.5213 GB, free: 2.109 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.37e-05/0.2827, allocations: 43.47 kB / 0.5213 GB, free: 2.098 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 4.512e-05/0.2828, allocations: 18.38 kB / 0.5213 GB, free: 2.09 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 3.252e-05/0.2828, allocations: 26.67 kB / 0.5214 GB, free: 2.07 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001591/0.283, allocations: 104.1 kB / 0.5215 GB, free: 2.027 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.066e-06/0.283, allocations: 4 kB / 0.5215 GB, free: 2.023 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.032e-06/0.283, allocations: 0 / 0.5215 GB, free: 2.023 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.416e-06/0.283, allocations: 1.188 kB / 0.5215 GB, free: 2.023 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0003375/0.2833, allocations: 411.3 kB / 0.5218 GB, free: 1.613 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.011e-05/0.2834, allocations: 10.38 kB / 0.5219 GB, free: 1.613 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.964e-05/0.2834, allocations: 8.828 kB / 0.5219 GB, free: 1.609 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001181/0.2835, allocations: 196.8 kB / 0.5221 GB, free: 1.395 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.526e-06/0.2835, allocations: 3.469 kB / 0.5221 GB, free: 1.395 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.006e-05/0.2836, allocations: 5.719 kB / 0.5221 GB, free: 1.391 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001153/0.2837, allocations: 60.52 kB / 0.5221 GB, free: 1.344 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.02e-05/0.2837, allocations: 0.9688 kB / 0.5221 GB, free: 1.344 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.196e-06/0.2837, allocations: 4.75 kB / 0.5221 GB, free: 1.34 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.242e-06/0.2837, allocations: 0.8438 kB / 0.5221 GB, free: 1.34 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.438e-05/0.2838, allocations: 24.83 kB / 0.5222 GB, free: 1.336 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002663/0.2841, allocations: 289.8 kB / 0.5224 GB, free: 1.047 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.87e-05/0.2842, allocations: 47.31 kB / 0.5225 GB, free: 1.012 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.337e-05/0.2842, allocations: 19.22 kB / 0.5225 GB, free: 1 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.843e-05/0.2843, allocations: 0 / 0.5225 GB, free: 1 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.243e-05/0.2843, allocations: 36.31 kB / 0.5225 GB, free: 0.957 MB / 382.1 MB Notification: Performance of pre-optimization done (n=4): time 7.81e-07/0.2843, allocations: 1.094 kB / 0.5225 GB, free: 0.957 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0007736/0.2851, allocations: 226.6 kB / 0.5227 GB, free: 0.8633 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.182e-05/0.2851, allocations: 52.5 kB / 0.5228 GB, free: 0.8008 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001781/0.2853, allocations: 211.1 kB / 0.523 GB, free: 0.6641 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 9.748e-06/0.2853, allocations: 25.7 kB / 0.523 GB, free: 0.6328 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.999e-05/0.2853, allocations: 104.8 kB / 0.5231 GB, free: 0.5352 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.471e-05/0.2854, allocations: 29.19 kB / 0.5231 GB, free: 0.5117 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.02e-05/0.2854, allocations: 25.16 kB / 0.5232 GB, free: 500 kB / 382.1 MB Notification: Performance of setup shared object (initialization): time 6.479e-05/0.2855, allocations: 325.8 kB / 0.5235 GB, free: 172 kB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.255e-05/0.2856, allocations: 26.67 kB / 0.5235 GB, free: 164 kB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.628e-05/0.2856, allocations: 23.2 kB / 0.5235 GB, free: 160 kB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001364/0.2858, allocations: 58.14 kB / 0.5236 GB, free: 136 kB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.11e-07/0.2858, allocations: 1.062 kB / 0.5236 GB, free: 136 kB / 382.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001791/0.286, allocations: 106.5 kB / 0.5237 GB, free: 76 kB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.233e-05/0.286, allocations: 5.109 kB / 0.5237 GB, free: 76 kB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.12e-06/0.286, allocations: 4 kB / 0.5237 GB, free: 72 kB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.1e-05/0.286, allocations: 0 / 0.5237 GB, free: 72 kB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.927e-05/0.2861, allocations: 21.48 kB / 0.5237 GB, free: 68 kB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.24e-06/0.2861, allocations: 9.312 kB / 0.5237 GB, free: 60 kB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.89e-05/0.2862, allocations: 5.078 kB / 0.5237 GB, free: 60 kB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.773e-06/0.2862, allocations: 5.094 kB / 0.5237 GB, free: 56 kB / 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 (8): * Single equations (assignments): 8 * 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 9.396e-05/0.2863, allocations: 126.9 kB / 0.5239 GB, free: 15.93 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.722e-05/0.2863, allocations: 14.19 kB / 0.5239 GB, free: 15.93 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002534/0.2866, allocations: 114.6 kB / 0.524 GB, free: 15.87 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.525e-06/0.2866, allocations: 1.406 kB / 0.524 GB, free: 15.87 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.282e-06/0.2866, allocations: 3.938 kB / 0.524 GB, free: 15.86 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.9e-06/0.2866, allocations: 4.547 kB / 0.524 GB, free: 15.86 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004809/0.2871, allocations: 411.8 kB / 0.5244 GB, free: 15.5 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-06/0.2871, allocations: 1.469 kB / 0.5244 GB, free: 15.5 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.657e-05/0.2872, allocations: 21.03 kB / 0.5244 GB, free: 15.49 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.166e-06/0.2872, allocations: 1.312 kB / 0.5244 GB, free: 15.49 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.125e-06/0.2872, allocations: 1.312 kB / 0.5244 GB, free: 15.49 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.244e-06/0.2872, allocations: 0.75 kB / 0.5244 GB, free: 15.49 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.2872, allocations: 1.281 kB / 0.5244 GB, free: 15.49 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002318/0.2875, allocations: 203.2 kB / 0.5246 GB, free: 15.33 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.676e-05/0.2876, allocations: 91.81 kB / 0.5247 GB, free: 15.22 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.653e-05/0.2876, allocations: 1.875 kB / 0.5247 GB, free: 15.22 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.844e-05/0.2877, allocations: 5.812 kB / 0.5247 GB, free: 15.22 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.492e-05/0.2877, allocations: 6.109 kB / 0.5247 GB, free: 15.22 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.075e-06/0.2877, allocations: 2.312 kB / 0.5247 GB, free: 15.22 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001225/0.2878, allocations: 164.5 kB / 0.5249 GB, free: 15.12 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.2879, allocations: 3.938 kB / 0.5249 GB, free: 15.12 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002408/0.2881, allocations: 22.22 kB / 0.5249 GB, free: 15.11 MB / 398.1 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 () * Number of clocked 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 (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.0009411/0.289, allocations: 458.6 kB / 0.5253 GB, free: 14.89 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002011/0.2893, allocations: 63.12 kB / 0.5254 GB, free: 14.88 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.723e-06/0.2893, allocations: 0 / 0.5254 GB, free: 14.88 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 8.239e-05/0.2894, allocations: 30.92 kB / 0.5254 GB, free: 14.88 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003306/0.2897, allocations: 29.88 kB / 0.5254 GB, free: 14.86 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004221/0.2901, allocations: 258.2 kB / 0.5257 GB, free: 14.66 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002779/0.2904, allocations: 0.7061 MB / 0.5264 GB, free: 13.96 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 4.923e-05/0.2905, allocations: 9.656 kB / 0.5264 GB, free: 13.96 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.162e-05/0.2905, allocations: 13.94 kB / 0.5264 GB, free: 13.95 MB / 398.1 MB Notification: Performance of SimCode: time 2.3e-07/0.2905, allocations: 0 / 0.5264 GB, free: 13.95 MB / 398.1 MB Notification: Performance of Templates: time 0.003782/0.2943, allocations: 1.337 MB / 0.5277 GB, free: 13.59 MB / 398.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test16.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test16.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test16.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test16.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test16.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test16 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test16.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test16_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test16/Test16.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test16.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches