Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test7.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.Test7,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.Test7") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test7,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.Test7") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001087/0.001087, allocations: 112.6 kB / 18.45 MB, free: 4.621 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.000995/0.0009952, allocations: 185.2 kB / 19.38 MB, free: 3.699 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.252/1.252, 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.1907/0.1907, allocations: 44.17 MB / 337.4 MB, free: 2.676 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001202/0.001202, allocations: 63.91 kB / 471.2 MB, free: 13.15 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3235/0.3247, allocations: 60.82 MB / 0.5196 GB, free: 3.617 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test7): time 0.00263/0.3274, allocations: 1.563 MB / 0.5211 GB, free: 2.535 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006534/0.3281, allocations: 400.9 kB / 0.5215 GB, free: 2.273 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.867e-05/0.3281, allocations: 1.094 kB / 0.5215 GB, free: 2.273 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001883/0.3283, allocations: 17.11 kB / 0.5215 GB, free: 2.266 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001888/0.3285, allocations: 44.25 kB / 0.5215 GB, free: 2.238 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002328/0.3288, allocations: 88.8 kB / 0.5216 GB, free: 2.191 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001342/0.3289, allocations: 57.98 kB / 0.5217 GB, free: 2.164 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.709e-05/0.329, allocations: 8.562 kB / 0.5217 GB, free: 2.164 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.231e-05/0.3291, allocations: 18.34 kB / 0.5217 GB, free: 2.156 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.625e-05/0.3291, allocations: 24.41 kB / 0.5217 GB, free: 2.141 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.713e-05/0.3292, allocations: 2.656 kB / 0.5217 GB, free: 2.141 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.13e-05/0.3292, allocations: 29.05 kB / 0.5218 GB, free: 2.133 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 4.792e-05/0.3293, allocations: 14.45 kB / 0.5218 GB, free: 2.125 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.621e-05/0.3293, allocations: 25.34 kB / 0.5218 GB, free: 2.105 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001514/0.3295, allocations: 83.03 kB / 0.5219 GB, free: 2.066 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.316e-06/0.3295, allocations: 3.938 kB / 0.5219 GB, free: 2.062 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.363e-06/0.3295, allocations: 0 / 0.5219 GB, free: 2.062 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.82e-06/0.3295, allocations: 0 / 0.5219 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.000351/0.3299, allocations: 376.5 kB / 0.5222 GB, free: 1.684 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.46e-05/0.3299, allocations: 9.469 kB / 0.5223 GB, free: 1.684 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.665e-05/0.33, allocations: 6.141 kB / 0.5223 GB, free: 1.684 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001404/0.3301, allocations: 190 kB / 0.5224 GB, free: 1.473 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.053e-05/0.3301, allocations: 9.469 kB / 0.5225 GB, free: 1.465 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.808e-05/0.3301, allocations: 2.531 kB / 0.5225 GB, free: 1.465 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001265/0.3303, allocations: 49.05 kB / 0.5225 GB, free: 1.426 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.148e-05/0.3303, allocations: 0 / 0.5225 GB, free: 1.426 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.756e-06/0.3303, allocations: 0.5625 kB / 0.5225 GB, free: 1.426 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.398e-06/0.3303, allocations: 1.188 kB / 0.5225 GB, free: 1.426 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.556e-05/0.3304, allocations: 25.62 kB / 0.5225 GB, free: 1.418 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002734/0.3307, allocations: 274.1 kB / 0.5228 GB, free: 1.133 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001835/0.3309, allocations: 44.2 kB / 0.5228 GB, free: 1.102 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.707e-05/0.3309, allocations: 17.52 kB / 0.5228 GB, free: 1.09 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.753e-05/0.331, allocations: 1.797 kB / 0.5229 GB, free: 1.09 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.702e-05/0.331, allocations: 31.69 kB / 0.5229 GB, free: 1.051 MB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 1.823e-06/0.331, allocations: 0 / 0.5229 GB, free: 1.051 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.0004851/0.3315, allocations: 147 kB / 0.523 GB, free: 0.9766 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.357e-05/0.3315, allocations: 56.66 kB / 0.5231 GB, free: 0.9102 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001159/0.3316, allocations: 151.2 kB / 0.5232 GB, free: 0.8008 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 8.796e-06/0.3316, allocations: 30.67 kB / 0.5232 GB, free: 0.7656 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.258e-05/0.3317, allocations: 101.7 kB / 0.5233 GB, free: 0.668 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.721e-05/0.3317, allocations: 14.61 kB / 0.5234 GB, free: 0.6562 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.019e-05/0.3317, allocations: 23.55 kB / 0.5234 GB, free: 0.6328 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 4.278e-05/0.3318, allocations: 323.7 kB / 0.5237 GB, free: 320 kB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.39e-05/0.3319, allocations: 14 kB / 0.5237 GB, free: 320 kB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.347e-05/0.3319, allocations: 19.45 kB / 0.5237 GB, free: 316 kB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001119/0.332, allocations: 46.48 kB / 0.5238 GB, free: 296 kB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.21e-07/0.332, allocations: 0 / 0.5238 GB, free: 296 kB / 382.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.000157/0.3322, allocations: 85.17 kB / 0.5238 GB, free: 244 kB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.414e-05/0.3322, allocations: 5.125 kB / 0.5239 GB, free: 244 kB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.469e-06/0.3322, allocations: 1.125 kB / 0.5239 GB, free: 244 kB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.229e-05/0.3323, allocations: 0 / 0.5239 GB, free: 244 kB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.778e-05/0.3323, allocations: 13.34 kB / 0.5239 GB, free: 244 kB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.39e-06/0.3323, allocations: 0.7031 kB / 0.5239 GB, free: 244 kB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.729e-05/0.3324, allocations: 5.234 kB / 0.5239 GB, free: 244 kB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.003e-06/0.3324, allocations: 5.859 kB / 0.5239 GB, free: 240 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.316e-05/0.3324, allocations: 124.8 kB / 0.524 GB, free: 112 kB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.89e-05/0.3325, allocations: 7.219 kB / 0.524 GB, free: 108 kB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001982/0.3327, allocations: 97.58 kB / 0.5241 GB, free: 40 kB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.234e-06/0.3327, allocations: 1.438 kB / 0.5241 GB, free: 40 kB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.737e-06/0.3327, allocations: 0 / 0.5241 GB, free: 40 kB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.677e-06/0.3327, allocations: 0.9375 kB / 0.5241 GB, free: 40 kB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004206/0.3331, allocations: 347.6 kB / 0.5244 GB, free: 15.71 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.252e-06/0.3331, allocations: 0 / 0.5244 GB, free: 15.71 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.537e-05/0.3332, allocations: 11.91 kB / 0.5244 GB, free: 15.71 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.566e-06/0.3332, allocations: 8.672 kB / 0.5245 GB, free: 15.7 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.784e-06/0.3332, allocations: 1 kB / 0.5245 GB, free: 15.7 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.306e-06/0.3332, allocations: 4.875 kB / 0.5245 GB, free: 15.7 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/0.3332, allocations: 0.7031 kB / 0.5245 GB, free: 15.7 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002143/0.3335, allocations: 176.9 kB / 0.5246 GB, free: 15.55 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.808e-05/0.3335, allocations: 84.05 kB / 0.5247 GB, free: 15.45 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.452e-05/0.3335, allocations: 4.641 kB / 0.5247 GB, free: 15.45 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.8e-05/0.3336, allocations: 9.062 kB / 0.5247 GB, free: 15.45 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.282e-05/0.3336, allocations: 7.969 kB / 0.5247 GB, free: 15.44 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.268e-06/0.3337, allocations: 1.594 kB / 0.5247 GB, free: 15.44 MB / 398.1 MB Notification: Performance of sorting global known variables: time 8.604e-05/0.3337, allocations: 116 kB / 0.5248 GB, free: 15.36 MB / 398.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3337, allocations: 0 / 0.5248 GB, free: 15.36 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002277/0.334, allocations: 15.83 kB / 0.5249 GB, free: 15.36 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.0008602/0.3348, allocations: 407 kB / 0.5252 GB, free: 15.16 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0001835/0.335, allocations: 48.81 kB / 0.5253 GB, free: 15.15 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.753e-06/0.3351, allocations: 0 / 0.5253 GB, free: 15.15 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 6.897e-05/0.3351, allocations: 23.53 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.0003001/0.3354, allocations: 14.39 kB / 0.5253 GB, free: 15.14 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003724/0.3358, allocations: 209.1 kB / 0.5255 GB, free: 14.96 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002659/0.3361, allocations: 0.6993 MB / 0.5262 GB, free: 14.26 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.933e-05/0.3361, allocations: 12.47 kB / 0.5262 GB, free: 14.25 MB / 398.1 MB Notification: Performance of SimCode: time 2.31e-07/0.3361, allocations: 0 / 0.5262 GB, free: 14.25 MB / 398.1 MB Notification: Performance of Templates: time 0.00305/0.3392, allocations: 1.394 MB / 0.5276 GB, free: 13.97 MB / 398.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test7.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test7.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test7.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test7.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test7.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test7 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test7.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test7_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test7/Test7.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test7.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches