Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test11.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.Test11,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.Test11") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test11,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.Test11") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001288/0.001288, allocations: 114.3 kB / 17.78 MB, free: 5.129 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.001224/0.001224, allocations: 184.2 kB / 18.72 MB, free: 4.203 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.282/1.282, allocations: 222.9 MB / 242.4 MB, free: 15.04 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.1892/0.1892, allocations: 44.19 MB / 336.7 MB, free: 2.66 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001308/0.001308, allocations: 63.91 kB / 470.6 MB, free: 13.15 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2913/0.2926, allocations: 60.81 MB / 0.5189 GB, free: 3.621 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test11): time 0.002326/0.295, allocations: 1.571 MB / 0.5204 GB, free: 2.535 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005861/0.2956, allocations: 400 kB / 0.5208 GB, free: 2.273 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.264e-05/0.2956, allocations: 0.9375 kB / 0.5208 GB, free: 2.273 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001827/0.2958, allocations: 25.59 kB / 0.5209 GB, free: 2.262 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001574/0.296, allocations: 49.03 kB / 0.5209 GB, free: 2.23 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002192/0.2962, allocations: 81.05 kB / 0.521 GB, free: 2.191 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001343/0.2963, allocations: 62.19 kB / 0.521 GB, free: 2.16 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.582e-05/0.2964, allocations: 8.688 kB / 0.521 GB, free: 2.16 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.072e-05/0.2965, allocations: 18.33 kB / 0.5211 GB, free: 2.152 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.45e-05/0.2965, allocations: 19.48 kB / 0.5211 GB, free: 2.141 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.59e-05/0.2966, allocations: 6.625 kB / 0.5211 GB, free: 2.137 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.993e-05/0.2966, allocations: 29.53 kB / 0.5211 GB, free: 2.129 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 4.611e-05/0.2967, allocations: 19.33 kB / 0.5211 GB, free: 2.117 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 3.718e-05/0.2967, allocations: 25.08 kB / 0.5212 GB, free: 2.098 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001724/0.2969, allocations: 80.58 kB / 0.5212 GB, free: 2.066 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.477e-06/0.2969, allocations: 1.062 kB / 0.5212 GB, free: 2.066 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.773e-06/0.2969, allocations: 0 / 0.5212 GB, free: 2.066 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.661e-06/0.2969, allocations: 0 / 0.5212 GB, free: 2.066 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0003583/0.2973, allocations: 380.5 kB / 0.5216 GB, free: 1.68 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.304e-05/0.2973, allocations: 12.91 kB / 0.5216 GB, free: 1.676 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.573e-05/0.2974, allocations: 17.28 kB / 0.5216 GB, free: 1.664 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000125/0.2975, allocations: 191.5 kB / 0.5218 GB, free: 1.453 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.876e-06/0.2975, allocations: 1.438 kB / 0.5218 GB, free: 1.453 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.765e-05/0.2976, allocations: 2.438 kB / 0.5218 GB, free: 1.453 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000111/0.2977, allocations: 56.06 kB / 0.5219 GB, free: 1.406 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.828e-06/0.2977, allocations: 1.953 kB / 0.5219 GB, free: 1.406 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.444e-06/0.2977, allocations: 0 / 0.5219 GB, free: 1.406 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.178e-06/0.2977, allocations: 1.219 kB / 0.5219 GB, free: 1.406 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.142e-05/0.2978, allocations: 25.66 kB / 0.5219 GB, free: 1.398 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000238/0.298, allocations: 275.3 kB / 0.5222 GB, free: 1.113 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001685/0.2982, allocations: 44.42 kB / 0.5222 GB, free: 1.082 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.395e-05/0.2983, allocations: 17.73 kB / 0.5222 GB, free: 1.07 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.602e-05/0.2983, allocations: 0 / 0.5222 GB, free: 1.07 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.182e-05/0.2983, allocations: 36.56 kB / 0.5223 GB, free: 1.027 MB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 7.11e-07/0.2983, allocations: 0 / 0.5223 GB, free: 1.027 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.0004529/0.2988, allocations: 140 kB / 0.5224 GB, free: 0.9609 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.115e-05/0.2988, allocations: 57.12 kB / 0.5224 GB, free: 0.8945 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000124/0.2989, allocations: 168.5 kB / 0.5226 GB, free: 0.7773 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 6.593e-06/0.299, allocations: 25.7 kB / 0.5226 GB, free: 0.7461 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.208e-05/0.299, allocations: 106.8 kB / 0.5227 GB, free: 0.6445 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.662e-05/0.299, allocations: 12.08 kB / 0.5227 GB, free: 0.6367 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.728e-05/0.299, allocations: 17.8 kB / 0.5228 GB, free: 0.6172 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 3.907e-05/0.2991, allocations: 324.7 kB / 0.5231 GB, free: 304 kB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.514e-05/0.2992, allocations: 19.06 kB / 0.5231 GB, free: 300 kB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.367e-05/0.2992, allocations: 19.23 kB / 0.5231 GB, free: 296 kB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001112/0.2993, allocations: 50.33 kB / 0.5231 GB, free: 272 kB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.02e-07/0.2993, allocations: 0 / 0.5231 GB, free: 272 kB / 382.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001482/0.2995, allocations: 81.23 kB / 0.5232 GB, free: 224 kB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.103e-05/0.2995, allocations: 5.828 kB / 0.5232 GB, free: 224 kB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.897e-06/0.2995, allocations: 0 / 0.5232 GB, free: 224 kB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.139e-05/0.2995, allocations: 0 / 0.5232 GB, free: 224 kB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.352e-05/0.2996, allocations: 12.81 kB / 0.5232 GB, free: 224 kB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.907e-06/0.2996, allocations: 1.438 kB / 0.5232 GB, free: 224 kB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.609e-05/0.2997, allocations: 8.312 kB / 0.5233 GB, free: 220 kB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.081e-06/0.2997, allocations: 6.062 kB / 0.5233 GB, free: 216 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 (5): * Single equations (assignments): 5 * 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 5.871e-05/0.2997, allocations: 122.2 kB / 0.5234 GB, free: 92 kB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.769e-05/0.2998, allocations: 8.094 kB / 0.5234 GB, free: 88 kB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000194/0.3, allocations: 92.84 kB / 0.5235 GB, free: 24 kB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.553e-06/0.3, allocations: 1.25 kB / 0.5235 GB, free: 24 kB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.449e-06/0.3, allocations: 1.656 kB / 0.5235 GB, free: 24 kB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.294e-06/0.3, allocations: 288 / 0.5235 GB, free: 24 kB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004157/0.3004, allocations: 357.1 kB / 0.5238 GB, free: 15.69 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.036e-06/0.3004, allocations: 4.062 kB / 0.5238 GB, free: 15.68 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.099e-05/0.3005, allocations: 11.66 kB / 0.5238 GB, free: 15.68 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.887e-06/0.3005, allocations: 5.297 kB / 0.5238 GB, free: 15.68 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.076e-05/0.3005, allocations: 5 kB / 0.5238 GB, free: 15.68 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.717e-06/0.3005, allocations: 4.5 kB / 0.5238 GB, free: 15.67 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.392e-06/0.3005, allocations: 1.062 kB / 0.5238 GB, free: 15.67 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000209/0.3007, allocations: 177.4 kB / 0.524 GB, free: 15.52 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.622e-05/0.3008, allocations: 83.48 kB / 0.5241 GB, free: 15.43 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.498e-05/0.3008, allocations: 1.922 kB / 0.5241 GB, free: 15.43 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.482e-05/0.3009, allocations: 7.812 kB / 0.5241 GB, free: 15.42 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.634e-05/0.3009, allocations: 4.234 kB / 0.5241 GB, free: 15.42 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.098e-06/0.3009, allocations: 1.625 kB / 0.5241 GB, free: 15.42 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001033/0.301, allocations: 134.6 kB / 0.5242 GB, free: 15.33 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.301, allocations: 0 / 0.5242 GB, free: 15.33 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002304/0.3013, allocations: 22.64 kB / 0.5243 GB, free: 15.32 MB / 398.1 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 () * Number of clocked 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 (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.0008262/0.3021, allocations: 391.1 kB / 0.5246 GB, free: 15.13 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0001818/0.3023, allocations: 45 kB / 0.5247 GB, free: 15.12 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.893e-06/0.3023, allocations: 0 / 0.5247 GB, free: 15.12 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 7.315e-05/0.3024, allocations: 31.22 kB / 0.5247 GB, free: 15.11 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000293/0.3027, allocations: 19.05 kB / 0.5247 GB, free: 15.11 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003488/0.303, allocations: 185.7 kB / 0.5249 GB, free: 14.96 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002707/0.3033, allocations: 0.6968 MB / 0.5256 GB, free: 14.26 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 4.159e-05/0.3034, allocations: 9.734 kB / 0.5256 GB, free: 14.25 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.694e-05/0.3034, allocations: 16.33 kB / 0.5256 GB, free: 14.24 MB / 398.1 MB Notification: Performance of SimCode: time 2.31e-07/0.3034, allocations: 0 / 0.5256 GB, free: 14.24 MB / 398.1 MB Notification: Performance of Templates: time 0.003438/0.3068, allocations: 1.115 MB / 0.5267 GB, free: 14.09 MB / 398.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test11.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test11.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test11.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test11.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test11.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test11 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test11.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test11_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test11/Test11.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test11.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches