Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test18.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.Test18,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|clock.y|d_t_new2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test18") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test18,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|clock.y|d_t_new2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test18") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001362/0.001362, allocations: 109.3 kB / 18.45 MB, free: 4.613 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.001453/0.001453, allocations: 185.1 kB / 19.38 MB, free: 3.691 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.257/1.257, allocations: 222.9 MB / 243.1 MB, free: 15.06 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.1857/0.1857, allocations: 44.18 MB / 337.4 MB, free: 2.66 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001187/0.001187, allocations: 63.89 kB / 471.2 MB, free: 13.15 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2959/0.2971, allocations: 60.82 MB / 0.5196 GB, free: 3.621 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test18): time 0.002597/0.2998, allocations: 1.589 MB / 0.5211 GB, free: 2.523 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001199/0.301, allocations: 1.028 MB / 0.5221 GB, free: 1.793 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.923e-05/0.3011, allocations: 1.094 kB / 0.5221 GB, free: 1.793 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000212/0.3013, allocations: 24.14 kB / 0.5222 GB, free: 1.777 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001696/0.3015, allocations: 42.56 kB / 0.5222 GB, free: 1.754 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002331/0.3017, allocations: 92.53 kB / 0.5223 GB, free: 1.703 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001371/0.3019, allocations: 61.59 kB / 0.5223 GB, free: 1.68 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.786e-05/0.302, allocations: 17.81 kB / 0.5224 GB, free: 1.672 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.629e-05/0.302, allocations: 33.09 kB / 0.5224 GB, free: 1.652 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006399/0.3027, allocations: 26.88 kB / 0.5224 GB, free: 1.641 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.857e-05/0.3027, allocations: 4.594 kB / 0.5224 GB, free: 1.641 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001129/0.3028, allocations: 58.11 kB / 0.5225 GB, free: 1.617 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 4.269e-05/0.3029, allocations: 10.88 kB / 0.5225 GB, free: 1.613 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 3.481e-05/0.3029, allocations: 26.48 kB / 0.5225 GB, free: 1.594 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001891/0.3031, allocations: 96.16 kB / 0.5226 GB, free: 1.555 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.118e-06/0.3031, allocations: 0 / 0.5226 GB, free: 1.555 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.462e-06/0.3031, allocations: 0 / 0.5226 GB, free: 1.555 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.591e-06/0.3031, allocations: 0 / 0.5226 GB, free: 1.555 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.000364/0.3035, allocations: 388.3 kB / 0.523 GB, free: 1.168 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.48e-05/0.3035, allocations: 9.625 kB / 0.523 GB, free: 1.168 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.936e-05/0.3036, allocations: 13.06 kB / 0.523 GB, free: 1.16 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001403/0.3037, allocations: 196.8 kB / 0.5232 GB, free: 0.9453 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.751e-06/0.3037, allocations: 384 / 0.5232 GB, free: 0.9453 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.305e-05/0.3038, allocations: 4.594 kB / 0.5232 GB, free: 0.9453 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001531/0.3039, allocations: 76.27 kB / 0.5233 GB, free: 0.8828 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.257e-05/0.3039, allocations: 9 kB / 0.5233 GB, free: 0.875 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.021e-05/0.304, allocations: 0 / 0.5233 GB, free: 0.875 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.118e-06/0.304, allocations: 1.125 kB / 0.5233 GB, free: 0.875 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.931e-05/0.3041, allocations: 34.25 kB / 0.5233 GB, free: 0.8672 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002891/0.3044, allocations: 293.2 kB / 0.5236 GB, free: 0.5742 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.917e-05/0.3045, allocations: 51.61 kB / 0.5236 GB, free: 0.5391 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.556e-05/0.3045, allocations: 20.27 kB / 0.5237 GB, free: 0.5273 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2e-05/0.3046, allocations: 2.094 kB / 0.5237 GB, free: 0.5273 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.637e-05/0.3046, allocations: 36.83 kB / 0.5237 GB, free: 496 kB / 382.1 MB Notification: Performance of pre-optimization done (n=5): time 1.242e-06/0.3046, allocations: 0 / 0.5237 GB, free: 496 kB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005734/0.3052, allocations: 177.6 kB / 0.5239 GB, free: 412 kB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.769e-05/0.3052, allocations: 79.78 kB / 0.5239 GB, free: 316 kB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001071/0.3053, allocations: 138.9 kB / 0.5241 GB, free: 200 kB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 8.826e-06/0.3053, allocations: 29.7 kB / 0.5241 GB, free: 164 kB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.954e-05/0.3054, allocations: 93.06 kB / 0.5242 GB, free: 72 kB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.115e-05/0.3054, allocations: 32.64 kB / 0.5242 GB, free: 44 kB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.31e-05/0.3054, allocations: 23.09 kB / 0.5242 GB, free: 24 kB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001144/0.3056, allocations: 318.5 kB / 0.5245 GB, free: 15.71 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.379e-05/0.3056, allocations: 22.38 kB / 0.5246 GB, free: 15.7 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.256e-05/0.3057, allocations: 40.83 kB / 0.5246 GB, free: 15.68 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001466/0.3059, allocations: 67 kB / 0.5247 GB, free: 15.65 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.32e-07/0.3059, allocations: 1.094 kB / 0.5247 GB, free: 15.65 MB / 398.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002043/0.3061, allocations: 96.7 kB / 0.5248 GB, free: 15.6 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.405e-05/0.3061, allocations: 4.531 kB / 0.5248 GB, free: 15.6 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.328e-06/0.3061, allocations: 0.6562 kB / 0.5248 GB, free: 15.6 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.599e-05/0.3062, allocations: 1.125 kB / 0.5248 GB, free: 15.6 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001032/0.3063, allocations: 20.41 kB / 0.5248 GB, free: 15.59 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.781e-06/0.3063, allocations: 5.984 kB / 0.5248 GB, free: 15.59 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.443e-05/0.3063, allocations: 8.484 kB / 0.5248 GB, free: 15.59 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.574e-06/0.3063, allocations: 2.656 kB / 0.5248 GB, free: 15.59 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 (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 8.165e-05/0.3064, allocations: 121 kB / 0.5249 GB, free: 15.46 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.687e-05/0.3065, allocations: 11.55 kB / 0.5249 GB, free: 15.46 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002617/0.3067, allocations: 116.6 kB / 0.525 GB, free: 15.39 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.707e-06/0.3068, allocations: 1.625 kB / 0.525 GB, free: 15.39 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.007e-06/0.3068, allocations: 4 kB / 0.525 GB, free: 15.39 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.861e-06/0.3068, allocations: 4.594 kB / 0.525 GB, free: 15.38 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004334/0.3072, allocations: 383.9 kB / 0.5254 GB, free: 15.04 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.503e-06/0.3072, allocations: 0 / 0.5254 GB, free: 15.04 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.496e-05/0.3073, allocations: 17.92 kB / 0.5254 GB, free: 15.04 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.08e-06/0.3073, allocations: 3.938 kB / 0.5254 GB, free: 15.04 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.206e-06/0.3073, allocations: 1.906 kB / 0.5254 GB, free: 15.04 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.313e-06/0.3073, allocations: 0 / 0.5254 GB, free: 15.04 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.242e-06/0.3073, allocations: 9.312 kB / 0.5254 GB, free: 15.03 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002306/0.3076, allocations: 194.9 kB / 0.5256 GB, free: 14.88 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.391e-05/0.3076, allocations: 86.73 kB / 0.5257 GB, free: 14.78 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.932e-05/0.3076, allocations: 4.922 kB / 0.5257 GB, free: 14.77 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.95e-05/0.3077, allocations: 4.531 kB / 0.5257 GB, free: 14.77 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.691e-05/0.3078, allocations: 9.422 kB / 0.5257 GB, free: 14.77 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.1e-06/0.3078, allocations: 6.375 kB / 0.5257 GB, free: 14.77 MB / 398.1 MB Notification: Performance of sorting global known variables: time 7.561e-05/0.3078, allocations: 111.2 kB / 0.5258 GB, free: 14.68 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.3079, allocations: 0 / 0.5258 GB, free: 14.68 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002527/0.3081, allocations: 27.44 kB / 0.5259 GB, free: 14.67 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 (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.0009327/0.309, allocations: 448 kB / 0.5263 GB, free: 14.46 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002088/0.3093, allocations: 64.91 kB / 0.5264 GB, free: 14.45 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.863e-06/0.3093, allocations: 1.625 kB / 0.5264 GB, free: 14.45 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 8.279e-05/0.3094, allocations: 33.98 kB / 0.5264 GB, free: 14.44 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000322/0.3097, allocations: 20.19 kB / 0.5264 GB, free: 14.43 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003728/0.3101, allocations: 219.4 kB / 0.5266 GB, free: 14.24 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002079/0.3103, allocations: 0.6995 MB / 0.5273 GB, free: 13.54 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.028e-05/0.3104, allocations: 20.56 kB / 0.5273 GB, free: 13.53 MB / 398.1 MB Notification: Performance of SimCode: time 2.3e-07/0.3104, allocations: 0 / 0.5273 GB, free: 13.53 MB / 398.1 MB Notification: Performance of Templates: time 0.003326/0.3137, allocations: 1.725 MB / 0.529 GB, free: 12.98 MB / 398.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test18.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test18.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test18.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test18.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test18.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test18 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test18.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test18_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test18/Test18.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test18.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches