Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test20.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.Test20,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.Test20") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test20,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.Test20") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001222/0.001222, allocations: 114.4 kB / 17.78 MB, free: 5.246 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.001269/0.001269, allocations: 183 kB / 18.71 MB, free: 4.32 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.304/1.304, allocations: 222.9 MB / 242.4 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.1963/0.1963, allocations: 44.18 MB / 336.7 MB, free: 2.684 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001376/0.001376, allocations: 59.84 kB / 470.5 MB, free: 13.17 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3517/0.3531, allocations: 60.83 MB / 0.5189 GB, free: 3.879 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test20): time 0.003421/0.3566, allocations: 1.571 MB / 0.5205 GB, free: 2.793 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001497/0.3581, allocations: 1.019 MB / 0.5214 GB, free: 2.07 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.611e-05/0.3582, allocations: 1.156 kB / 0.5214 GB, free: 2.07 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002376/0.3585, allocations: 23.86 kB / 0.5215 GB, free: 2.055 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002462/0.3587, allocations: 41.42 kB / 0.5215 GB, free: 2.031 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003156/0.3591, allocations: 88.7 kB / 0.5216 GB, free: 1.984 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.000168/0.3592, allocations: 54.73 kB / 0.5216 GB, free: 1.961 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001107/0.3594, allocations: 13.17 kB / 0.5217 GB, free: 1.957 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.634e-05/0.3594, allocations: 18.48 kB / 0.5217 GB, free: 1.949 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001924/0.3596, allocations: 33.36 kB / 0.5217 GB, free: 1.93 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.348e-05/0.3596, allocations: 3.312 kB / 0.5217 GB, free: 1.93 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001841/0.3598, allocations: 49.47 kB / 0.5218 GB, free: 1.914 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.864e-05/0.3599, allocations: 17.64 kB / 0.5218 GB, free: 1.902 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.764e-05/0.36, allocations: 16.86 kB / 0.5218 GB, free: 1.891 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002975/0.3603, allocations: 90.33 kB / 0.5219 GB, free: 1.852 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.903e-06/0.3603, allocations: 4.703 kB / 0.5219 GB, free: 1.848 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.724e-06/0.3603, allocations: 0 / 0.5219 GB, free: 1.848 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.894e-06/0.3603, allocations: 0 / 0.5219 GB, free: 1.848 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.00054/0.3608, allocations: 380.3 kB / 0.5222 GB, free: 1.461 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.847e-05/0.3609, allocations: 9.062 kB / 0.5223 GB, free: 1.461 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.03e-05/0.361, allocations: 8.781 kB / 0.5223 GB, free: 1.457 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002253/0.3612, allocations: 185.9 kB / 0.5224 GB, free: 1.25 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.886e-05/0.3612, allocations: 2.125 kB / 0.5224 GB, free: 1.25 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.306e-05/0.3613, allocations: 1.5 kB / 0.5224 GB, free: 1.25 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002138/0.3615, allocations: 69.34 kB / 0.5225 GB, free: 1.188 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.948e-05/0.3615, allocations: 5.469 kB / 0.5225 GB, free: 1.184 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.648e-05/0.3616, allocations: 0.6094 kB / 0.5225 GB, free: 1.184 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.533e-06/0.3616, allocations: 0 / 0.5225 GB, free: 1.184 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000104/0.3617, allocations: 26.33 kB / 0.5225 GB, free: 1.176 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004018/0.3621, allocations: 276.4 kB / 0.5228 GB, free: 0.8867 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002414/0.3623, allocations: 41.58 kB / 0.5228 GB, free: 0.8594 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.122e-05/0.3624, allocations: 17.06 kB / 0.5229 GB, free: 0.8477 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.307e-05/0.3624, allocations: 1.406 kB / 0.5229 GB, free: 0.8477 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.116e-05/0.3625, allocations: 35.2 kB / 0.5229 GB, free: 0.8047 MB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 9.92e-07/0.3625, allocations: 1.531 kB / 0.5229 GB, free: 0.8047 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.0006188/0.3631, allocations: 142 kB / 0.523 GB, free: 0.7344 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.758e-05/0.3631, allocations: 81.86 kB / 0.5231 GB, free: 0.6367 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001453/0.3633, allocations: 132.2 kB / 0.5232 GB, free: 0.5312 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.223e-05/0.3633, allocations: 29.7 kB / 0.5233 GB, free: 0.4961 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.035e-05/0.3634, allocations: 88.19 kB / 0.5233 GB, free: 420 kB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.534e-05/0.3634, allocations: 20.62 kB / 0.5234 GB, free: 404 kB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.065e-05/0.3635, allocations: 18.69 kB / 0.5234 GB, free: 384 kB / 382.1 MB Notification: Performance of setup shared object (initialization): time 7.338e-05/0.3635, allocations: 322.9 kB / 0.5237 GB, free: 56 kB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.126e-05/0.3636, allocations: 19.72 kB / 0.5237 GB, free: 52 kB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.335e-05/0.3637, allocations: 30.19 kB / 0.5237 GB, free: 32 kB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001308/0.3638, allocations: 46.28 kB / 0.5238 GB, free: 12 kB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.423e-06/0.3638, allocations: 32 / 0.5238 GB, free: 12 kB / 382.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002319/0.3641, allocations: 86.41 kB / 0.5239 GB, free: 15.96 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.017e-05/0.3641, allocations: 4.781 kB / 0.5239 GB, free: 15.96 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.159e-06/0.3641, allocations: 0 / 0.5239 GB, free: 15.96 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.866e-05/0.3641, allocations: 1.672 kB / 0.5239 GB, free: 15.96 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.579e-05/0.3642, allocations: 11.28 kB / 0.5239 GB, free: 15.96 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.737e-06/0.3642, allocations: 1.922 kB / 0.5239 GB, free: 15.96 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.374e-05/0.3643, allocations: 5.047 kB / 0.5239 GB, free: 15.96 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.16e-05/0.3643, allocations: 1.125 kB / 0.5239 GB, free: 15.96 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 0.0001032/0.3644, allocations: 126.6 kB / 0.524 GB, free: 15.83 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.71e-05/0.3645, allocations: 8 kB / 0.524 GB, free: 15.82 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002793/0.3647, allocations: 95.86 kB / 0.5241 GB, free: 15.76 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.918e-06/0.3648, allocations: 1.438 kB / 0.5241 GB, free: 15.76 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.382e-06/0.3648, allocations: 0.9219 kB / 0.5241 GB, free: 15.76 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.329e-06/0.3648, allocations: 0 / 0.5241 GB, free: 15.76 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004451/0.3652, allocations: 351.5 kB / 0.5245 GB, free: 15.43 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.043e-06/0.3652, allocations: 0 / 0.5245 GB, free: 15.43 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.17e-05/0.3653, allocations: 11.17 kB / 0.5245 GB, free: 15.43 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.538e-06/0.3653, allocations: 1.828 kB / 0.5245 GB, free: 15.43 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.408e-05/0.3653, allocations: 5.094 kB / 0.5245 GB, free: 15.42 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.236e-06/0.3653, allocations: 7.875 kB / 0.5245 GB, free: 15.41 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.667e-06/0.3653, allocations: 6.031 kB / 0.5245 GB, free: 15.41 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002369/0.3656, allocations: 176 kB / 0.5246 GB, free: 15.26 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.032e-05/0.3656, allocations: 80.03 kB / 0.5247 GB, free: 15.17 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.865e-05/0.3657, allocations: 0.5625 kB / 0.5247 GB, free: 15.17 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.838e-05/0.3657, allocations: 8.734 kB / 0.5247 GB, free: 15.16 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.537e-05/0.3658, allocations: 4.25 kB / 0.5247 GB, free: 15.16 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.079e-06/0.3658, allocations: 2.062 kB / 0.5247 GB, free: 15.16 MB / 398.1 MB Notification: Performance of sorting global known variables: time 8.659e-05/0.3659, allocations: 103.5 kB / 0.5248 GB, free: 15.08 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.3659, allocations: 0 / 0.5248 GB, free: 15.08 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.000263/0.3662, allocations: 27.84 kB / 0.5249 GB, free: 15.07 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.0009766/0.3671, allocations: 438.7 kB / 0.5253 GB, free: 14.87 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002219/0.3674, allocations: 56.52 kB / 0.5253 GB, free: 14.85 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.3674, allocations: 0 / 0.5253 GB, free: 14.85 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 7.115e-05/0.3675, allocations: 23.52 kB / 0.5254 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.0002904/0.3678, allocations: 19.08 kB / 0.5254 GB, free: 14.84 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004155/0.3682, allocations: 154.3 kB / 0.5255 GB, free: 14.7 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002957/0.3685, allocations: 0.6918 MB / 0.5262 GB, free: 14 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 7.394e-05/0.3686, allocations: 15.91 kB / 0.5262 GB, free: 14 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.263e-05/0.3686, allocations: 17.5 kB / 0.5262 GB, free: 13.99 MB / 398.1 MB Notification: Performance of SimCode: time 5.31e-07/0.3687, allocations: 1 kB / 0.5262 GB, free: 13.99 MB / 398.1 MB Notification: Performance of Templates: time 0.004214/0.3729, allocations: 1.359 MB / 0.5276 GB, free: 13.66 MB / 398.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test20.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test20.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test20.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test20.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test20.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test20 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test20.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test20_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test20/Test20.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test20.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches