Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test30.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.Test30,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test30") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test30,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test30") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00108/0.00108, allocations: 114.4 kB / 17.78 MB, free: 5.262 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.00106/0.00106, allocations: 183.8 kB / 18.71 MB, free: 4.336 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.283/1.283, allocations: 222.9 MB / 242.4 MB, free: 15.16 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.1939/0.1939, allocations: 44.19 MB / 336.7 MB, free: 2.668 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001144/0.001144, allocations: 63.91 kB / 470.6 MB, free: 13.16 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3165/0.3176, allocations: 60.82 MB / 0.5189 GB, free: 3.625 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test30): time 0.003118/0.3208, allocations: 1.592 MB / 0.5205 GB, free: 2.523 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007269/0.3216, allocations: 406 kB / 0.5209 GB, free: 2.258 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.249e-05/0.3217, allocations: 1.094 kB / 0.5209 GB, free: 2.258 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003048/0.322, allocations: 71.66 kB / 0.5209 GB, free: 2.242 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002441/0.3222, allocations: 68.06 kB / 0.521 GB, free: 2.215 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003318/0.3226, allocations: 88.42 kB / 0.5211 GB, free: 2.168 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001542/0.3228, allocations: 73.22 kB / 0.5211 GB, free: 2.141 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001009/0.3229, allocations: 23.3 kB / 0.5212 GB, free: 2.129 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.693e-05/0.3229, allocations: 33.41 kB / 0.5212 GB, free: 2.117 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000103/0.323, allocations: 53.84 kB / 0.5213 GB, free: 2.102 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.73e-05/0.3231, allocations: 3.594 kB / 0.5213 GB, free: 2.102 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.758e-05/0.3231, allocations: 42.5 kB / 0.5213 GB, free: 2.09 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.075e-05/0.3232, allocations: 23.16 kB / 0.5213 GB, free: 2.078 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 3.457e-05/0.3232, allocations: 26.83 kB / 0.5213 GB, free: 2.059 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001804/0.3234, allocations: 103.2 kB / 0.5214 GB, free: 2.016 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.256e-06/0.3234, allocations: 0.6562 kB / 0.5214 GB, free: 2.016 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.674e-06/0.3234, allocations: 1.062 kB / 0.5214 GB, free: 2.016 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.879e-06/0.3235, allocations: 3.938 kB / 0.5215 GB, free: 2.012 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0003574/0.3238, allocations: 411.8 kB / 0.5218 GB, free: 1.602 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.115e-05/0.3239, allocations: 8.875 kB / 0.5219 GB, free: 1.602 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.747e-05/0.3239, allocations: 9.328 kB / 0.5219 GB, free: 1.598 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001245/0.324, allocations: 194.5 kB / 0.522 GB, free: 1.387 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.667e-06/0.324, allocations: 1.438 kB / 0.522 GB, free: 1.387 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.039e-05/0.3241, allocations: 11.17 kB / 0.5221 GB, free: 1.379 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001203/0.3242, allocations: 55.62 kB / 0.5221 GB, free: 1.336 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.069e-05/0.3242, allocations: 2.219 kB / 0.5221 GB, free: 1.336 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.927e-06/0.3242, allocations: 4 kB / 0.5221 GB, free: 1.332 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.058e-06/0.3242, allocations: 5.312 kB / 0.5221 GB, free: 1.328 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.891e-05/0.3243, allocations: 24.14 kB / 0.5221 GB, free: 1.324 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002771/0.3246, allocations: 294.2 kB / 0.5224 GB, free: 1.031 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.114e-05/0.3247, allocations: 51.03 kB / 0.5225 GB, free: 0.9922 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.238e-05/0.3248, allocations: 18.77 kB / 0.5225 GB, free: 0.9805 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.105e-05/0.3248, allocations: 1.875 kB / 0.5225 GB, free: 0.9805 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.333e-05/0.3248, allocations: 31.69 kB / 0.5225 GB, free: 0.9414 MB / 382.1 MB Notification: Performance of pre-optimization done (n=4): time 1.062e-06/0.3248, allocations: 0 / 0.5225 GB, free: 0.9414 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0007572/0.3256, allocations: 222.3 kB / 0.5227 GB, free: 0.8516 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.681e-05/0.3256, allocations: 53.33 kB / 0.5228 GB, free: 0.7891 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001643/0.3258, allocations: 210.1 kB / 0.523 GB, free: 0.6523 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 9.478e-06/0.3258, allocations: 30.83 kB / 0.523 GB, free: 0.6172 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.186e-05/0.3258, allocations: 101 kB / 0.5231 GB, free: 0.5234 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.251e-05/0.3259, allocations: 33.05 kB / 0.5231 GB, free: 0.4961 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.435e-05/0.3259, allocations: 20.22 kB / 0.5232 GB, free: 488 kB / 382.1 MB Notification: Performance of setup shared object (initialization): time 4.928e-05/0.326, allocations: 322.3 kB / 0.5235 GB, free: 164 kB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.375e-05/0.3261, allocations: 26.78 kB / 0.5235 GB, free: 156 kB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.198e-05/0.3261, allocations: 31.05 kB / 0.5235 GB, free: 144 kB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001307/0.3263, allocations: 63.17 kB / 0.5236 GB, free: 116 kB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.61e-07/0.3263, allocations: 4 kB / 0.5236 GB, free: 112 kB / 382.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001791/0.3265, allocations: 96.81 kB / 0.5237 GB, free: 60 kB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.268e-05/0.3265, allocations: 8.281 kB / 0.5237 GB, free: 60 kB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.3e-06/0.3265, allocations: 1.781 kB / 0.5237 GB, free: 60 kB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.245e-05/0.3265, allocations: 0 / 0.5237 GB, free: 60 kB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.09e-05/0.3266, allocations: 21.2 kB / 0.5237 GB, free: 56 kB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.061e-06/0.3266, allocations: 4.734 kB / 0.5237 GB, free: 52 kB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.926e-05/0.3267, allocations: 9.625 kB / 0.5237 GB, free: 48 kB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.253e-06/0.3267, allocations: 6.594 kB / 0.5237 GB, free: 44 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 (8): * Single equations (assignments): 8 * 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.53e-05/0.3268, allocations: 126 kB / 0.5239 GB, free: 15.92 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.349e-05/0.3268, allocations: 13.84 kB / 0.5239 GB, free: 15.91 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002554/0.3271, allocations: 113.4 kB / 0.524 GB, free: 15.86 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.595e-06/0.3271, allocations: 1 kB / 0.524 GB, free: 15.86 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.161e-06/0.3271, allocations: 5 kB / 0.524 GB, free: 15.85 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.136e-06/0.3271, allocations: 0.5625 kB / 0.524 GB, free: 15.85 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004735/0.3276, allocations: 409.2 kB / 0.5244 GB, free: 15.49 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.503e-06/0.3276, allocations: 0 / 0.5244 GB, free: 15.49 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.392e-05/0.3277, allocations: 24.56 kB / 0.5244 GB, free: 15.48 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.685e-06/0.3277, allocations: 2.188 kB / 0.5244 GB, free: 15.48 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.298e-06/0.3277, allocations: 0.7969 kB / 0.5244 GB, free: 15.48 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.384e-06/0.3277, allocations: 1.562 kB / 0.5244 GB, free: 15.48 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.213e-06/0.3277, allocations: 0 / 0.5244 GB, free: 15.48 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002272/0.3279, allocations: 203.5 kB / 0.5246 GB, free: 15.32 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.57e-05/0.328, allocations: 92.84 kB / 0.5247 GB, free: 15.21 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.831e-05/0.328, allocations: 7.547 kB / 0.5247 GB, free: 15.21 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.723e-05/0.3281, allocations: 3.312 kB / 0.5247 GB, free: 15.21 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.336e-05/0.3281, allocations: 9.609 kB / 0.5247 GB, free: 15.21 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.092e-06/0.3281, allocations: 11.38 kB / 0.5247 GB, free: 15.2 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001147/0.3282, allocations: 156.1 kB / 0.5249 GB, free: 15.11 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3283, allocations: 0 / 0.5249 GB, free: 15.11 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002339/0.3285, allocations: 22.95 kB / 0.5249 GB, free: 15.1 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 (8): * Single equations (assignments): 8 * 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.0009196/0.3294, allocations: 449.8 kB / 0.5253 GB, free: 14.89 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.000208/0.3296, allocations: 74.44 kB / 0.5254 GB, free: 14.87 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.3296, allocations: 0 / 0.5254 GB, free: 14.87 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 8.234e-05/0.3297, allocations: 30.16 kB / 0.5254 GB, free: 14.86 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003243/0.3301, allocations: 24.08 kB / 0.5254 GB, free: 14.86 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003915/0.3305, allocations: 253.7 kB / 0.5257 GB, free: 14.66 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002379/0.3307, allocations: 0.7103 MB / 0.5264 GB, free: 13.96 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 4.961e-05/0.3308, allocations: 14.11 kB / 0.5264 GB, free: 13.95 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.05e-05/0.3308, allocations: 14.36 kB / 0.5264 GB, free: 13.95 MB / 398.1 MB Notification: Performance of SimCode: time 1.383e-06/0.3308, allocations: 4 kB / 0.5264 GB, free: 13.94 MB / 398.1 MB Notification: Performance of Templates: time 0.003635/0.3345, allocations: 1.332 MB / 0.5277 GB, free: 13.57 MB / 398.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test30.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test30.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test30.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test30.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test30.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test30 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test30.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test30_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test30/Test30.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test30.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches