Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test1.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.Test1,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.Test1") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test1,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.Test1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001382/0.001382, allocations: 113.8 kB / 17.78 MB, free: 5.285 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.001634/0.001634, allocations: 183.9 kB / 18.71 MB, free: 4.371 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.466/1.466, allocations: 222.9 MB / 242.4 MB, free: 15.09 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.248/0.248, allocations: 44.19 MB / 336.7 MB, free: 2.676 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001427/0.001427, allocations: 63.84 kB / 470.5 MB, free: 13.16 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4081/0.4095, allocations: 60.82 MB / 0.5189 GB, free: 3.629 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test1): time 0.00291/0.4125, allocations: 1.571 MB / 0.5204 GB, free: 2.539 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007745/0.4133, allocations: 396.9 kB / 0.5208 GB, free: 2.281 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.44e-05/0.4134, allocations: 0 / 0.5208 GB, free: 2.281 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002087/0.4136, allocations: 24.92 kB / 0.5209 GB, free: 2.266 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000206/0.4138, allocations: 34.78 kB / 0.5209 GB, free: 2.246 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002797/0.4141, allocations: 88.44 kB / 0.521 GB, free: 2.199 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001612/0.4143, allocations: 55.58 kB / 0.521 GB, free: 2.176 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001175/0.4144, allocations: 15.58 kB / 0.521 GB, free: 2.168 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.508e-05/0.4145, allocations: 22.42 kB / 0.5211 GB, free: 2.156 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.455e-05/0.4145, allocations: 16.28 kB / 0.5211 GB, free: 2.148 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.753e-05/0.4145, allocations: 2.688 kB / 0.5211 GB, free: 2.148 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.577e-05/0.4146, allocations: 32.91 kB / 0.5211 GB, free: 2.137 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.59e-05/0.4147, allocations: 10 kB / 0.5211 GB, free: 2.133 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.197e-05/0.4147, allocations: 24.91 kB / 0.5211 GB, free: 2.113 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001848/0.4149, allocations: 76.28 kB / 0.5212 GB, free: 2.078 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.41e-06/0.4149, allocations: 1 kB / 0.5212 GB, free: 2.078 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.784e-06/0.415, allocations: 0 / 0.5212 GB, free: 2.078 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.122e-06/0.415, allocations: 4 kB / 0.5212 GB, free: 2.074 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.0004806/0.4155, allocations: 373.3 kB / 0.5216 GB, free: 1.695 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.313e-05/0.4155, allocations: 10.06 kB / 0.5216 GB, free: 1.695 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.544e-05/0.4156, allocations: 12.02 kB / 0.5216 GB, free: 1.688 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001661/0.4157, allocations: 187.5 kB / 0.5218 GB, free: 1.48 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.19e-05/0.4157, allocations: 1.5 kB / 0.5218 GB, free: 1.48 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.367e-05/0.4158, allocations: 2.469 kB / 0.5218 GB, free: 1.48 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001529/0.4159, allocations: 48.94 kB / 0.5218 GB, free: 1.441 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.353e-05/0.416, allocations: 5.25 kB / 0.5218 GB, free: 1.438 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.336e-05/0.416, allocations: 8.5 kB / 0.5218 GB, free: 1.43 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.881e-06/0.416, allocations: 1.062 kB / 0.5218 GB, free: 1.43 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001002/0.4161, allocations: 17.89 kB / 0.5219 GB, free: 1.43 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003697/0.4165, allocations: 276.5 kB / 0.5221 GB, free: 1.141 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002554/0.4167, allocations: 43.78 kB / 0.5222 GB, free: 1.109 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.338e-05/0.4168, allocations: 21.98 kB / 0.5222 GB, free: 1.094 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.884e-05/0.4168, allocations: 1.609 kB / 0.5222 GB, free: 1.094 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.189e-05/0.4169, allocations: 35.56 kB / 0.5222 GB, free: 1.051 MB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 1.473e-06/0.4169, allocations: 0 / 0.5222 GB, free: 1.051 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.000618/0.4175, allocations: 139.4 kB / 0.5224 GB, free: 0.9844 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.889e-05/0.4175, allocations: 56.97 kB / 0.5224 GB, free: 0.918 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001534/0.4177, allocations: 139.7 kB / 0.5225 GB, free: 0.8047 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.189e-05/0.4177, allocations: 25.7 kB / 0.5226 GB, free: 0.7734 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.978e-05/0.4178, allocations: 101.5 kB / 0.5227 GB, free: 0.6758 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.569e-05/0.4178, allocations: 11.83 kB / 0.5227 GB, free: 0.668 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.414e-05/0.4179, allocations: 17.88 kB / 0.5227 GB, free: 0.6484 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 6.956e-05/0.4179, allocations: 324.6 kB / 0.523 GB, free: 336 kB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.4e-05/0.418, allocations: 17.23 kB / 0.523 GB, free: 332 kB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.616e-05/0.4181, allocations: 18.75 kB / 0.523 GB, free: 328 kB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001433/0.4182, allocations: 46.88 kB / 0.5231 GB, free: 308 kB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.02e-07/0.4182, allocations: 1 kB / 0.5231 GB, free: 308 kB / 382.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002031/0.4185, allocations: 81.2 kB / 0.5232 GB, free: 260 kB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.962e-05/0.4185, allocations: 4.781 kB / 0.5232 GB, free: 260 kB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.73e-06/0.4185, allocations: 0 / 0.5232 GB, free: 260 kB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.358e-05/0.4185, allocations: 4.938 kB / 0.5232 GB, free: 256 kB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.858e-05/0.4186, allocations: 16.95 kB / 0.5232 GB, free: 252 kB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.927e-06/0.4186, allocations: 0.75 kB / 0.5232 GB, free: 252 kB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.466e-05/0.4187, allocations: 4.438 kB / 0.5232 GB, free: 252 kB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.026e-05/0.4187, allocations: 5.062 kB / 0.5232 GB, free: 248 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 8.368e-05/0.4188, allocations: 115.9 kB / 0.5233 GB, free: 128 kB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.435e-05/0.4188, allocations: 11.38 kB / 0.5233 GB, free: 120 kB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002745/0.4191, allocations: 93.16 kB / 0.5234 GB, free: 56 kB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.737e-06/0.4191, allocations: 1.5 kB / 0.5234 GB, free: 56 kB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.492e-06/0.4191, allocations: 0.6562 kB / 0.5234 GB, free: 56 kB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.867e-06/0.4191, allocations: 0 / 0.5234 GB, free: 56 kB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005146/0.4197, allocations: 337.8 kB / 0.5237 GB, free: 15.73 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.679e-06/0.4197, allocations: 5.094 kB / 0.5237 GB, free: 15.73 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.838e-05/0.4197, allocations: 19.94 kB / 0.5237 GB, free: 15.72 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.916e-06/0.4198, allocations: 1.062 kB / 0.5238 GB, free: 15.72 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.034e-05/0.4198, allocations: 4.703 kB / 0.5238 GB, free: 15.72 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.012e-06/0.4198, allocations: 5.312 kB / 0.5238 GB, free: 15.71 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.542e-06/0.4198, allocations: 0 / 0.5238 GB, free: 15.71 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002631/0.4201, allocations: 172.8 kB / 0.5239 GB, free: 15.57 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.058e-05/0.4201, allocations: 79.72 kB / 0.524 GB, free: 15.48 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.887e-05/0.4202, allocations: 2.188 kB / 0.524 GB, free: 15.48 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.347e-05/0.4202, allocations: 12.36 kB / 0.524 GB, free: 15.47 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.045e-05/0.4203, allocations: 8.344 kB / 0.524 GB, free: 15.46 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.929e-06/0.4203, allocations: 2.156 kB / 0.524 GB, free: 15.46 MB / 398.1 MB Notification: Performance of sorting global known variables: time 9.141e-05/0.4204, allocations: 110.9 kB / 0.5241 GB, free: 15.38 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.4204, allocations: 0 / 0.5241 GB, free: 15.38 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002484/0.4207, allocations: 15.56 kB / 0.5241 GB, free: 15.38 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.000993/0.4217, allocations: 409.7 kB / 0.5245 GB, free: 15.18 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002131/0.4219, allocations: 49.89 kB / 0.5246 GB, free: 15.17 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.334e-06/0.4219, allocations: 0 / 0.5246 GB, free: 15.17 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 7.837e-05/0.422, allocations: 22.73 kB / 0.5246 GB, free: 15.16 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003666/0.4224, allocations: 27.17 kB / 0.5246 GB, free: 15.15 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003936/0.4228, allocations: 166 kB / 0.5248 GB, free: 15.01 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002864/0.4231, allocations: 0.6975 MB / 0.5255 GB, free: 14.31 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 4.365e-05/0.4231, allocations: 5.891 kB / 0.5255 GB, free: 14.31 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.095e-05/0.4232, allocations: 15.75 kB / 0.5255 GB, free: 14.3 MB / 398.1 MB Notification: Performance of SimCode: time 2.11e-07/0.4232, allocations: 1.062 kB / 0.5255 GB, free: 14.3 MB / 398.1 MB Notification: Performance of Templates: time 0.004314/0.4275, allocations: 1.094 MB / 0.5266 GB, free: 14.16 MB / 398.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test1.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test1.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test1.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test1.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test1.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test1.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test1_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test1/Test1.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches