Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test33.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.Test33,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.Test33") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test33,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.Test33") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001253/0.001254, allocations: 113.3 kB / 18.45 MB, free: 4.602 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.001019/0.001019, allocations: 185.1 kB / 19.38 MB, free: 3.68 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.235/1.235, allocations: 222.9 MB / 243.1 MB, free: 15.05 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.1764/0.1764, allocations: 44.19 MB / 337.4 MB, free: 2.645 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001132/0.001132, allocations: 63.91 kB / 471.2 MB, free: 13.13 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2872/0.2883, allocations: 60.82 MB / 0.5196 GB, free: 3.867 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test33): time 0.002482/0.2909, allocations: 1.564 MB / 0.5211 GB, free: 2.785 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001163/0.2921, allocations: 1.011 MB / 0.5221 GB, free: 2.07 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.78e-05/0.2921, allocations: 9 kB / 0.5221 GB, free: 2.062 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002034/0.2923, allocations: 20.17 kB / 0.5221 GB, free: 2.051 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001707/0.2925, allocations: 40.81 kB / 0.5222 GB, free: 2.027 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002214/0.2927, allocations: 89.53 kB / 0.5222 GB, free: 1.98 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001256/0.2929, allocations: 59.25 kB / 0.5223 GB, free: 1.953 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.078e-05/0.293, allocations: 11.16 kB / 0.5223 GB, free: 1.949 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.367e-05/0.293, allocations: 20.2 kB / 0.5223 GB, free: 1.941 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003619/0.2934, allocations: 36.28 kB / 0.5224 GB, free: 1.918 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.745e-05/0.2934, allocations: 3.406 kB / 0.5224 GB, free: 1.918 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.745e-05/0.2935, allocations: 46.09 kB / 0.5224 GB, free: 1.906 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 3.92e-05/0.2936, allocations: 16.27 kB / 0.5224 GB, free: 1.895 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 2.985e-05/0.2936, allocations: 21.75 kB / 0.5224 GB, free: 1.879 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001636/0.2938, allocations: 86.28 kB / 0.5225 GB, free: 1.844 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.676e-06/0.2938, allocations: 0 / 0.5225 GB, free: 1.844 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.223e-06/0.2938, allocations: 1.094 kB / 0.5225 GB, free: 1.844 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.408e-06/0.2938, allocations: 0 / 0.5225 GB, free: 1.844 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.0003459/0.2941, allocations: 380.8 kB / 0.5229 GB, free: 1.457 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.231e-05/0.2942, allocations: 8.75 kB / 0.5229 GB, free: 1.457 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.55e-05/0.2942, allocations: 12.44 kB / 0.5229 GB, free: 1.449 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001326/0.2944, allocations: 189.5 kB / 0.5231 GB, free: 1.238 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.903e-06/0.2944, allocations: 6.422 kB / 0.5231 GB, free: 1.234 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.074e-05/0.2944, allocations: 1.656 kB / 0.5231 GB, free: 1.234 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001285/0.2945, allocations: 61.5 kB / 0.5232 GB, free: 1.18 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.163e-05/0.2946, allocations: 5.672 kB / 0.5232 GB, free: 1.176 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.01e-05/0.2946, allocations: 4 kB / 0.5232 GB, free: 1.172 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.268e-06/0.2946, allocations: 1.156 kB / 0.5232 GB, free: 1.172 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.601e-05/0.2947, allocations: 25.64 kB / 0.5232 GB, free: 1.164 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002641/0.2949, allocations: 273.2 kB / 0.5235 GB, free: 0.8789 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001712/0.2951, allocations: 43.23 kB / 0.5235 GB, free: 0.8477 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.499e-05/0.2952, allocations: 13.95 kB / 0.5235 GB, free: 0.8398 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.742e-05/0.2952, allocations: 1.828 kB / 0.5235 GB, free: 0.8398 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.399e-05/0.2952, allocations: 40.58 kB / 0.5236 GB, free: 0.793 MB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 9.92e-07/0.2952, allocations: 0 / 0.5236 GB, free: 0.793 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.0004886/0.2957, allocations: 138.9 kB / 0.5237 GB, free: 0.7266 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.466e-05/0.2958, allocations: 81.8 kB / 0.5238 GB, free: 0.6289 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.837e-05/0.2959, allocations: 135.2 kB / 0.5239 GB, free: 0.5195 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 7.875e-06/0.2959, allocations: 25.7 kB / 0.5239 GB, free: 500 kB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.688e-05/0.2959, allocations: 93.06 kB / 0.524 GB, free: 408 kB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.73e-05/0.2959, allocations: 19.91 kB / 0.524 GB, free: 392 kB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.872e-05/0.296, allocations: 18.83 kB / 0.524 GB, free: 372 kB / 382.1 MB Notification: Performance of setup shared object (initialization): time 4.126e-05/0.296, allocations: 318.8 kB / 0.5243 GB, free: 48 kB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.318e-05/0.2961, allocations: 18.45 kB / 0.5244 GB, free: 44 kB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.298e-05/0.2961, allocations: 30.98 kB / 0.5244 GB, free: 24 kB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001128/0.2963, allocations: 51.17 kB / 0.5244 GB, free: 0 / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.11e-07/0.2963, allocations: 0 / 0.5244 GB, free: 0 / 382.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002018/0.2965, allocations: 81.44 kB / 0.5245 GB, free: 15.95 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.262e-05/0.2965, allocations: 7.719 kB / 0.5245 GB, free: 15.95 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.339e-06/0.2965, allocations: 0.7031 kB / 0.5245 GB, free: 15.95 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.396e-05/0.2965, allocations: 1.125 kB / 0.5245 GB, free: 15.95 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.749e-05/0.2966, allocations: 11.75 kB / 0.5245 GB, free: 15.95 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.298e-06/0.2966, allocations: 0.9375 kB / 0.5245 GB, free: 15.95 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.1e-05/0.2966, allocations: 9.531 kB / 0.5246 GB, free: 15.95 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.514e-06/0.2967, allocations: 9 kB / 0.5246 GB, free: 15.94 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 6.973e-05/0.2967, allocations: 115.6 kB / 0.5247 GB, free: 15.82 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.309e-05/0.2968, allocations: 11 kB / 0.5247 GB, free: 15.81 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002214/0.297, allocations: 91.64 kB / 0.5248 GB, free: 15.75 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.084e-06/0.297, allocations: 1.375 kB / 0.5248 GB, free: 15.75 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.659e-06/0.297, allocations: 1.719 kB / 0.5248 GB, free: 15.75 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.745e-06/0.297, allocations: 4 kB / 0.5248 GB, free: 15.75 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003738/0.2974, allocations: 346.5 kB / 0.5251 GB, free: 15.42 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.853e-06/0.2974, allocations: 1.375 kB / 0.5251 GB, free: 15.42 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.148e-05/0.2975, allocations: 11.44 kB / 0.5251 GB, free: 15.42 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.414e-06/0.2975, allocations: 0.6094 kB / 0.5251 GB, free: 15.42 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.282e-06/0.2975, allocations: 1.281 kB / 0.5251 GB, free: 15.42 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.971e-06/0.2975, allocations: 8.438 kB / 0.5251 GB, free: 15.41 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.2975, allocations: 5.219 kB / 0.5251 GB, free: 15.41 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001982/0.2977, allocations: 177.3 kB / 0.5253 GB, free: 15.26 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.143e-05/0.2978, allocations: 78.77 kB / 0.5254 GB, free: 15.16 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.794e-05/0.2978, allocations: 5.688 kB / 0.5254 GB, free: 15.16 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.73e-05/0.2979, allocations: 8.891 kB / 0.5254 GB, free: 15.16 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.486e-05/0.2979, allocations: 7.859 kB / 0.5254 GB, free: 15.15 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.679e-06/0.2979, allocations: 1.797 kB / 0.5254 GB, free: 15.15 MB / 398.1 MB Notification: Performance of sorting global known variables: time 7.089e-05/0.298, allocations: 107.5 kB / 0.5255 GB, free: 15.07 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.298, allocations: 0 / 0.5255 GB, free: 15.07 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.000256/0.2982, allocations: 20.58 kB / 0.5255 GB, free: 15.06 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.0008929/0.2991, allocations: 449.9 kB / 0.526 GB, free: 14.86 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0001813/0.2993, allocations: 49.59 kB / 0.526 GB, free: 14.84 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.2993, allocations: 0 / 0.526 GB, free: 14.84 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 6.835e-05/0.2994, allocations: 23.98 kB / 0.526 GB, free: 14.84 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002912/0.2997, allocations: 15.02 kB / 0.526 GB, free: 14.84 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003061/0.3, allocations: 180.1 kB / 0.5262 GB, free: 14.67 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002034/0.3002, allocations: 0.6974 MB / 0.5269 GB, free: 13.96 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.251e-05/0.3003, allocations: 15.55 kB / 0.5269 GB, free: 13.96 MB / 398.1 MB Notification: Performance of SimCode: time 2.5e-07/0.3003, allocations: 0 / 0.5269 GB, free: 13.96 MB / 398.1 MB Notification: Performance of Templates: time 0.003095/0.3034, allocations: 1.563 MB / 0.5284 GB, free: 13.52 MB / 398.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test33.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test33.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test33.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test33.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test33.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test33 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test33.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test33_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test33/Test33.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test33.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches