Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test4.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.Test4,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|d2_t_new.y|d2_t_new2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test4") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test4,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|d2_t_new.y|d2_t_new2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test4") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001213/0.001213, allocations: 113.3 kB / 18.45 MB, free: 4.602 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.001206/0.001206, allocations: 185.1 kB / 19.37 MB, free: 3.684 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.225/1.225, allocations: 222.9 MB / 243.1 MB, free: 15.07 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.2056/0.2056, allocations: 44.18 MB / 337.4 MB, free: 2.652 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001307/0.001307, allocations: 59.89 kB / 471.2 MB, free: 13.12 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3251/0.3264, allocations: 60.82 MB / 0.5196 GB, free: 3.602 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test4): time 0.003246/0.3297, allocations: 1.62 MB / 0.5212 GB, free: 2.48 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006797/0.3304, allocations: 425.6 kB / 0.5216 GB, free: 2.203 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.207e-05/0.3305, allocations: 1.219 kB / 0.5216 GB, free: 2.203 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002763/0.3308, allocations: 89.56 kB / 0.5217 GB, free: 2.188 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002341/0.331, allocations: 78.11 kB / 0.5217 GB, free: 2.156 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003499/0.3314, allocations: 114.2 kB / 0.5218 GB, free: 2.098 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001807/0.3316, allocations: 98.14 kB / 0.5219 GB, free: 2.059 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001134/0.3317, allocations: 28.28 kB / 0.522 GB, free: 2.047 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.822e-05/0.3318, allocations: 37.52 kB / 0.522 GB, free: 2.035 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001075/0.3319, allocations: 57.94 kB / 0.5221 GB, free: 2.02 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.91e-05/0.3319, allocations: 4.344 kB / 0.5221 GB, free: 2.02 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001021/0.332, allocations: 45.14 kB / 0.5221 GB, free: 2.008 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.933e-05/0.3321, allocations: 31.56 kB / 0.5221 GB, free: 1.992 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.029e-05/0.3321, allocations: 44.81 kB / 0.5222 GB, free: 1.957 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001932/0.3323, allocations: 125.5 kB / 0.5223 GB, free: 1.906 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.676e-06/0.3323, allocations: 4 kB / 0.5223 GB, free: 1.902 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.3323, allocations: 0 / 0.5223 GB, free: 1.902 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.3e-06/0.3323, allocations: 0 / 0.5223 GB, free: 1.902 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0003824/0.3327, allocations: 425.6 kB / 0.5227 GB, free: 1.492 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.443e-05/0.3328, allocations: 10.23 kB / 0.5227 GB, free: 1.492 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.316e-05/0.3328, allocations: 15.59 kB / 0.5227 GB, free: 1.484 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001465/0.333, allocations: 212.8 kB / 0.5229 GB, free: 1.258 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.063e-05/0.333, allocations: 7.328 kB / 0.5229 GB, free: 1.254 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.208e-05/0.333, allocations: 3.875 kB / 0.5229 GB, free: 1.254 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000155/0.3332, allocations: 82.98 kB / 0.523 GB, free: 1.203 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.224e-05/0.3332, allocations: 0.75 kB / 0.523 GB, free: 1.203 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.082e-05/0.3332, allocations: 5.219 kB / 0.523 GB, free: 1.199 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.448e-06/0.3332, allocations: 1.562 kB / 0.523 GB, free: 1.199 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001119/0.3333, allocations: 41.02 kB / 0.5231 GB, free: 1.191 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003715/0.3337, allocations: 343 kB / 0.5234 GB, free: 0.8828 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001171/0.3338, allocations: 74.75 kB / 0.5235 GB, free: 0.8359 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.571e-05/0.3339, allocations: 28.08 kB / 0.5235 GB, free: 0.8203 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.843e-05/0.3339, allocations: 9.891 kB / 0.5235 GB, free: 0.8125 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.532e-05/0.3339, allocations: 32.89 kB / 0.5235 GB, free: 0.7734 MB / 382.1 MB Notification: Performance of pre-optimization done (n=7): time 1.143e-06/0.3339, allocations: 3.938 kB / 0.5235 GB, free: 0.7695 MB / 382.1 MB Notification: Performance of matching and sorting (n=13): time 0.0009809/0.3349, allocations: 326.8 kB / 0.5239 GB, free: 0.6445 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.553e-05/0.335, allocations: 52.97 kB / 0.5239 GB, free: 0.582 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001782/0.3352, allocations: 229.7 kB / 0.5241 GB, free: 456 kB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 9.177e-06/0.3352, allocations: 25.7 kB / 0.5241 GB, free: 424 kB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.152e-05/0.3352, allocations: 115.5 kB / 0.5243 GB, free: 316 kB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.048e-05/0.3353, allocations: 48.25 kB / 0.5243 GB, free: 276 kB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.828e-05/0.3353, allocations: 28.81 kB / 0.5243 GB, free: 252 kB / 382.1 MB Notification: Performance of setup shared object (initialization): time 9.203e-05/0.3354, allocations: 329 kB / 0.5246 GB, free: 15.93 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.841e-05/0.3355, allocations: 43.16 kB / 0.5247 GB, free: 15.91 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.465e-05/0.3356, allocations: 47.66 kB / 0.5247 GB, free: 15.9 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001934/0.3358, allocations: 105.4 kB / 0.5248 GB, free: 15.86 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.52e-07/0.3358, allocations: 4 kB / 0.5248 GB, free: 15.86 MB / 398.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.000258/0.3361, allocations: 154.6 kB / 0.525 GB, free: 15.78 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.409e-05/0.3361, allocations: 8.172 kB / 0.525 GB, free: 15.78 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.509e-06/0.3361, allocations: 1.031 kB / 0.525 GB, free: 15.78 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.492e-05/0.3361, allocations: 4.594 kB / 0.525 GB, free: 15.78 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001182/0.3362, allocations: 29.53 kB / 0.525 GB, free: 15.77 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.202e-06/0.3363, allocations: 1.984 kB / 0.525 GB, free: 15.77 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.325e-05/0.3363, allocations: 3.703 kB / 0.525 GB, free: 15.77 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.022e-05/0.3363, allocations: 11.77 kB / 0.525 GB, free: 15.77 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 (13): * Single equations (assignments): 13 * 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 9.839e-05/0.3364, allocations: 132.6 kB / 0.5252 GB, free: 15.64 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.858e-05/0.3365, allocations: 14.48 kB / 0.5252 GB, free: 15.64 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000359/0.3368, allocations: 197.4 kB / 0.5254 GB, free: 15.54 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.921e-06/0.3369, allocations: 6.719 kB / 0.5254 GB, free: 15.54 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.729e-06/0.3369, allocations: 0 / 0.5254 GB, free: 15.54 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.516e-06/0.3369, allocations: 4.547 kB / 0.5254 GB, free: 15.53 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006103/0.3375, allocations: 499 kB / 0.5259 GB, free: 15.15 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.616e-06/0.3375, allocations: 4 kB / 0.5259 GB, free: 15.14 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.611e-05/0.3376, allocations: 24.66 kB / 0.5259 GB, free: 15.14 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.687e-06/0.3376, allocations: 2.547 kB / 0.5259 GB, free: 15.14 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.118e-05/0.3376, allocations: 5.906 kB / 0.5259 GB, free: 15.14 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.515e-06/0.3376, allocations: 0.5625 kB / 0.5259 GB, free: 15.14 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.755e-06/0.3376, allocations: 2.188 kB / 0.5259 GB, free: 15.14 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002963/0.3379, allocations: 262.4 kB / 0.5261 GB, free: 14.95 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.806e-05/0.338, allocations: 84.84 kB / 0.5262 GB, free: 14.85 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.944e-05/0.338, allocations: 2.719 kB / 0.5262 GB, free: 14.85 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.184e-05/0.3381, allocations: 5.219 kB / 0.5262 GB, free: 14.85 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.125e-05/0.3381, allocations: 12.8 kB / 0.5262 GB, free: 14.85 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.544e-06/0.3381, allocations: 7.266 kB / 0.5263 GB, free: 14.84 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001351/0.3383, allocations: 171.6 kB / 0.5264 GB, free: 14.75 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.953e-06/0.3383, allocations: 0 / 0.5264 GB, free: 14.75 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.000248/0.3385, allocations: 34.06 kB / 0.5264 GB, free: 14.73 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (13): * Single equations (assignments): 13 * 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.000957/0.3395, allocations: 456.3 kB / 0.5269 GB, free: 14.52 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002678/0.3398, allocations: 113.7 kB / 0.527 GB, free: 14.49 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.774e-06/0.3398, allocations: 1.375 kB / 0.527 GB, free: 14.49 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001171/0.3399, allocations: 59.52 kB / 0.527 GB, free: 14.47 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003531/0.3403, allocations: 23.66 kB / 0.5271 GB, free: 14.46 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005355/0.3408, allocations: 353.7 kB / 0.5274 GB, free: 14.22 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002543/0.3411, allocations: 0.719 MB / 0.5281 GB, free: 13.52 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.474e-05/0.3411, allocations: 19.03 kB / 0.5281 GB, free: 13.52 MB / 398.1 MB Notification: Performance of SimCode: time 2.3e-07/0.3411, allocations: 0 / 0.5281 GB, free: 13.52 MB / 398.1 MB Notification: Performance of Templates: time 0.004177/0.3453, allocations: 2.127 MB / 0.5302 GB, free: 12.56 MB / 398.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test4.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test4.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test4.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test4.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test4.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test4 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test4.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test4_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test4/Test4.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test4.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches