Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test32.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.Test32,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.Test32") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test32,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.Test32") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001203/0.001203, allocations: 113.2 kB / 17.78 MB, free: 5.258 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.001295/0.001295, allocations: 185 kB / 18.72 MB, free: 4.332 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.05 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.1895/0.1895, allocations: 44.2 MB / 336.7 MB, free: 2.637 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001114/0.001114, allocations: 63.91 kB / 470.6 MB, free: 13.11 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3558/0.3569, allocations: 60.82 MB / 0.5189 GB, free: 3.617 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test32): time 0.002804/0.3598, allocations: 1.583 MB / 0.5205 GB, free: 2.523 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007153/0.3605, allocations: 403.4 kB / 0.5209 GB, free: 2.262 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.756e-05/0.3606, allocations: 0 / 0.5209 GB, free: 2.262 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003393/0.3609, allocations: 106 kB / 0.521 GB, free: 2.242 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002308/0.3612, allocations: 78.44 kB / 0.521 GB, free: 2.219 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000282/0.3615, allocations: 93.23 kB / 0.5211 GB, free: 2.172 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001806/0.3617, allocations: 78.67 kB / 0.5212 GB, free: 2.145 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000112/0.3618, allocations: 14.47 kB / 0.5212 GB, free: 2.141 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.338e-05/0.3619, allocations: 50.53 kB / 0.5213 GB, free: 2.117 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001366/0.362, allocations: 65.09 kB / 0.5213 GB, free: 2.102 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.067e-05/0.362, allocations: 2.969 kB / 0.5213 GB, free: 2.102 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001042/0.3621, allocations: 42.66 kB / 0.5214 GB, free: 2.09 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.79e-05/0.3622, allocations: 25.92 kB / 0.5214 GB, free: 2.078 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 3.951e-05/0.3623, allocations: 35.2 kB / 0.5214 GB, free: 2.051 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002071/0.3625, allocations: 112.8 kB / 0.5215 GB, free: 2.004 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.469e-06/0.3625, allocations: 0 / 0.5215 GB, free: 2.004 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.452e-06/0.3625, allocations: 0 / 0.5215 GB, free: 2.004 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.142e-05/0.3625, allocations: 0.8438 kB / 0.5215 GB, free: 2.004 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.0004324/0.3629, allocations: 428.1 kB / 0.5219 GB, free: 1.582 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.518e-05/0.363, allocations: 9.656 kB / 0.522 GB, free: 1.582 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.221e-05/0.363, allocations: 14.86 kB / 0.522 GB, free: 1.574 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001512/0.3632, allocations: 206.3 kB / 0.5222 GB, free: 1.352 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.05e-05/0.3632, allocations: 2.719 kB / 0.5222 GB, free: 1.352 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.708e-05/0.3632, allocations: 3.25 kB / 0.5222 GB, free: 1.352 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001444/0.3634, allocations: 63.42 kB / 0.5222 GB, free: 1.301 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.444e-05/0.3634, allocations: 2.281 kB / 0.5222 GB, free: 1.301 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.079e-05/0.3634, allocations: 0 / 0.5222 GB, free: 1.301 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.062e-06/0.3634, allocations: 1.156 kB / 0.5222 GB, free: 1.301 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.709e-05/0.3635, allocations: 24.92 kB / 0.5223 GB, free: 1.297 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003165/0.3639, allocations: 305.8 kB / 0.5226 GB, free: 0.9961 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.694e-05/0.364, allocations: 41.56 kB / 0.5226 GB, free: 0.9648 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.591e-05/0.364, allocations: 22.81 kB / 0.5226 GB, free: 0.9492 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.494e-05/0.364, allocations: 1.734 kB / 0.5226 GB, free: 0.9492 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.894e-05/0.3641, allocations: 32.64 kB / 0.5226 GB, free: 0.9102 MB / 382.1 MB Notification: Performance of pre-optimization done (n=4): time 9.42e-07/0.3641, allocations: 4 kB / 0.5227 GB, free: 0.9062 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.000816/0.3649, allocations: 219.4 kB / 0.5229 GB, free: 0.8203 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.293e-05/0.3649, allocations: 52.66 kB / 0.5229 GB, free: 0.7578 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002214/0.3652, allocations: 243.4 kB / 0.5231 GB, free: 0.6133 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 9.087e-06/0.3652, allocations: 30.95 kB / 0.5232 GB, free: 0.5781 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.917e-05/0.3652, allocations: 110.2 kB / 0.5233 GB, free: 488 kB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.484e-05/0.3653, allocations: 28.41 kB / 0.5233 GB, free: 464 kB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.813e-05/0.3653, allocations: 21.89 kB / 0.5233 GB, free: 444 kB / 382.1 MB Notification: Performance of setup shared object (initialization): time 5.913e-05/0.3654, allocations: 323.2 kB / 0.5236 GB, free: 120 kB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.609e-05/0.3655, allocations: 34.12 kB / 0.5237 GB, free: 104 kB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.313e-05/0.3655, allocations: 27.86 kB / 0.5237 GB, free: 96 kB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001317/0.3657, allocations: 63.08 kB / 0.5238 GB, free: 68 kB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.21e-07/0.3657, allocations: 0 / 0.5238 GB, free: 68 kB / 382.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001823/0.3659, allocations: 97.72 kB / 0.5238 GB, free: 16 kB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.519e-05/0.3659, allocations: 5.688 kB / 0.5239 GB, free: 16 kB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.208e-06/0.3659, allocations: 0 / 0.5239 GB, free: 16 kB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.445e-05/0.3659, allocations: 5.219 kB / 0.5239 GB, free: 12 kB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001016/0.366, allocations: 20.64 kB / 0.5239 GB, free: 8 kB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.051e-05/0.366, allocations: 9.812 kB / 0.5239 GB, free: 0 / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.111e-05/0.3661, allocations: 4.875 kB / 0.5239 GB, free: 0 / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.045e-06/0.3661, allocations: 1.875 kB / 0.5239 GB, free: 0 / 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 0.0001305/0.3662, allocations: 130.9 kB / 0.524 GB, free: 15.88 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.53e-05/0.3663, allocations: 13.84 kB / 0.524 GB, free: 15.87 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002884/0.3666, allocations: 120.6 kB / 0.5241 GB, free: 15.8 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.166e-06/0.3666, allocations: 1.859 kB / 0.5241 GB, free: 15.8 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.574e-06/0.3666, allocations: 8.594 kB / 0.5242 GB, free: 15.79 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.243e-06/0.3666, allocations: 0.6562 kB / 0.5242 GB, free: 15.79 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005086/0.3671, allocations: 407.3 kB / 0.5245 GB, free: 15.44 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.25e-06/0.3671, allocations: 10.16 kB / 0.5246 GB, free: 15.43 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.836e-05/0.3672, allocations: 20.44 kB / 0.5246 GB, free: 15.43 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.23e-06/0.3672, allocations: 4.594 kB / 0.5246 GB, free: 15.42 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.043e-05/0.3672, allocations: 5.438 kB / 0.5246 GB, free: 15.42 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.335e-06/0.3672, allocations: 6.375 kB / 0.5246 GB, free: 15.41 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.3673, allocations: 0 / 0.5246 GB, free: 15.41 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000248/0.3675, allocations: 204 kB / 0.5248 GB, free: 15.25 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.435e-05/0.3676, allocations: 92.94 kB / 0.5249 GB, free: 15.14 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.764e-05/0.3676, allocations: 2.344 kB / 0.5249 GB, free: 15.14 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.232e-05/0.3677, allocations: 13.12 kB / 0.5249 GB, free: 15.14 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.64e-05/0.3677, allocations: 5.094 kB / 0.5249 GB, free: 15.14 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.873e-06/0.3677, allocations: 3.641 kB / 0.5249 GB, free: 15.14 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001729/0.3679, allocations: 188.4 kB / 0.5251 GB, free: 15.03 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3679, allocations: 0 / 0.5251 GB, free: 15.03 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002445/0.3682, allocations: 19.73 kB / 0.5251 GB, free: 15.03 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.0009937/0.3692, allocations: 450 kB / 0.5255 GB, free: 14.82 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002274/0.3694, allocations: 71.64 kB / 0.5256 GB, free: 14.79 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.3694, allocations: 0 / 0.5256 GB, free: 14.79 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 8.36e-05/0.3695, allocations: 31.23 kB / 0.5256 GB, free: 14.79 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003716/0.3699, allocations: 31.66 kB / 0.5257 GB, free: 14.77 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004692/0.3704, allocations: 274.5 kB / 0.5259 GB, free: 14.59 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002543/0.3706, allocations: 0.7168 MB / 0.5266 GB, free: 13.88 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 5.442e-05/0.3707, allocations: 17.67 kB / 0.5266 GB, free: 13.87 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.074e-05/0.3707, allocations: 14.2 kB / 0.5266 GB, free: 13.86 MB / 398.1 MB Notification: Performance of SimCode: time 2.31e-07/0.3707, allocations: 0 / 0.5266 GB, free: 13.86 MB / 398.1 MB Notification: Performance of Templates: time 0.004067/0.3748, allocations: 1.336 MB / 0.5279 GB, free: 13.45 MB / 398.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test32.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test32.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test32.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test32.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test32.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test32 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test32.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test32_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test32/Test32.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test32.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches