Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test21.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.Test21,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.Test21") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test21,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.Test21") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001123/0.001123, 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.001143/0.001143, allocations: 183 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.264/1.264, 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.1851/0.1851, allocations: 44.19 MB / 336.8 MB, free: 2.637 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001138/0.001138, allocations: 55.91 kB / 470.5 MB, free: 13.14 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3057/0.3069, allocations: 60.82 MB / 0.5189 GB, free: 3.867 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test21): time 0.00283/0.3098, allocations: 1.57 MB / 0.5205 GB, free: 2.781 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001221/0.311, allocations: 1.016 MB / 0.5214 GB, free: 2.062 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.232e-05/0.3111, allocations: 1.062 kB / 0.5214 GB, free: 2.062 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000214/0.3113, allocations: 32.27 kB / 0.5215 GB, free: 2.039 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001879/0.3115, allocations: 41.62 kB / 0.5215 GB, free: 2.016 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002389/0.3117, allocations: 84.16 kB / 0.5216 GB, free: 1.973 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001298/0.3119, allocations: 59.2 kB / 0.5217 GB, free: 1.945 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001203/0.312, allocations: 12.62 kB / 0.5217 GB, free: 1.941 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.592e-05/0.312, allocations: 17.83 kB / 0.5217 GB, free: 1.934 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00016/0.3122, allocations: 33.59 kB / 0.5217 GB, free: 1.914 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.751e-05/0.3122, allocations: 6.656 kB / 0.5217 GB, free: 1.91 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001038/0.3123, allocations: 50.33 kB / 0.5218 GB, free: 1.895 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 4.624e-05/0.3124, allocations: 16.56 kB / 0.5218 GB, free: 1.883 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 3.2e-05/0.3124, allocations: 18.06 kB / 0.5218 GB, free: 1.871 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001848/0.3126, allocations: 86.61 kB / 0.5219 GB, free: 1.836 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.937e-06/0.3126, allocations: 0 / 0.5219 GB, free: 1.836 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.633e-06/0.3126, allocations: 1.125 kB / 0.5219 GB, free: 1.836 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.81e-06/0.3126, allocations: 0 / 0.5219 GB, free: 1.836 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.0003718/0.313, allocations: 378.2 kB / 0.5222 GB, free: 1.449 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.595e-05/0.3131, allocations: 9.594 kB / 0.5223 GB, free: 1.449 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.015e-05/0.3131, allocations: 11.84 kB / 0.5223 GB, free: 1.441 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001444/0.3133, allocations: 193.5 kB / 0.5224 GB, free: 1.23 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.114e-06/0.3133, allocations: 1.438 kB / 0.5225 GB, free: 1.23 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.213e-05/0.3133, allocations: 3.266 kB / 0.5225 GB, free: 1.23 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001393/0.3134, allocations: 69.53 kB / 0.5225 GB, free: 1.168 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.124e-05/0.3135, allocations: 3.953 kB / 0.5225 GB, free: 1.164 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.167e-06/0.3135, allocations: 1.156 kB / 0.5225 GB, free: 1.164 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.008e-06/0.3135, allocations: 0 / 0.5225 GB, free: 1.164 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.849e-05/0.3136, allocations: 31.11 kB / 0.5226 GB, free: 1.152 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002734/0.3139, allocations: 272.2 kB / 0.5228 GB, free: 0.8672 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000182/0.3141, allocations: 40.28 kB / 0.5229 GB, free: 0.8398 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.656e-05/0.3141, allocations: 18.38 kB / 0.5229 GB, free: 0.8281 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.78e-05/0.3141, allocations: 0 / 0.5229 GB, free: 0.8281 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.928e-05/0.3142, allocations: 40.22 kB / 0.5229 GB, free: 0.7812 MB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 7.51e-07/0.3142, allocations: 0 / 0.5229 GB, free: 0.7812 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.0004905/0.3147, allocations: 130.9 kB / 0.523 GB, free: 0.7227 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.388e-05/0.3147, allocations: 79.28 kB / 0.5231 GB, free: 0.6289 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001101/0.3148, allocations: 139.6 kB / 0.5232 GB, free: 0.5117 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 8.936e-06/0.3148, allocations: 33.7 kB / 0.5233 GB, free: 484 kB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.092e-05/0.3149, allocations: 88.5 kB / 0.5234 GB, free: 396 kB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.822e-05/0.3149, allocations: 19.84 kB / 0.5234 GB, free: 380 kB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.143e-05/0.3149, allocations: 16.5 kB / 0.5234 GB, free: 364 kB / 382.1 MB Notification: Performance of setup shared object (initialization): time 4.441e-05/0.315, allocations: 322.3 kB / 0.5237 GB, free: 36 kB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.318e-05/0.3151, allocations: 18.31 kB / 0.5237 GB, free: 32 kB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.416e-05/0.3151, allocations: 35.92 kB / 0.5238 GB, free: 8 kB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001397/0.3153, allocations: 42.47 kB / 0.5238 GB, free: 15.99 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.11e-07/0.3153, allocations: 0 / 0.5238 GB, free: 15.99 MB / 398.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001717/0.3155, allocations: 85.06 kB / 0.5239 GB, free: 15.94 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.308e-05/0.3155, allocations: 8.281 kB / 0.5239 GB, free: 15.93 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.132e-06/0.3155, allocations: 2.125 kB / 0.5239 GB, free: 15.93 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.33e-05/0.3155, allocations: 0 / 0.5239 GB, free: 15.93 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.049e-05/0.3156, allocations: 17.02 kB / 0.5239 GB, free: 15.93 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.728e-06/0.3156, allocations: 0 / 0.5239 GB, free: 15.93 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.823e-05/0.3156, allocations: 5.031 kB / 0.5239 GB, free: 15.93 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.997e-06/0.3156, allocations: 1.406 kB / 0.5239 GB, free: 15.93 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 8.047e-05/0.3157, allocations: 122.4 kB / 0.524 GB, free: 15.8 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.009e-05/0.3158, allocations: 8.359 kB / 0.524 GB, free: 15.8 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002215/0.316, allocations: 92.22 kB / 0.5241 GB, free: 15.74 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.258e-06/0.316, allocations: 8.797 kB / 0.5241 GB, free: 15.73 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.198e-06/0.316, allocations: 1.25 kB / 0.5241 GB, free: 15.73 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.915e-06/0.316, allocations: 0 / 0.5241 GB, free: 15.73 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003921/0.3164, allocations: 342.2 kB / 0.5245 GB, free: 15.41 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.825e-06/0.3164, allocations: 1.922 kB / 0.5245 GB, free: 15.41 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.005e-05/0.3165, allocations: 10.84 kB / 0.5245 GB, free: 15.41 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.155e-06/0.3165, allocations: 1.781 kB / 0.5245 GB, free: 15.41 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.018e-05/0.3165, allocations: 0 / 0.5245 GB, free: 15.41 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.777e-06/0.3165, allocations: 9.734 kB / 0.5245 GB, free: 15.4 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.3165, allocations: 4 kB / 0.5245 GB, free: 15.4 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002093/0.3167, allocations: 180.6 kB / 0.5247 GB, free: 15.25 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.444e-05/0.3168, allocations: 84.05 kB / 0.5247 GB, free: 15.15 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.719e-05/0.3168, allocations: 1.781 kB / 0.5247 GB, free: 15.15 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.7e-05/0.3169, allocations: 8.391 kB / 0.5247 GB, free: 15.14 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.256e-05/0.3169, allocations: 3.5 kB / 0.5247 GB, free: 15.14 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.019e-06/0.3169, allocations: 7.453 kB / 0.5248 GB, free: 15.14 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001011/0.317, allocations: 102.9 kB / 0.5249 GB, free: 15.06 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.317, allocations: 0 / 0.5249 GB, free: 15.06 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002576/0.3173, allocations: 24.08 kB / 0.5249 GB, free: 15.05 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.001009/0.3183, allocations: 441.8 kB / 0.5253 GB, free: 14.85 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0001966/0.3185, allocations: 48.23 kB / 0.5253 GB, free: 14.84 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.813e-06/0.3185, allocations: 0 / 0.5253 GB, free: 14.84 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 7.411e-05/0.3186, allocations: 27.03 kB / 0.5254 GB, free: 14.83 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003008/0.3189, allocations: 15.06 kB / 0.5254 GB, free: 14.82 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003602/0.3193, allocations: 165 kB / 0.5255 GB, free: 14.68 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002495/0.3196, allocations: 0.6906 MB / 0.5262 GB, free: 13.98 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 5.401e-05/0.3196, allocations: 9.141 kB / 0.5262 GB, free: 13.98 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.288e-05/0.3197, allocations: 16.78 kB / 0.5262 GB, free: 13.97 MB / 398.1 MB Notification: Performance of SimCode: time 2.2e-07/0.3197, allocations: 1.781 kB / 0.5262 GB, free: 13.97 MB / 398.1 MB Notification: Performance of Templates: time 0.004043/0.3237, allocations: 1.359 MB / 0.5276 GB, free: 13.63 MB / 398.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test21.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test21.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test21.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test21.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test21.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test21 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test21.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test21_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test21/Test21.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test21.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches