Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test8.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.Test8,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.Test8") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test8,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.Test8") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001042/0.001047, allocations: 107.7 kB / 18.44 MB, free: 4.645 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.0009612/0.0009613, allocations: 184.1 kB / 19.38 MB, free: 3.723 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.206/1.206, 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.1848/0.1848, allocations: 44.18 MB / 337.4 MB, free: 2.668 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001163/0.001163, allocations: 55.91 kB / 471.2 MB, free: 13.16 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3019/0.3031, allocations: 60.83 MB / 0.5196 GB, free: 3.617 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test8): time 0.002444/0.3056, allocations: 1.562 MB / 0.5211 GB, free: 2.535 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006178/0.3062, allocations: 404.9 kB / 0.5215 GB, free: 2.27 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.515e-05/0.3063, allocations: 1.188 kB / 0.5215 GB, free: 2.27 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001809/0.3065, allocations: 22.25 kB / 0.5215 GB, free: 2.258 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001653/0.3067, allocations: 39.27 kB / 0.5215 GB, free: 2.234 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002209/0.3069, allocations: 85 kB / 0.5216 GB, free: 2.191 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001231/0.307, allocations: 53.41 kB / 0.5217 GB, free: 2.168 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.267e-05/0.3071, allocations: 20.33 kB / 0.5217 GB, free: 2.156 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.17e-05/0.3072, allocations: 18.77 kB / 0.5217 GB, free: 2.148 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.34e-05/0.3072, allocations: 20.44 kB / 0.5217 GB, free: 2.137 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.635e-05/0.3073, allocations: 2.531 kB / 0.5217 GB, free: 2.137 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.221e-05/0.3073, allocations: 29.44 kB / 0.5218 GB, free: 2.129 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 4.821e-05/0.3074, allocations: 19.25 kB / 0.5218 GB, free: 2.117 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 3.156e-05/0.3074, allocations: 20.2 kB / 0.5218 GB, free: 2.102 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001492/0.3076, allocations: 74.19 kB / 0.5219 GB, free: 2.07 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.39e-06/0.3076, allocations: 5.094 kB / 0.5219 GB, free: 2.066 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.472e-06/0.3076, allocations: 7.938 kB / 0.5219 GB, free: 2.059 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.44e-06/0.3076, allocations: 0 / 0.5219 GB, free: 2.059 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.0003499/0.308, allocations: 377.5 kB / 0.5222 GB, free: 1.68 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.375e-05/0.308, allocations: 8.938 kB / 0.5223 GB, free: 1.68 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.53e-05/0.308, allocations: 5.156 kB / 0.5223 GB, free: 1.68 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001222/0.3082, allocations: 196.9 kB / 0.5225 GB, free: 1.465 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.016e-05/0.3082, allocations: 1.906 kB / 0.5225 GB, free: 1.465 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.785e-05/0.3082, allocations: 1.781 kB / 0.5225 GB, free: 1.465 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001205/0.3083, allocations: 53.27 kB / 0.5225 GB, free: 1.422 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.203e-05/0.3083, allocations: 0.6094 kB / 0.5225 GB, free: 1.422 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.456e-06/0.3084, allocations: 0 / 0.5225 GB, free: 1.422 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.369e-06/0.3084, allocations: 5.031 kB / 0.5225 GB, free: 1.418 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.05e-05/0.3085, allocations: 25.69 kB / 0.5225 GB, free: 1.41 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002661/0.3087, allocations: 271.3 kB / 0.5228 GB, free: 1.129 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001778/0.3089, allocations: 47.7 kB / 0.5228 GB, free: 1.094 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.433e-05/0.309, allocations: 12.64 kB / 0.5229 GB, free: 1.086 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.05e-05/0.309, allocations: 5.891 kB / 0.5229 GB, free: 1.082 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.188e-05/0.309, allocations: 31.69 kB / 0.5229 GB, free: 1.043 MB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 1.083e-06/0.309, allocations: 0 / 0.5229 GB, free: 1.043 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.0004781/0.3095, allocations: 144.3 kB / 0.523 GB, free: 0.9727 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.246e-05/0.3096, allocations: 59.34 kB / 0.5231 GB, free: 0.9023 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001126/0.3097, allocations: 150.8 kB / 0.5232 GB, free: 0.793 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 7.163e-06/0.3097, allocations: 25.7 kB / 0.5232 GB, free: 0.7617 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.301e-05/0.3097, allocations: 100.9 kB / 0.5233 GB, free: 0.6641 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.835e-05/0.3098, allocations: 16.23 kB / 0.5234 GB, free: 0.6523 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.831e-05/0.3098, allocations: 17.78 kB / 0.5234 GB, free: 0.6328 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 4.436e-05/0.3098, allocations: 324.7 kB / 0.5237 GB, free: 320 kB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.575e-05/0.3099, allocations: 19.14 kB / 0.5237 GB, free: 316 kB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.558e-05/0.31, allocations: 17.69 kB / 0.5237 GB, free: 312 kB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001177/0.3101, allocations: 47.31 kB / 0.5238 GB, free: 292 kB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.82e-07/0.3101, allocations: 0 / 0.5238 GB, free: 292 kB / 382.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001644/0.3103, allocations: 80.5 kB / 0.5238 GB, free: 244 kB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.254e-05/0.3103, allocations: 5.156 kB / 0.5238 GB, free: 244 kB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.747e-06/0.3103, allocations: 5.156 kB / 0.5239 GB, free: 240 kB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.401e-05/0.3103, allocations: 0.6562 kB / 0.5239 GB, free: 240 kB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.713e-05/0.3104, allocations: 12.28 kB / 0.5239 GB, free: 240 kB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.951e-06/0.3104, allocations: 1.125 kB / 0.5239 GB, free: 240 kB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.625e-05/0.3104, allocations: 4.219 kB / 0.5239 GB, free: 240 kB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.032e-06/0.3104, allocations: 6.219 kB / 0.5239 GB, free: 236 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 5.261e-05/0.3105, allocations: 116 kB / 0.524 GB, free: 116 kB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.063e-05/0.3105, allocations: 8.656 kB / 0.524 GB, free: 112 kB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001987/0.3107, allocations: 97.7 kB / 0.5241 GB, free: 44 kB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.803e-06/0.3107, allocations: 288 / 0.5241 GB, free: 44 kB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.939e-06/0.3108, allocations: 1.938 kB / 0.5241 GB, free: 44 kB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.326e-06/0.3108, allocations: 3.984 kB / 0.5241 GB, free: 40 kB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003891/0.3112, allocations: 346.7 kB / 0.5244 GB, free: 15.71 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.973e-06/0.3112, allocations: 1.531 kB / 0.5244 GB, free: 15.71 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.414e-05/0.3112, allocations: 16.06 kB / 0.5244 GB, free: 15.71 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.316e-06/0.3112, allocations: 4 kB / 0.5244 GB, free: 15.7 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.664e-06/0.3113, allocations: 5.031 kB / 0.5245 GB, free: 15.7 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.086e-06/0.3113, allocations: 4.641 kB / 0.5245 GB, free: 15.7 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.21e-07/0.3113, allocations: 1.125 kB / 0.5245 GB, free: 15.7 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002006/0.3115, allocations: 173.2 kB / 0.5246 GB, free: 15.55 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.306e-05/0.3115, allocations: 86.69 kB / 0.5247 GB, free: 15.45 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.708e-05/0.3115, allocations: 1.594 kB / 0.5247 GB, free: 15.45 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.692e-05/0.3116, allocations: 17.23 kB / 0.5247 GB, free: 15.44 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.622e-05/0.3117, allocations: 3.469 kB / 0.5247 GB, free: 15.44 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.798e-06/0.3117, allocations: 5.734 kB / 0.5247 GB, free: 15.43 MB / 398.1 MB Notification: Performance of sorting global known variables: time 8.566e-05/0.3118, allocations: 118.4 kB / 0.5248 GB, free: 15.35 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3118, allocations: 0 / 0.5248 GB, free: 15.35 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002327/0.312, allocations: 15.66 kB / 0.5249 GB, free: 15.35 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.0008479/0.3129, allocations: 392.8 kB / 0.5252 GB, free: 15.16 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0001853/0.313, allocations: 52.47 kB / 0.5253 GB, free: 15.15 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.733e-06/0.3131, allocations: 0 / 0.5253 GB, free: 15.15 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 6.894e-05/0.3131, allocations: 25.14 kB / 0.5253 GB, free: 15.14 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003058/0.3134, allocations: 32.47 kB / 0.5253 GB, free: 15.13 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003553/0.3138, allocations: 203.7 kB / 0.5255 GB, free: 14.96 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000218/0.314, allocations: 0.6986 MB / 0.5262 GB, free: 14.25 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.13e-05/0.3141, allocations: 17.28 kB / 0.5262 GB, free: 14.25 MB / 398.1 MB Notification: Performance of SimCode: time 2.3e-07/0.3141, allocations: 0 / 0.5262 GB, free: 14.25 MB / 398.1 MB Notification: Performance of Templates: time 0.003049/0.3171, allocations: 1.391 MB / 0.5276 GB, free: 13.96 MB / 398.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test8.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test8.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test8.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test8.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test8.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test8 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test8.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test8_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test8/Test8.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test8.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches