Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test33.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.Test33,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.Test33") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test33,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.Test33") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001373/0.001373, allocations: 118.4 kB / 17.78 MB, free: 5.262 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.001314/0.001314, allocations: 183.8 kB / 18.71 MB, free: 4.34 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.445/1.445, allocations: 222.9 MB / 242.4 MB, free: 15.18 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.2323/0.2323, allocations: 44.2 MB / 336.8 MB, free: 2.684 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0015/0.0015, allocations: 60.09 kB / 470.5 MB, free: 13.17 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4053/0.4068, allocations: 60.81 MB / 0.5189 GB, free: 3.625 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test33): time 0.004075/0.4109, allocations: 1.576 MB / 0.5204 GB, free: 2.531 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001647/0.4126, allocations: 1.012 MB / 0.5214 GB, free: 1.816 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.101e-05/0.4127, allocations: 4.875 kB / 0.5214 GB, free: 1.812 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002829/0.413, allocations: 16.36 kB / 0.5215 GB, free: 1.805 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002448/0.4132, allocations: 44.69 kB / 0.5215 GB, free: 1.777 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003048/0.4136, allocations: 96.25 kB / 0.5216 GB, free: 1.723 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001966/0.4138, allocations: 55.81 kB / 0.5216 GB, free: 1.699 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001618/0.4139, allocations: 12.03 kB / 0.5217 GB, free: 1.695 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.019e-05/0.414, allocations: 19.52 kB / 0.5217 GB, free: 1.688 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005337/0.4146, allocations: 29.05 kB / 0.5217 GB, free: 1.672 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.634e-05/0.4146, allocations: 3.375 kB / 0.5217 GB, free: 1.672 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001773/0.4148, allocations: 48.69 kB / 0.5217 GB, free: 1.656 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 7.02e-05/0.4149, allocations: 21.38 kB / 0.5218 GB, free: 1.641 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.834e-05/0.4149, allocations: 20.75 kB / 0.5218 GB, free: 1.625 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002933/0.4152, allocations: 86.75 kB / 0.5219 GB, free: 1.59 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.678e-06/0.4152, allocations: 0 / 0.5219 GB, free: 1.59 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.186e-06/0.4152, allocations: 0.7031 kB / 0.5219 GB, free: 1.59 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.646e-06/0.4153, allocations: 1.125 kB / 0.5219 GB, free: 1.59 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.0006924/0.4159, allocations: 377.4 kB / 0.5222 GB, free: 1.207 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.388e-05/0.416, allocations: 10.06 kB / 0.5222 GB, free: 1.207 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.749e-05/0.4161, allocations: 11.42 kB / 0.5223 GB, free: 1.199 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002681/0.4164, allocations: 195.9 kB / 0.5224 GB, free: 0.9883 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.382e-05/0.4164, allocations: 1.438 kB / 0.5224 GB, free: 0.9883 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.428e-05/0.4164, allocations: 3.141 kB / 0.5224 GB, free: 0.9883 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002083/0.4166, allocations: 64.84 kB / 0.5225 GB, free: 0.9297 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.433e-05/0.4167, allocations: 1.062 kB / 0.5225 GB, free: 0.9297 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.198e-05/0.4167, allocations: 0 / 0.5225 GB, free: 0.9297 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.051e-05/0.4167, allocations: 1.125 kB / 0.5225 GB, free: 0.9297 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001234/0.4168, allocations: 21.5 kB / 0.5225 GB, free: 0.9258 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000458/0.4173, allocations: 277.3 kB / 0.5228 GB, free: 0.6367 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002621/0.4176, allocations: 39.91 kB / 0.5228 GB, free: 0.6094 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.636e-05/0.4176, allocations: 13.72 kB / 0.5228 GB, free: 0.6016 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.623e-05/0.4177, allocations: 1.938 kB / 0.5228 GB, free: 0.6016 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.513e-05/0.4177, allocations: 40.44 kB / 0.5229 GB, free: 0.5547 MB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 1.333e-06/0.4177, allocations: 0 / 0.5229 GB, free: 0.5547 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.0006681/0.4184, allocations: 142.4 kB / 0.523 GB, free: 496 kB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.7e-05/0.4184, allocations: 78.83 kB / 0.5231 GB, free: 400 kB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000159/0.4186, allocations: 130.8 kB / 0.5232 GB, free: 288 kB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.273e-05/0.4186, allocations: 26.41 kB / 0.5232 GB, free: 256 kB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.103e-05/0.4187, allocations: 97.41 kB / 0.5233 GB, free: 160 kB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.958e-05/0.4187, allocations: 15.61 kB / 0.5234 GB, free: 148 kB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.913e-05/0.4188, allocations: 19.36 kB / 0.5234 GB, free: 128 kB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001614/0.4189, allocations: 326.1 kB / 0.5237 GB, free: 15.8 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.702e-05/0.419, allocations: 14.34 kB / 0.5237 GB, free: 15.8 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.133e-05/0.4191, allocations: 35.38 kB / 0.5237 GB, free: 15.78 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001425/0.4192, allocations: 46.22 kB / 0.5238 GB, free: 15.76 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.102e-06/0.4193, allocations: 1.469 kB / 0.5238 GB, free: 15.76 MB / 398.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.000199/0.4195, allocations: 75.66 kB / 0.5238 GB, free: 15.71 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.226e-05/0.4195, allocations: 12.31 kB / 0.5239 GB, free: 15.71 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.598e-06/0.4195, allocations: 2.047 kB / 0.5239 GB, free: 15.71 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.005e-05/0.4195, allocations: 0 / 0.5239 GB, free: 15.71 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.231e-05/0.4196, allocations: 20.8 kB / 0.5239 GB, free: 15.7 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.265e-06/0.4196, allocations: 3.984 kB / 0.5239 GB, free: 15.7 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.753e-05/0.4197, allocations: 9.703 kB / 0.5239 GB, free: 15.7 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.406e-06/0.4197, allocations: 5.969 kB / 0.5239 GB, free: 15.69 MB / 398.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 0.0001031/0.4198, allocations: 118.1 kB / 0.524 GB, free: 15.57 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.806e-05/0.4199, allocations: 8.234 kB / 0.524 GB, free: 15.57 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002665/0.4201, allocations: 86.41 kB / 0.5241 GB, free: 15.51 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.386e-06/0.4201, allocations: 2 kB / 0.5241 GB, free: 15.51 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.949e-06/0.4202, allocations: 4 kB / 0.5241 GB, free: 15.5 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.328e-06/0.4202, allocations: 1.094 kB / 0.5241 GB, free: 15.5 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004742/0.4206, allocations: 351.5 kB / 0.5244 GB, free: 15.17 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.998e-06/0.4207, allocations: 4 kB / 0.5245 GB, free: 15.17 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.829e-05/0.4207, allocations: 11.56 kB / 0.5245 GB, free: 15.17 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.237e-06/0.4207, allocations: 1.875 kB / 0.5245 GB, free: 15.17 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.05e-05/0.4207, allocations: 1.188 kB / 0.5245 GB, free: 15.17 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.218e-06/0.4208, allocations: 3.938 kB / 0.5245 GB, free: 15.16 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.134e-06/0.4208, allocations: 4.703 kB / 0.5245 GB, free: 15.16 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002707/0.421, allocations: 177.1 kB / 0.5246 GB, free: 15.01 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.153e-05/0.4211, allocations: 79.2 kB / 0.5247 GB, free: 14.92 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.282e-05/0.4211, allocations: 1.922 kB / 0.5247 GB, free: 14.92 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.318e-05/0.4212, allocations: 12.73 kB / 0.5247 GB, free: 14.91 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.672e-05/0.4213, allocations: 4 kB / 0.5247 GB, free: 14.91 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.851e-06/0.4213, allocations: 5.875 kB / 0.5247 GB, free: 14.91 MB / 398.1 MB Notification: Performance of sorting global known variables: time 9.545e-05/0.4214, allocations: 102.8 kB / 0.5248 GB, free: 14.82 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4214, allocations: 0 / 0.5248 GB, free: 14.82 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002781/0.4217, allocations: 24.52 kB / 0.5249 GB, free: 14.82 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.001128/0.4228, allocations: 439.7 kB / 0.5253 GB, free: 14.61 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002326/0.4231, allocations: 48.97 kB / 0.5253 GB, free: 14.6 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.4231, allocations: 1.688 kB / 0.5253 GB, free: 14.6 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 7.965e-05/0.4232, allocations: 25.88 kB / 0.5254 GB, free: 14.59 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003182/0.4235, allocations: 21.3 kB / 0.5254 GB, free: 14.59 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004274/0.4239, allocations: 155.5 kB / 0.5255 GB, free: 14.46 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002885/0.4242, allocations: 0.6978 MB / 0.5262 GB, free: 13.75 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 7.099e-05/0.4243, allocations: 13.89 kB / 0.5262 GB, free: 13.75 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.219e-05/0.4243, allocations: 14.17 kB / 0.5262 GB, free: 13.74 MB / 398.1 MB Notification: Performance of SimCode: time 2.6e-07/0.4244, allocations: 0 / 0.5262 GB, free: 13.74 MB / 398.1 MB Notification: Performance of Templates: time 0.004676/0.429, allocations: 1.355 MB / 0.5276 GB, free: 13.45 MB / 398.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test33.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test33.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test33.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test33.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test33.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test33 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test33.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test33_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test33/Test33.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test33.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches