Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test27.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.Test27,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.CombiTable1Dv.Test27") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test27,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.CombiTable1Dv.Test27") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001239/0.001239, allocations: 113.8 kB / 17.78 MB, free: 5.266 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.001703/0.001703, allocations: 183.9 kB / 18.71 MB, free: 4.348 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.486/1.486, allocations: 222.9 MB / 242.4 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.2349/0.2349, allocations: 44.19 MB / 336.8 MB, free: 2.668 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001443/0.001443, allocations: 63.91 kB / 470.6 MB, free: 13.15 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4193/0.4207, allocations: 60.82 MB / 0.5189 GB, free: 3.613 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test27): time 0.002402/0.4232, allocations: 1.588 MB / 0.5205 GB, free: 2.512 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006354/0.4238, allocations: 411.5 kB / 0.5209 GB, free: 2.246 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.995e-05/0.4239, allocations: 5.344 kB / 0.5209 GB, free: 2.242 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003034/0.4242, allocations: 124.3 kB / 0.521 GB, free: 2.219 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002114/0.4244, allocations: 89.34 kB / 0.5211 GB, free: 2.191 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002765/0.4247, allocations: 108.5 kB / 0.5212 GB, free: 2.137 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001504/0.4249, allocations: 87.62 kB / 0.5213 GB, free: 2.109 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.461e-05/0.425, allocations: 19.16 kB / 0.5213 GB, free: 2.102 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.283e-05/0.425, allocations: 52.16 kB / 0.5213 GB, free: 2.082 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001263/0.4252, allocations: 79.7 kB / 0.5214 GB, free: 2.066 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.617e-05/0.4252, allocations: 2.469 kB / 0.5214 GB, free: 2.066 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.407e-05/0.4253, allocations: 40.16 kB / 0.5214 GB, free: 2.059 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.322e-05/0.4253, allocations: 32.05 kB / 0.5215 GB, free: 2.043 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 3.762e-05/0.4254, allocations: 35.09 kB / 0.5215 GB, free: 2.016 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001691/0.4255, allocations: 121.2 kB / 0.5216 GB, free: 1.961 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.337e-06/0.4256, allocations: 0 / 0.5216 GB, free: 1.961 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.503e-06/0.4256, allocations: 0 / 0.5216 GB, free: 1.961 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.518e-06/0.4256, allocations: 0 / 0.5216 GB, free: 1.961 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.0003944/0.426, allocations: 430 kB / 0.522 GB, free: 1.547 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.785e-05/0.426, allocations: 9.531 kB / 0.522 GB, free: 1.547 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.676e-05/0.4261, allocations: 10.22 kB / 0.5221 GB, free: 1.543 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001509/0.4262, allocations: 204.9 kB / 0.5223 GB, free: 1.324 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.225e-06/0.4262, allocations: 1.531 kB / 0.5223 GB, free: 1.324 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.446e-05/0.4263, allocations: 11.81 kB / 0.5223 GB, free: 1.316 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001386/0.4264, allocations: 57.08 kB / 0.5223 GB, free: 1.273 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.074e-05/0.4264, allocations: 0 / 0.5223 GB, free: 1.273 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.013e-05/0.4264, allocations: 1.891 kB / 0.5223 GB, free: 1.273 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.248e-06/0.4264, allocations: 0 / 0.5223 GB, free: 1.273 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.838e-05/0.4266, allocations: 32.17 kB / 0.5224 GB, free: 1.266 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000356/0.4269, allocations: 309.4 kB / 0.5226 GB, free: 0.9688 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.786e-05/0.427, allocations: 52.55 kB / 0.5227 GB, free: 0.9297 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.939e-05/0.4271, allocations: 23.94 kB / 0.5227 GB, free: 0.9141 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.841e-05/0.4271, allocations: 0.5156 kB / 0.5227 GB, free: 0.9141 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.565e-05/0.4271, allocations: 32.52 kB / 0.5228 GB, free: 0.875 MB / 382.1 MB Notification: Performance of pre-optimization done (n=4): time 1.102e-06/0.4271, allocations: 0 / 0.5228 GB, free: 0.875 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0009273/0.4281, allocations: 240.3 kB / 0.523 GB, free: 0.7812 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.968e-05/0.4281, allocations: 54.27 kB / 0.523 GB, free: 0.7188 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002388/0.4283, allocations: 272.3 kB / 0.5233 GB, free: 0.5703 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.004e-05/0.4284, allocations: 30.36 kB / 0.5233 GB, free: 0.5352 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.605e-05/0.4284, allocations: 114.8 kB / 0.5234 GB, free: 440 kB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.301e-05/0.4284, allocations: 25.89 kB / 0.5235 GB, free: 420 kB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.491e-05/0.4285, allocations: 21.3 kB / 0.5235 GB, free: 400 kB / 382.1 MB Notification: Performance of setup shared object (initialization): time 5.413e-05/0.4285, allocations: 328.2 kB / 0.5238 GB, free: 72 kB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.542e-05/0.4286, allocations: 37.58 kB / 0.5238 GB, free: 56 kB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.803e-05/0.4287, allocations: 32.05 kB / 0.5239 GB, free: 48 kB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001562/0.4289, allocations: 75.69 kB / 0.5239 GB, free: 16 kB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.91e-07/0.4289, allocations: 0 / 0.5239 GB, free: 16 kB / 382.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002352/0.4291, allocations: 115.5 kB / 0.524 GB, free: 15.95 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.24e-05/0.4291, allocations: 3.406 kB / 0.524 GB, free: 15.95 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.564e-06/0.4292, allocations: 6.078 kB / 0.524 GB, free: 15.95 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.423e-05/0.4292, allocations: 0 / 0.524 GB, free: 15.95 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001031/0.4293, allocations: 21.25 kB / 0.5241 GB, free: 15.95 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.657e-06/0.4293, allocations: 4.859 kB / 0.5241 GB, free: 15.94 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.39e-05/0.4294, allocations: 5.172 kB / 0.5241 GB, free: 15.94 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.185e-06/0.4294, allocations: 10.39 kB / 0.5241 GB, free: 15.93 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 (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 0.0001528/0.4295, allocations: 135.1 kB / 0.5242 GB, free: 15.81 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.667e-05/0.4296, allocations: 13.94 kB / 0.5242 GB, free: 15.8 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002867/0.4299, allocations: 134.8 kB / 0.5244 GB, free: 15.73 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.154e-06/0.4299, allocations: 0 / 0.5244 GB, free: 15.73 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.562e-06/0.4299, allocations: 4.547 kB / 0.5244 GB, free: 15.73 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.818e-06/0.4299, allocations: 1.625 kB / 0.5244 GB, free: 15.73 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005335/0.4304, allocations: 430.3 kB / 0.5248 GB, free: 15.36 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.743e-06/0.4304, allocations: 5.25 kB / 0.5248 GB, free: 15.36 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.065e-05/0.4305, allocations: 21.02 kB / 0.5248 GB, free: 15.36 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.705e-06/0.4305, allocations: 1.375 kB / 0.5248 GB, free: 15.36 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.576e-06/0.4305, allocations: 0.8125 kB / 0.5248 GB, free: 15.36 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.915e-06/0.4306, allocations: 2.156 kB / 0.5248 GB, free: 15.36 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.4306, allocations: 0 / 0.5248 GB, free: 15.36 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002633/0.4308, allocations: 223.2 kB / 0.525 GB, free: 15.18 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.347e-05/0.4309, allocations: 93.16 kB / 0.5251 GB, free: 15.07 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.886e-05/0.4309, allocations: 2.156 kB / 0.5251 GB, free: 15.07 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.24e-05/0.431, allocations: 5.047 kB / 0.5251 GB, free: 15.07 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.35e-05/0.431, allocations: 10.33 kB / 0.5251 GB, free: 15.07 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.991e-06/0.4311, allocations: 6.094 kB / 0.5251 GB, free: 15.07 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001664/0.4312, allocations: 205.2 kB / 0.5253 GB, free: 14.96 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4312, allocations: 0 / 0.5253 GB, free: 14.96 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002671/0.4315, allocations: 24.88 kB / 0.5253 GB, free: 14.95 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.001027/0.4325, allocations: 463.4 kB / 0.5258 GB, free: 14.73 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002215/0.4328, allocations: 79.19 kB / 0.5259 GB, free: 14.71 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.904e-06/0.4328, allocations: 1.594 kB / 0.5259 GB, free: 14.71 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 9.157e-05/0.4329, allocations: 37.19 kB / 0.5259 GB, free: 14.7 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003581/0.4332, allocations: 24.12 kB / 0.5259 GB, free: 14.69 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005268/0.4338, allocations: 307.5 kB / 0.5262 GB, free: 14.5 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002908/0.4341, allocations: 0.718 MB / 0.5269 GB, free: 13.8 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 7.911e-05/0.4342, allocations: 25 kB / 0.5269 GB, free: 13.79 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.582e-05/0.4342, allocations: 13.55 kB / 0.527 GB, free: 13.78 MB / 398.1 MB Notification: Performance of SimCode: time 2.51e-07/0.4342, allocations: 0 / 0.527 GB, free: 13.78 MB / 398.1 MB Notification: Performance of Templates: time 0.003963/0.4382, allocations: 1.387 MB / 0.5283 GB, free: 13.27 MB / 398.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test27.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test27.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test27.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test27.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test27.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test27 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test27.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test27_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test27/Test27.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test27.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches