Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.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.CombiTable1Dv.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.CombiTable1Dv.Test8") translateModel(ModelicaTest.Tables.CombiTable1Dv.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.CombiTable1Dv.Test8") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009886/0.0009887, allocations: 113.8 kB / 17.78 MB, free: 5.281 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.0009731/0.0009732, allocations: 179.9 kB / 18.71 MB, free: 4.363 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.275/1.275, allocations: 222.9 MB / 242.4 MB, free: 15.09 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.1933/0.1933, allocations: 44.19 MB / 336.7 MB, free: 2.668 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001234/0.001235, allocations: 59.91 kB / 470.6 MB, free: 13.15 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3225/0.3237, allocations: 60.82 MB / 0.5189 GB, free: 3.613 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test8): time 0.002858/0.3266, allocations: 1.56 MB / 0.5204 GB, free: 2.535 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006639/0.3273, allocations: 400.7 kB / 0.5208 GB, free: 2.277 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.091e-05/0.3274, allocations: 1.156 kB / 0.5208 GB, free: 2.277 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001975/0.3276, allocations: 33.45 kB / 0.5209 GB, free: 2.254 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001754/0.3278, allocations: 36.25 kB / 0.5209 GB, free: 2.234 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002764/0.3281, allocations: 110.3 kB / 0.521 GB, free: 2.18 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.00014/0.3282, allocations: 60.09 kB / 0.5211 GB, free: 2.152 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.69e-05/0.3283, allocations: 24.33 kB / 0.5211 GB, free: 2.137 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.493e-05/0.3284, allocations: 18.09 kB / 0.5211 GB, free: 2.129 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.192e-05/0.3284, allocations: 20.5 kB / 0.5211 GB, free: 2.117 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.551e-05/0.3285, allocations: 2.312 kB / 0.5211 GB, free: 2.117 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.884e-05/0.3285, allocations: 33.66 kB / 0.5212 GB, free: 2.105 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.023e-05/0.3286, allocations: 15.27 kB / 0.5212 GB, free: 2.098 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 3.769e-05/0.3286, allocations: 21.66 kB / 0.5212 GB, free: 2.082 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001775/0.3288, allocations: 78.53 kB / 0.5213 GB, free: 2.051 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.693e-06/0.3288, allocations: 1.188 kB / 0.5213 GB, free: 2.051 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.052e-06/0.3289, allocations: 0 / 0.5213 GB, free: 2.051 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.204e-05/0.3289, allocations: 0 / 0.5213 GB, free: 2.051 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.0005015/0.3294, allocations: 387.2 kB / 0.5216 GB, free: 1.656 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.379e-05/0.3294, allocations: 9 kB / 0.5216 GB, free: 1.656 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.856e-05/0.3295, allocations: 8.734 kB / 0.5216 GB, free: 1.652 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001721/0.3297, allocations: 187.1 kB / 0.5218 GB, free: 1.445 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.326e-05/0.3297, allocations: 1.469 kB / 0.5218 GB, free: 1.445 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.65e-05/0.3297, allocations: 1.594 kB / 0.5218 GB, free: 1.445 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001681/0.3299, allocations: 58.45 kB / 0.5219 GB, free: 1.398 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.753e-05/0.3299, allocations: 1 kB / 0.5219 GB, free: 1.398 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.363e-05/0.3299, allocations: 4.562 kB / 0.5219 GB, free: 1.395 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.064e-05/0.3299, allocations: 1.156 kB / 0.5219 GB, free: 1.395 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.631e-05/0.33, allocations: 23.03 kB / 0.5219 GB, free: 1.391 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003305/0.3304, allocations: 276.2 kB / 0.5222 GB, free: 1.109 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002229/0.3306, allocations: 46.06 kB / 0.5222 GB, free: 1.078 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.019e-05/0.3307, allocations: 23.27 kB / 0.5222 GB, free: 1.062 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.414e-05/0.3307, allocations: 0 / 0.5222 GB, free: 1.062 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.497e-05/0.3307, allocations: 36.38 kB / 0.5223 GB, free: 1.02 MB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 1.152e-06/0.3307, allocations: 1.406 kB / 0.5223 GB, free: 1.02 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005366/0.3313, allocations: 150.3 kB / 0.5224 GB, free: 0.9492 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.671e-05/0.3313, allocations: 61.03 kB / 0.5225 GB, free: 0.8789 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000127/0.3314, allocations: 154.5 kB / 0.5226 GB, free: 0.7656 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 7.735e-06/0.3315, allocations: 26.8 kB / 0.5227 GB, free: 0.7344 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.57e-05/0.3315, allocations: 97.83 kB / 0.5227 GB, free: 0.6406 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.092e-05/0.3315, allocations: 15.34 kB / 0.5228 GB, free: 0.6289 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.352e-05/0.3316, allocations: 19.86 kB / 0.5228 GB, free: 0.6094 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 4.536e-05/0.3316, allocations: 323.7 kB / 0.5231 GB, free: 296 kB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.876e-05/0.3317, allocations: 19.52 kB / 0.5231 GB, free: 292 kB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.9e-05/0.3318, allocations: 25.14 kB / 0.5231 GB, free: 284 kB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001222/0.3319, allocations: 56.64 kB / 0.5232 GB, free: 260 kB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.31e-07/0.3319, allocations: 0 / 0.5232 GB, free: 260 kB / 382.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.000163/0.3321, allocations: 84.45 kB / 0.5233 GB, free: 212 kB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.361e-05/0.3321, allocations: 5.5 kB / 0.5233 GB, free: 212 kB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.418e-06/0.3321, allocations: 4.828 kB / 0.5233 GB, free: 208 kB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.245e-05/0.3321, allocations: 1.188 kB / 0.5233 GB, free: 208 kB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.868e-05/0.3322, allocations: 16.33 kB / 0.5233 GB, free: 204 kB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.981e-06/0.3322, allocations: 3.984 kB / 0.5233 GB, free: 200 kB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.608e-05/0.3322, allocations: 5.141 kB / 0.5233 GB, free: 200 kB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.173e-06/0.3322, allocations: 5.906 kB / 0.5233 GB, free: 196 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.427e-05/0.3323, allocations: 117.9 kB / 0.5234 GB, free: 76 kB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.846e-05/0.3323, allocations: 7.172 kB / 0.5234 GB, free: 72 kB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002055/0.3325, allocations: 103.7 kB / 0.5235 GB, free: 4 kB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.933e-06/0.3326, allocations: 0 / 0.5235 GB, free: 4 kB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.538e-06/0.3326, allocations: 1.312 kB / 0.5235 GB, free: 4 kB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.665e-06/0.3326, allocations: 0 / 0.5235 GB, free: 4 kB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004184/0.333, allocations: 361.8 kB / 0.5239 GB, free: 15.67 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.733e-06/0.333, allocations: 1.5 kB / 0.5239 GB, free: 15.67 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.048e-05/0.3331, allocations: 11.52 kB / 0.5239 GB, free: 15.67 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.334e-06/0.3331, allocations: 1.469 kB / 0.5239 GB, free: 15.67 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.544e-06/0.3331, allocations: 4.281 kB / 0.5239 GB, free: 15.66 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.33e-06/0.3331, allocations: 6.078 kB / 0.5239 GB, free: 15.66 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.3331, allocations: 0 / 0.5239 GB, free: 15.66 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002344/0.3334, allocations: 180.8 kB / 0.5241 GB, free: 15.51 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.136e-05/0.3334, allocations: 88.05 kB / 0.5242 GB, free: 15.41 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.813e-05/0.3334, allocations: 0.75 kB / 0.5242 GB, free: 15.41 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.516e-05/0.3335, allocations: 12.84 kB / 0.5242 GB, free: 15.4 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.775e-05/0.3335, allocations: 8.406 kB / 0.5242 GB, free: 15.4 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.667e-06/0.3336, allocations: 5.062 kB / 0.5242 GB, free: 15.39 MB / 398.1 MB Notification: Performance of sorting global known variables: time 9.964e-05/0.3337, allocations: 122.2 kB / 0.5243 GB, free: 15.31 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.3337, allocations: 0 / 0.5243 GB, free: 15.31 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002345/0.3339, allocations: 15.88 kB / 0.5243 GB, free: 15.3 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.0008136/0.3347, allocations: 389.4 kB / 0.5247 GB, free: 15.12 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0001947/0.3349, allocations: 52.61 kB / 0.5247 GB, free: 15.11 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.3349, allocations: 0 / 0.5247 GB, free: 15.11 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 8.034e-05/0.335, allocations: 34.03 kB / 0.5248 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.0003236/0.3354, allocations: 21.77 kB / 0.5248 GB, free: 15.09 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003584/0.3357, allocations: 179 kB / 0.525 GB, free: 14.95 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002292/0.336, allocations: 0.6956 MB / 0.5256 GB, free: 14.25 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 5.569e-05/0.336, allocations: 15.53 kB / 0.5256 GB, free: 14.25 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.911e-05/0.3361, allocations: 15.59 kB / 0.5257 GB, free: 14.24 MB / 398.1 MB Notification: Performance of SimCode: time 2.2e-07/0.3361, allocations: 1.281 kB / 0.5257 GB, free: 14.24 MB / 398.1 MB Notification: Performance of Templates: time 0.003649/0.3397, allocations: 1.114 MB / 0.5268 GB, free: 14.09 MB / 398.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test8.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test8.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test8.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test8.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test8.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test8 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test8.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test8_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test8/Test8.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test8.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches