Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test16.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.Test16,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test16") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test16,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test16") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001106/0.001107, allocations: 106 kB / 17.75 MB, free: 5.32 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.001057/0.001057, allocations: 192.1 kB / 18.68 MB, free: 4.395 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.338/1.338, 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.2097/0.2097, allocations: 44.18 MB / 336.7 MB, free: 2.688 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001148/0.001148, allocations: 55.91 kB / 470.5 MB, free: 13.18 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3861/0.3872, allocations: 60.83 MB / 0.5189 GB, free: 3.621 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test16): time 0.003621/0.3909, allocations: 1.585 MB / 0.5204 GB, free: 2.523 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009345/0.3919, allocations: 405.7 kB / 0.5208 GB, free: 2.258 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.777e-05/0.392, allocations: 1.094 kB / 0.5208 GB, free: 2.258 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003922/0.3924, allocations: 72.09 kB / 0.5209 GB, free: 2.242 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002915/0.3927, allocations: 71.22 kB / 0.521 GB, free: 2.211 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003318/0.393, allocations: 85.41 kB / 0.521 GB, free: 2.168 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002538/0.3933, allocations: 76.92 kB / 0.5211 GB, free: 2.137 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001661/0.3935, allocations: 18.95 kB / 0.5211 GB, free: 2.129 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001006/0.3936, allocations: 29.89 kB / 0.5212 GB, free: 2.121 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002022/0.3938, allocations: 58.7 kB / 0.5212 GB, free: 2.102 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.521e-05/0.3938, allocations: 2.625 kB / 0.5212 GB, free: 2.102 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001486/0.394, allocations: 43.3 kB / 0.5213 GB, free: 2.09 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 8.212e-05/0.394, allocations: 17.91 kB / 0.5213 GB, free: 2.082 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 7.109e-05/0.3941, allocations: 38.62 kB / 0.5213 GB, free: 2.051 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002832/0.3944, allocations: 91.97 kB / 0.5214 GB, free: 2.016 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.965e-06/0.3944, allocations: 0 / 0.5214 GB, free: 2.016 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.666e-06/0.3944, allocations: 0 / 0.5214 GB, free: 2.016 MB / 382.1 MB Notification: Performance of Transformations before backend: time 9.548e-06/0.3944, allocations: 1.25 kB / 0.5214 GB, free: 2.016 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005373/0.395, allocations: 409.2 kB / 0.5218 GB, free: 1.613 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.263e-05/0.395, allocations: 13.81 kB / 0.5218 GB, free: 1.609 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.095e-05/0.3951, allocations: 9.5 kB / 0.5218 GB, free: 1.605 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001807/0.3953, allocations: 193 kB / 0.522 GB, free: 1.395 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.505e-05/0.3953, allocations: 2.562 kB / 0.522 GB, free: 1.395 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.276e-05/0.3953, allocations: 10.56 kB / 0.522 GB, free: 1.387 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001484/0.3955, allocations: 52.19 kB / 0.5221 GB, free: 1.348 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.54e-05/0.3955, allocations: 1.156 kB / 0.5221 GB, free: 1.348 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.185e-05/0.3955, allocations: 4.75 kB / 0.5221 GB, free: 1.344 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.178e-06/0.3955, allocations: 1.062 kB / 0.5221 GB, free: 1.344 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001019/0.3957, allocations: 28.89 kB / 0.5221 GB, free: 1.336 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003408/0.396, allocations: 293.2 kB / 0.5224 GB, free: 1.043 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001054/0.3961, allocations: 46.59 kB / 0.5224 GB, free: 1.008 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.156e-05/0.3962, allocations: 19.52 kB / 0.5224 GB, free: 0.9961 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.155e-05/0.3962, allocations: 1.344 kB / 0.5224 GB, free: 0.9961 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.01e-05/0.3962, allocations: 40.19 kB / 0.5225 GB, free: 0.9492 MB / 382.1 MB Notification: Performance of pre-optimization done (n=4): time 1.092e-06/0.3962, allocations: 0 / 0.5225 GB, free: 0.9492 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0009184/0.3972, allocations: 223.4 kB / 0.5227 GB, free: 0.8594 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.175e-05/0.3972, allocations: 56.56 kB / 0.5227 GB, free: 0.793 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002903/0.3975, allocations: 209.9 kB / 0.5229 GB, free: 0.6562 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.576e-05/0.3975, allocations: 30.86 kB / 0.523 GB, free: 0.6211 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.23e-05/0.3976, allocations: 104 kB / 0.5231 GB, free: 0.5234 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.478e-05/0.3977, allocations: 25.47 kB / 0.5231 GB, free: 0.5039 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.927e-05/0.3977, allocations: 21.27 kB / 0.5231 GB, free: 496 kB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001252/0.3979, allocations: 321.8 kB / 0.5234 GB, free: 172 kB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001048/0.398, allocations: 26.78 kB / 0.5234 GB, free: 164 kB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.705e-05/0.3981, allocations: 30.88 kB / 0.5235 GB, free: 152 kB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001865/0.3983, allocations: 61.84 kB / 0.5235 GB, free: 124 kB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.343e-06/0.3983, allocations: 1.125 kB / 0.5235 GB, free: 124 kB / 382.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002897/0.3986, allocations: 100.5 kB / 0.5236 GB, free: 68 kB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.372e-05/0.3986, allocations: 7.125 kB / 0.5236 GB, free: 68 kB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.372e-06/0.3986, allocations: 0 / 0.5236 GB, free: 68 kB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.786e-05/0.3986, allocations: 4 kB / 0.5236 GB, free: 64 kB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001088/0.3988, allocations: 22.09 kB / 0.5237 GB, free: 60 kB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.526e-06/0.3988, allocations: 3.938 kB / 0.5237 GB, free: 56 kB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.956e-05/0.3988, allocations: 4.359 kB / 0.5237 GB, free: 56 kB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.206e-05/0.3989, allocations: 3.578 kB / 0.5237 GB, free: 56 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 (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 prepare postOptimizeDAE: time 0.0002344/0.3991, allocations: 126.2 kB / 0.5238 GB, free: 15.93 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.818e-05/0.3991, allocations: 9.047 kB / 0.5238 GB, free: 15.93 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003556/0.3995, allocations: 122.8 kB / 0.5239 GB, free: 15.86 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.42e-06/0.3995, allocations: 1.781 kB / 0.5239 GB, free: 15.86 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.638e-06/0.3995, allocations: 3.938 kB / 0.5239 GB, free: 15.86 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.706e-06/0.3995, allocations: 0.75 kB / 0.5239 GB, free: 15.86 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007819/0.4003, allocations: 407 kB / 0.5243 GB, free: 15.5 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.984e-06/0.4003, allocations: 1.125 kB / 0.5243 GB, free: 15.5 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.96e-05/0.4004, allocations: 21.22 kB / 0.5243 GB, free: 15.5 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.978e-06/0.4004, allocations: 5.156 kB / 0.5243 GB, free: 15.49 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.257e-05/0.4005, allocations: 1.656 kB / 0.5243 GB, free: 15.49 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.075e-06/0.4005, allocations: 1.188 kB / 0.5243 GB, free: 15.49 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.585e-06/0.4005, allocations: 0.5156 kB / 0.5243 GB, free: 15.49 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003209/0.4008, allocations: 203.1 kB / 0.5245 GB, free: 15.33 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.671e-05/0.4009, allocations: 93.39 kB / 0.5246 GB, free: 15.22 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001362/0.401, allocations: 10.59 kB / 0.5246 GB, free: 15.21 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.755e-05/0.4011, allocations: 3.625 kB / 0.5246 GB, free: 15.21 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.781e-05/0.4011, allocations: 6.109 kB / 0.5246 GB, free: 15.21 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.242e-06/0.4011, allocations: 2.453 kB / 0.5246 GB, free: 15.21 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001473/0.4013, allocations: 156.8 kB / 0.5248 GB, free: 15.12 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4013, allocations: 0 / 0.5248 GB, free: 15.12 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002507/0.4016, allocations: 18.86 kB / 0.5248 GB, free: 15.12 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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.001092/0.4027, allocations: 460 kB / 0.5253 GB, free: 14.9 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002552/0.4029, allocations: 73.33 kB / 0.5253 GB, free: 14.88 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 4.268e-06/0.4029, allocations: 4 kB / 0.5253 GB, free: 14.88 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 9.08e-05/0.403, allocations: 35.11 kB / 0.5254 GB, free: 14.87 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003781/0.4034, allocations: 17.89 kB / 0.5254 GB, free: 14.86 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005699/0.404, allocations: 248.4 kB / 0.5256 GB, free: 14.68 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004943/0.4045, allocations: 0.71 MB / 0.5263 GB, free: 13.97 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 6.113e-05/0.4046, allocations: 16.22 kB / 0.5263 GB, free: 13.96 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.471e-05/0.4046, allocations: 13.7 kB / 0.5263 GB, free: 13.96 MB / 398.1 MB Notification: Performance of SimCode: time 2.2e-07/0.4046, allocations: 0 / 0.5263 GB, free: 13.96 MB / 398.1 MB Notification: Performance of Templates: time 0.004634/0.4093, allocations: 1.314 MB / 0.5276 GB, free: 13.6 MB / 398.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test16.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test16.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test16.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test16.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test16.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test16 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test16.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test16_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test16/Test16.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test16.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches