Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test7.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.CombiTable1Dv.Test7,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.CombiTable1Dv.Test7") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test7,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.CombiTable1Dv.Test7") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00152/0.00152, 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.001183/0.001183, allocations: 187.8 kB / 18.71 MB, free: 4.344 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.533/1.533, allocations: 222.9 MB / 242.4 MB, free: 15.17 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.23/0.23, allocations: 44.19 MB / 336.7 MB, free: 2.703 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001215/0.001215, allocations: 63.91 kB / 470.5 MB, free: 13.17 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5059/0.5072, allocations: 60.82 MB / 0.5189 GB, free: 3.629 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test7): time 0.002879/0.5101, allocations: 1.566 MB / 0.5204 GB, free: 2.547 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007759/0.5109, allocations: 409.6 kB / 0.5208 GB, free: 2.281 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.295e-05/0.511, allocations: 0 / 0.5208 GB, free: 2.281 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002544/0.5112, allocations: 22.36 kB / 0.5209 GB, free: 2.27 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002152/0.5115, allocations: 45.27 kB / 0.5209 GB, free: 2.242 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000337/0.5118, allocations: 106.7 kB / 0.521 GB, free: 2.188 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001553/0.512, allocations: 55.09 kB / 0.5211 GB, free: 2.164 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001256/0.5121, allocations: 15.86 kB / 0.5211 GB, free: 2.156 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.447e-05/0.5122, allocations: 23.62 kB / 0.5211 GB, free: 2.145 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.431e-05/0.5122, allocations: 20.3 kB / 0.5211 GB, free: 2.133 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.162e-05/0.5123, allocations: 1.969 kB / 0.5211 GB, free: 2.133 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.621e-05/0.5124, allocations: 29.92 kB / 0.5211 GB, free: 2.125 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.242e-05/0.5124, allocations: 18.55 kB / 0.5212 GB, free: 2.113 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.023e-05/0.5125, allocations: 17.08 kB / 0.5212 GB, free: 2.102 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002046/0.5127, allocations: 79.53 kB / 0.5213 GB, free: 2.066 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.953e-06/0.5127, allocations: 3.938 kB / 0.5213 GB, free: 2.062 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.114e-06/0.5127, allocations: 1.125 kB / 0.5213 GB, free: 2.062 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.991e-06/0.5127, allocations: 0 / 0.5213 GB, free: 2.062 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.0004766/0.5132, allocations: 376.8 kB / 0.5216 GB, free: 1.684 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.387e-05/0.5133, allocations: 9.031 kB / 0.5216 GB, free: 1.684 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.056e-05/0.5133, allocations: 4.562 kB / 0.5216 GB, free: 1.684 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001694/0.5135, allocations: 194.8 kB / 0.5218 GB, free: 1.469 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.222e-05/0.5135, allocations: 2.438 kB / 0.5218 GB, free: 1.469 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.364e-05/0.5135, allocations: 9.375 kB / 0.5218 GB, free: 1.461 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001655/0.5137, allocations: 54.41 kB / 0.5219 GB, free: 1.418 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.29e-05/0.5137, allocations: 0 / 0.5219 GB, free: 1.418 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.25e-05/0.5137, allocations: 1.734 kB / 0.5219 GB, free: 1.418 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.544e-06/0.5138, allocations: 3.938 kB / 0.5219 GB, free: 1.414 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001066/0.5139, allocations: 28.27 kB / 0.5219 GB, free: 1.406 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003816/0.5143, allocations: 275.6 kB / 0.5222 GB, free: 1.125 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002351/0.5145, allocations: 50.45 kB / 0.5222 GB, free: 1.09 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.835e-05/0.5146, allocations: 19.03 kB / 0.5222 GB, free: 1.078 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.245e-05/0.5146, allocations: 0.7031 kB / 0.5222 GB, free: 1.078 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.732e-05/0.5146, allocations: 32.78 kB / 0.5223 GB, free: 1.039 MB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 2.224e-06/0.5146, allocations: 0 / 0.5223 GB, free: 1.039 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005612/0.5152, allocations: 153.8 kB / 0.5224 GB, free: 0.9648 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.37e-05/0.5152, allocations: 53.08 kB / 0.5225 GB, free: 0.9023 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001381/0.5154, allocations: 152.3 kB / 0.5226 GB, free: 0.7891 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.024e-05/0.5154, allocations: 26.83 kB / 0.5226 GB, free: 0.7578 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.446e-05/0.5154, allocations: 102 kB / 0.5227 GB, free: 0.6602 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.18e-05/0.5155, allocations: 15.83 kB / 0.5228 GB, free: 0.6484 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.45e-05/0.5155, allocations: 15.02 kB / 0.5228 GB, free: 0.6328 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 6.513e-05/0.5156, allocations: 327.6 kB / 0.5231 GB, free: 316 kB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.323e-05/0.5157, allocations: 20.48 kB / 0.5231 GB, free: 312 kB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.298e-05/0.5157, allocations: 20.38 kB / 0.5231 GB, free: 308 kB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001351/0.5159, allocations: 52.62 kB / 0.5232 GB, free: 288 kB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.052e-06/0.5159, allocations: 0 / 0.5232 GB, free: 288 kB / 382.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.000179/0.5161, allocations: 93.72 kB / 0.5233 GB, free: 232 kB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.535e-05/0.5161, allocations: 4.562 kB / 0.5233 GB, free: 232 kB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.931e-06/0.5161, allocations: 5.703 kB / 0.5233 GB, free: 228 kB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.535e-05/0.5161, allocations: 0 / 0.5233 GB, free: 228 kB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.198e-05/0.5162, allocations: 12.17 kB / 0.5233 GB, free: 228 kB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.861e-06/0.5162, allocations: 5.109 kB / 0.5233 GB, free: 224 kB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.643e-05/0.5162, allocations: 4.594 kB / 0.5233 GB, free: 224 kB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.504e-06/0.5162, allocations: 5.672 kB / 0.5233 GB, free: 220 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 6.236e-05/0.5163, allocations: 117.3 kB / 0.5234 GB, free: 100 kB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.039e-05/0.5163, allocations: 12.12 kB / 0.5234 GB, free: 92 kB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002219/0.5166, allocations: 97.73 kB / 0.5235 GB, free: 28 kB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.314e-06/0.5166, allocations: 1.766 kB / 0.5235 GB, free: 28 kB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.859e-06/0.5166, allocations: 1.062 kB / 0.5235 GB, free: 28 kB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.176e-06/0.5166, allocations: 0 / 0.5235 GB, free: 28 kB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000483/0.5171, allocations: 350.7 kB / 0.5238 GB, free: 15.7 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.663e-06/0.5171, allocations: 4 kB / 0.5239 GB, free: 15.7 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.616e-05/0.5172, allocations: 12.09 kB / 0.5239 GB, free: 15.7 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.823e-06/0.5172, allocations: 3.938 kB / 0.5239 GB, free: 15.7 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.134e-05/0.5172, allocations: 6.188 kB / 0.5239 GB, free: 15.69 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.856e-06/0.5172, allocations: 3.938 kB / 0.5239 GB, free: 15.69 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.252e-06/0.5172, allocations: 1.5 kB / 0.5239 GB, free: 15.69 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002294/0.5174, allocations: 178.1 kB / 0.524 GB, free: 15.54 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.061e-05/0.5175, allocations: 90.45 kB / 0.5241 GB, free: 15.44 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.616e-05/0.5175, allocations: 4.641 kB / 0.5241 GB, free: 15.43 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.441e-05/0.5176, allocations: 8.594 kB / 0.5241 GB, free: 15.43 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.173e-05/0.5176, allocations: 8.672 kB / 0.5242 GB, free: 15.43 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.244e-06/0.5176, allocations: 6.469 kB / 0.5242 GB, free: 15.42 MB / 398.1 MB Notification: Performance of sorting global known variables: time 9.946e-05/0.5178, allocations: 117.7 kB / 0.5243 GB, free: 15.34 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.5178, allocations: 1.125 kB / 0.5243 GB, free: 15.34 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002395/0.518, allocations: 19.38 kB / 0.5243 GB, free: 15.33 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.0009024/0.5189, allocations: 401.9 kB / 0.5247 GB, free: 15.14 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.000212/0.5191, allocations: 57.22 kB / 0.5247 GB, free: 15.12 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.824e-06/0.5191, allocations: 0 / 0.5247 GB, free: 15.12 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 7.842e-05/0.5192, allocations: 26.38 kB / 0.5248 GB, free: 15.12 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003021/0.5195, allocations: 19.78 kB / 0.5248 GB, free: 15.11 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004004/0.5199, allocations: 185 kB / 0.5249 GB, free: 14.97 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003123/0.5203, allocations: 0.7013 MB / 0.5256 GB, free: 14.27 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 5.89e-05/0.5203, allocations: 11.45 kB / 0.5256 GB, free: 14.27 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.065e-05/0.5204, allocations: 12.73 kB / 0.5257 GB, free: 14.26 MB / 398.1 MB Notification: Performance of SimCode: time 2.034e-06/0.5204, allocations: 0 / 0.5257 GB, free: 14.26 MB / 398.1 MB Notification: Performance of Templates: time 0.004158/0.5245, allocations: 1.133 MB / 0.5268 GB, free: 14.09 MB / 398.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test7.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test7.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test7.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test7.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test7.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test7 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test7.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test7_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test7/Test7.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test7.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches