Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test11.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.Test11,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.Test11") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test11,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.Test11") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001142/0.001142, allocations: 116.6 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.001153/0.001153, allocations: 183.8 kB / 18.72 MB, free: 4.336 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.362/1.362, allocations: 222.9 MB / 242.4 MB, free: 15.04 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.2025/0.2025, allocations: 44.18 MB / 336.7 MB, free: 2.672 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001267/0.001267, allocations: 63.89 kB / 470.6 MB, free: 13.15 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3857/0.3869, allocations: 60.83 MB / 0.5189 GB, free: 3.602 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test11): time 0.00296/0.3899, allocations: 1.553 MB / 0.5205 GB, free: 2.531 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007423/0.3907, allocations: 406 kB / 0.5208 GB, free: 2.266 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.64e-05/0.3907, allocations: 1.875 kB / 0.5208 GB, free: 2.266 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002376/0.3909, allocations: 24.62 kB / 0.5209 GB, free: 2.254 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002003/0.3911, allocations: 41.22 kB / 0.5209 GB, free: 2.23 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002694/0.3914, allocations: 83.39 kB / 0.521 GB, free: 2.188 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001527/0.3916, allocations: 55.59 kB / 0.521 GB, free: 2.164 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001133/0.3917, allocations: 14.58 kB / 0.521 GB, free: 2.156 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.574e-05/0.3917, allocations: 22.69 kB / 0.5211 GB, free: 2.145 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.241e-05/0.3918, allocations: 19.11 kB / 0.5211 GB, free: 2.133 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.85e-05/0.3918, allocations: 3.688 kB / 0.5211 GB, free: 2.133 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.232e-05/0.3919, allocations: 29.16 kB / 0.5211 GB, free: 2.125 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.667e-05/0.3919, allocations: 19.5 kB / 0.5211 GB, free: 2.113 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.848e-05/0.392, allocations: 24.5 kB / 0.5212 GB, free: 2.094 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001976/0.3922, allocations: 80.92 kB / 0.5212 GB, free: 2.062 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.009e-06/0.3922, allocations: 0 / 0.5212 GB, free: 2.062 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.813e-06/0.3922, allocations: 1.25 kB / 0.5212 GB, free: 2.062 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.013e-06/0.3922, allocations: 0 / 0.5212 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.0004256/0.3926, allocations: 391.2 kB / 0.5216 GB, free: 1.668 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.114e-05/0.3927, allocations: 8.875 kB / 0.5216 GB, free: 1.668 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.072e-05/0.3927, allocations: 12.25 kB / 0.5216 GB, free: 1.66 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001505/0.3929, allocations: 192 kB / 0.5218 GB, free: 1.449 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.779e-06/0.3929, allocations: 1.531 kB / 0.5218 GB, free: 1.449 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.018e-05/0.3929, allocations: 1.531 kB / 0.5218 GB, free: 1.449 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000138/0.393, allocations: 50.14 kB / 0.5219 GB, free: 1.41 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.27e-05/0.393, allocations: 7.875 kB / 0.5219 GB, free: 1.402 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.043e-05/0.3931, allocations: 4.516 kB / 0.5219 GB, free: 1.398 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.019e-06/0.3931, allocations: 5.125 kB / 0.5219 GB, free: 1.395 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001014/0.3932, allocations: 25.95 kB / 0.5219 GB, free: 1.387 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003081/0.3935, allocations: 275.7 kB / 0.5222 GB, free: 1.102 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002132/0.3937, allocations: 42.27 kB / 0.5222 GB, free: 1.07 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.899e-05/0.3937, allocations: 13.94 kB / 0.5222 GB, free: 1.062 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.412e-05/0.3938, allocations: 5.188 kB / 0.5222 GB, free: 1.059 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.954e-05/0.3938, allocations: 35.22 kB / 0.5223 GB, free: 1.016 MB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 1.042e-06/0.3938, allocations: 1.156 kB / 0.5223 GB, free: 1.016 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005518/0.3943, allocations: 135.3 kB / 0.5224 GB, free: 0.9531 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.759e-05/0.3944, allocations: 52.56 kB / 0.5224 GB, free: 0.8906 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001511/0.3945, allocations: 165.8 kB / 0.5226 GB, free: 0.7734 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 8.887e-06/0.3945, allocations: 28 kB / 0.5226 GB, free: 0.7422 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.886e-05/0.3946, allocations: 104.7 kB / 0.5227 GB, free: 0.6406 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.959e-05/0.3946, allocations: 12.09 kB / 0.5227 GB, free: 0.6328 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.218e-05/0.3946, allocations: 18.44 kB / 0.5228 GB, free: 0.6133 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 5.615e-05/0.3947, allocations: 324.1 kB / 0.5231 GB, free: 300 kB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.973e-05/0.3947, allocations: 18.69 kB / 0.5231 GB, free: 296 kB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.147e-05/0.3948, allocations: 19.22 kB / 0.5231 GB, free: 292 kB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001296/0.3949, allocations: 46.92 kB / 0.5231 GB, free: 272 kB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.71e-07/0.3949, allocations: 0 / 0.5231 GB, free: 272 kB / 382.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001703/0.3951, allocations: 81.11 kB / 0.5232 GB, free: 224 kB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.538e-05/0.3951, allocations: 5.562 kB / 0.5232 GB, free: 224 kB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.709e-06/0.3951, allocations: 0 / 0.5232 GB, free: 224 kB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.921e-05/0.3951, allocations: 2.188 kB / 0.5232 GB, free: 224 kB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.152e-05/0.3952, allocations: 15.7 kB / 0.5232 GB, free: 220 kB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.543e-06/0.3952, allocations: 5.594 kB / 0.5233 GB, free: 216 kB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.754e-05/0.3952, allocations: 7.328 kB / 0.5233 GB, free: 212 kB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.823e-06/0.3952, allocations: 2.312 kB / 0.5233 GB, free: 212 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.23e-05/0.3953, allocations: 122.6 kB / 0.5234 GB, free: 88 kB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.016e-05/0.3953, allocations: 7.578 kB / 0.5234 GB, free: 84 kB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002286/0.3956, allocations: 94.31 kB / 0.5235 GB, free: 20 kB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.607e-06/0.3956, allocations: 5.438 kB / 0.5235 GB, free: 16 kB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.789e-06/0.3956, allocations: 0 / 0.5235 GB, free: 16 kB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.971e-06/0.3956, allocations: 2.375 kB / 0.5235 GB, free: 16 kB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000445/0.396, allocations: 355.5 kB / 0.5238 GB, free: 15.68 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.503e-06/0.396, allocations: 0 / 0.5238 GB, free: 15.68 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.767e-05/0.3961, allocations: 15.73 kB / 0.5238 GB, free: 15.68 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.883e-06/0.3961, allocations: 1.062 kB / 0.5238 GB, free: 15.68 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.228e-05/0.3961, allocations: 4.797 kB / 0.5238 GB, free: 15.67 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.96e-06/0.3961, allocations: 9.672 kB / 0.5239 GB, free: 15.66 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.3961, allocations: 3.938 kB / 0.5239 GB, free: 15.66 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000223/0.3963, allocations: 173.6 kB / 0.524 GB, free: 15.52 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.303e-05/0.3964, allocations: 82.97 kB / 0.5241 GB, free: 15.42 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.884e-05/0.3964, allocations: 5.922 kB / 0.5241 GB, free: 15.41 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.827e-05/0.3965, allocations: 8.078 kB / 0.5241 GB, free: 15.41 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.641e-05/0.3965, allocations: 8.062 kB / 0.5241 GB, free: 15.41 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.941e-06/0.3965, allocations: 3.047 kB / 0.5241 GB, free: 15.41 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001063/0.3966, allocations: 128 kB / 0.5242 GB, free: 15.32 MB / 398.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3966, allocations: 1.156 kB / 0.5242 GB, free: 15.32 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002532/0.3969, allocations: 18.05 kB / 0.5243 GB, free: 15.31 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.000945/0.3978, allocations: 401.2 kB / 0.5246 GB, free: 15.12 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002507/0.3981, allocations: 47.14 kB / 0.5247 GB, free: 15.11 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.3981, allocations: 5.219 kB / 0.5247 GB, free: 15.11 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 8.262e-05/0.3981, allocations: 23 kB / 0.5247 GB, free: 15.1 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003758/0.3985, allocations: 14.12 kB / 0.5247 GB, free: 15.1 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004959/0.399, allocations: 186.9 kB / 0.5249 GB, free: 14.95 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003058/0.3993, allocations: 0.701 MB / 0.5256 GB, free: 14.25 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 4.797e-05/0.3994, allocations: 9.766 kB / 0.5256 GB, free: 14.24 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.067e-05/0.3994, allocations: 13.17 kB / 0.5256 GB, free: 14.23 MB / 398.1 MB Notification: Performance of SimCode: time 3.1e-07/0.3994, allocations: 0 / 0.5256 GB, free: 14.23 MB / 398.1 MB Notification: Performance of Templates: time 0.004127/0.4035, allocations: 1.113 MB / 0.5267 GB, free: 14.08 MB / 398.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test11.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test11.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test11.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test11.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test11.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test11 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test11.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test11_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test11/Test11.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test11.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches