Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab.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.Test25_usertab,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test25_usertab,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001066/0.001066, allocations: 114.4 kB / 17.78 MB, free: 5.266 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.001015/0.001015, allocations: 183.8 kB / 18.71 MB, free: 4.348 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.54/1.54, allocations: 222.9 MB / 242.4 MB, free: 15.07 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.2345/0.2345, allocations: 44.19 MB / 336.7 MB, free: 2.656 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001257/0.001257, allocations: 63.84 kB / 470.6 MB, free: 13.14 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5057/0.507, allocations: 60.81 MB / 0.5189 GB, free: 3.617 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test25_usertab): time 0.003228/0.5103, allocations: 1.582 MB / 0.5205 GB, free: 2.52 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007928/0.5111, allocations: 419 kB / 0.5209 GB, free: 2.246 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.848e-05/0.5112, allocations: 4.938 kB / 0.5209 GB, free: 2.242 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002541/0.5114, allocations: 24.3 kB / 0.5209 GB, free: 2.227 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001926/0.5116, allocations: 39.27 kB / 0.5209 GB, free: 2.203 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002741/0.5119, allocations: 88.75 kB / 0.521 GB, free: 2.156 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001746/0.5121, allocations: 59.55 kB / 0.5211 GB, free: 2.133 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001149/0.5122, allocations: 16.12 kB / 0.5211 GB, free: 2.125 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.019e-05/0.5123, allocations: 29.05 kB / 0.5211 GB, free: 2.109 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.391e-05/0.5124, allocations: 20.27 kB / 0.5211 GB, free: 2.102 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.076e-05/0.5124, allocations: 7.75 kB / 0.5211 GB, free: 2.098 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001419/0.5126, allocations: 55.98 kB / 0.5212 GB, free: 2.078 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.483e-05/0.5126, allocations: 13.66 kB / 0.5212 GB, free: 2.07 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.215e-05/0.5127, allocations: 23.61 kB / 0.5212 GB, free: 2.055 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002396/0.5129, allocations: 103.3 kB / 0.5213 GB, free: 2.008 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.288e-06/0.5129, allocations: 1.188 kB / 0.5213 GB, free: 2.008 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.603e-06/0.5129, allocations: 0 / 0.5213 GB, free: 2.008 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.001e-06/0.513, allocations: 0 / 0.5213 GB, free: 2.008 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0004241/0.5134, allocations: 382.7 kB / 0.5217 GB, free: 1.629 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.008e-05/0.5134, allocations: 14 kB / 0.5217 GB, free: 1.625 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.425e-05/0.5135, allocations: 8.812 kB / 0.5217 GB, free: 1.621 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001677/0.5136, allocations: 187 kB / 0.5219 GB, free: 1.414 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.211e-05/0.5137, allocations: 10.38 kB / 0.5219 GB, free: 1.406 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.291e-05/0.5137, allocations: 2.594 kB / 0.5219 GB, free: 1.406 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001655/0.5139, allocations: 72.55 kB / 0.522 GB, free: 1.344 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.045e-05/0.5139, allocations: 0 / 0.522 GB, free: 1.344 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.179e-05/0.5139, allocations: 1.25 kB / 0.522 GB, free: 1.344 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.781e-06/0.5139, allocations: 5.125 kB / 0.522 GB, free: 1.34 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.702e-05/0.514, allocations: 26.23 kB / 0.522 GB, free: 1.336 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003966/0.5144, allocations: 298.1 kB / 0.5223 GB, free: 1.039 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001219/0.5146, allocations: 56.81 kB / 0.5223 GB, free: 1.004 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.924e-05/0.5146, allocations: 28.47 kB / 0.5224 GB, free: 0.9883 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.68e-05/0.5147, allocations: 6.109 kB / 0.5224 GB, free: 0.9844 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.973e-05/0.5147, allocations: 31.88 kB / 0.5224 GB, free: 0.9453 MB / 382.1 MB Notification: Performance of pre-optimization done (n=5): time 1.463e-06/0.5147, allocations: 0 / 0.5224 GB, free: 0.9453 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.000636/0.5153, allocations: 176.1 kB / 0.5226 GB, free: 0.8711 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.851e-05/0.5154, allocations: 79.64 kB / 0.5226 GB, free: 0.7773 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001392/0.5155, allocations: 152 kB / 0.5228 GB, free: 0.6523 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.206e-05/0.5155, allocations: 27.17 kB / 0.5228 GB, free: 0.6211 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.371e-05/0.5156, allocations: 92.36 kB / 0.5229 GB, free: 0.5312 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.299e-05/0.5156, allocations: 25.42 kB / 0.5229 GB, free: 0.5117 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.026e-05/0.5157, allocations: 22.36 kB / 0.5229 GB, free: 0.4922 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 6.052e-05/0.5157, allocations: 324.5 kB / 0.5233 GB, free: 176 kB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.558e-05/0.5158, allocations: 35 kB / 0.5233 GB, free: 164 kB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.15e-05/0.5159, allocations: 50.39 kB / 0.5233 GB, free: 136 kB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001656/0.5161, allocations: 74.98 kB / 0.5234 GB, free: 104 kB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.22e-07/0.5161, allocations: 0 / 0.5234 GB, free: 104 kB / 382.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002388/0.5163, allocations: 111.7 kB / 0.5235 GB, free: 48 kB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.62e-05/0.5164, allocations: 4.562 kB / 0.5235 GB, free: 48 kB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.27e-06/0.5164, allocations: 1.844 kB / 0.5235 GB, free: 48 kB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.639e-05/0.5164, allocations: 1.125 kB / 0.5235 GB, free: 48 kB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000112/0.5165, allocations: 21.78 kB / 0.5235 GB, free: 44 kB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.032e-06/0.5165, allocations: 1.469 kB / 0.5235 GB, free: 44 kB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.334e-05/0.5166, allocations: 5.844 kB / 0.5236 GB, free: 44 kB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.228e-05/0.5166, allocations: 10.38 kB / 0.5236 GB, free: 36 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 (9): * Single equations (assignments): 9 * 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.0001134/0.5167, allocations: 116.1 kB / 0.5237 GB, free: 15.92 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.662e-05/0.5168, allocations: 15.41 kB / 0.5237 GB, free: 15.91 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002978/0.5171, allocations: 122.1 kB / 0.5238 GB, free: 15.84 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.69e-06/0.5171, allocations: 4.734 kB / 0.5238 GB, free: 15.83 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.459e-06/0.5171, allocations: 1.094 kB / 0.5238 GB, free: 15.83 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.188e-06/0.5171, allocations: 0.9375 kB / 0.5238 GB, free: 15.83 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005393/0.5176, allocations: 397.2 kB / 0.5242 GB, free: 15.48 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.5177, allocations: 0 / 0.5242 GB, free: 15.48 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.958e-05/0.5177, allocations: 16.91 kB / 0.5242 GB, free: 15.48 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.655e-06/0.5177, allocations: 1.156 kB / 0.5242 GB, free: 15.48 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.146e-05/0.5178, allocations: 9.766 kB / 0.5242 GB, free: 15.48 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.984e-06/0.5178, allocations: 3.938 kB / 0.5242 GB, free: 15.47 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.164e-06/0.5178, allocations: 1 kB / 0.5242 GB, free: 15.47 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002829/0.5181, allocations: 194.6 kB / 0.5244 GB, free: 15.32 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.699e-05/0.5181, allocations: 84.64 kB / 0.5245 GB, free: 15.22 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.386e-05/0.5182, allocations: 8.641 kB / 0.5245 GB, free: 15.21 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.037e-05/0.5182, allocations: 8.953 kB / 0.5245 GB, free: 15.21 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.804e-05/0.5183, allocations: 6.047 kB / 0.5245 GB, free: 15.21 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.494e-06/0.5183, allocations: 1.906 kB / 0.5245 GB, free: 15.21 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001102/0.5184, allocations: 111.8 kB / 0.5246 GB, free: 15.12 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.5184, allocations: 0 / 0.5246 GB, free: 15.12 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002746/0.5187, allocations: 27.81 kB / 0.5246 GB, free: 15.12 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 (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.001102/0.5198, allocations: 451.2 kB / 0.5251 GB, free: 14.91 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002533/0.5201, allocations: 71.86 kB / 0.5251 GB, free: 14.89 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.5201, allocations: 0 / 0.5251 GB, free: 14.89 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 9.165e-05/0.5202, allocations: 36.27 kB / 0.5252 GB, free: 14.89 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003205/0.5205, allocations: 22.67 kB / 0.5252 GB, free: 14.88 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004631/0.521, allocations: 188.4 kB / 0.5254 GB, free: 14.72 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002916/0.5213, allocations: 0.7004 MB / 0.5261 GB, free: 14.02 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 8.776e-05/0.5214, allocations: 21.05 kB / 0.5261 GB, free: 14.01 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.595e-05/0.5214, allocations: 19.75 kB / 0.5261 GB, free: 14 MB / 398.1 MB Notification: Performance of SimCode: time 2.2e-07/0.5214, allocations: 0 / 0.5261 GB, free: 14 MB / 398.1 MB Notification: Performance of Templates: time 0.005156/0.5266, allocations: 1.602 MB / 0.5277 GB, free: 13.53 MB / 398.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test25_usertab/Test25_usertab.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches