Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.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.CombiTimeTable.Test30,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test30") translateModel(ModelicaTest.Tables.CombiTimeTable.Test30,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test30") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001314/0.001315, 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.001342/0.001343, 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.451/1.451, allocations: 222.9 MB / 242.4 MB, free: 15.08 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.2241/0.2241, allocations: 44.19 MB / 336.7 MB, free: 2.672 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001318/0.001318, allocations: 67.91 kB / 470.6 MB, free: 13.09 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4093/0.4107, allocations: 60.81 MB / 0.519 GB, free: 3.648 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test30): time 0.003124/0.4139, allocations: 1.711 MB / 0.5206 GB, free: 2.457 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001531/0.4154, allocations: 0.8801 MB / 0.5215 GB, free: 1.852 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.319e-05/0.4155, allocations: 1.031 kB / 0.5215 GB, free: 1.852 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003378/0.4159, allocations: 34.48 kB / 0.5215 GB, free: 1.836 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002706/0.4162, allocations: 55.56 kB / 0.5216 GB, free: 1.805 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003438/0.4165, allocations: 109.5 kB / 0.5217 GB, free: 1.746 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001896/0.4167, allocations: 104.5 kB / 0.5218 GB, free: 1.695 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001105/0.4168, allocations: 7.766 kB / 0.5218 GB, free: 1.691 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000102/0.417, allocations: 41.61 kB / 0.5218 GB, free: 1.672 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.254e-05/0.417, allocations: 30.45 kB / 0.5219 GB, free: 1.656 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.979e-05/0.4171, allocations: 7.125 kB / 0.5219 GB, free: 1.652 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001296/0.4172, allocations: 42.75 kB / 0.5219 GB, free: 1.641 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.577e-05/0.4173, allocations: 18.8 kB / 0.5219 GB, free: 1.633 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 6.156e-05/0.4173, allocations: 41.2 kB / 0.522 GB, free: 1.602 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002307/0.4176, allocations: 114.7 kB / 0.5221 GB, free: 1.555 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.522e-06/0.4176, allocations: 1.125 kB / 0.5221 GB, free: 1.555 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.242e-06/0.4176, allocations: 0 / 0.5221 GB, free: 1.555 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.773e-06/0.4176, allocations: 0 / 0.5221 GB, free: 1.555 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0005469/0.4182, allocations: 412.2 kB / 0.5225 GB, free: 1.152 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.981e-05/0.4182, allocations: 9.969 kB / 0.5225 GB, free: 1.152 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.107e-05/0.4183, allocations: 9.438 kB / 0.5225 GB, free: 1.148 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002784/0.4186, allocations: 202.8 kB / 0.5227 GB, free: 0.9375 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.577e-05/0.4186, allocations: 5.625 kB / 0.5227 GB, free: 0.9336 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.267e-05/0.4186, allocations: 7.234 kB / 0.5227 GB, free: 0.9297 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001574/0.4188, allocations: 57.86 kB / 0.5228 GB, free: 0.8867 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.274e-05/0.4188, allocations: 3.906 kB / 0.5228 GB, free: 0.8828 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.368e-05/0.4188, allocations: 2.234 kB / 0.5228 GB, free: 0.8828 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.759e-06/0.4188, allocations: 3.938 kB / 0.5228 GB, free: 0.8789 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.595e-05/0.4189, allocations: 22.19 kB / 0.5228 GB, free: 0.8711 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003293/0.4192, allocations: 282.4 kB / 0.5231 GB, free: 0.5859 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001655/0.4194, allocations: 59.77 kB / 0.5231 GB, free: 0.5469 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.181e-05/0.4195, allocations: 20.59 kB / 0.5231 GB, free: 0.5352 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.525e-05/0.4195, allocations: 2.266 kB / 0.5231 GB, free: 0.5352 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001404/0.4196, allocations: 64.84 kB / 0.5232 GB, free: 492 kB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.674e-06/0.4197, allocations: 4 kB / 0.5232 GB, free: 488 kB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005666/0.4202, allocations: 180.5 kB / 0.5234 GB, free: 392 kB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.152e-05/0.4203, allocations: 57.62 kB / 0.5234 GB, free: 324 kB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001667/0.4204, allocations: 185.9 kB / 0.5236 GB, free: 192 kB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.141e-05/0.4205, allocations: 27.5 kB / 0.5236 GB, free: 160 kB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.122e-05/0.4205, allocations: 99.19 kB / 0.5237 GB, free: 64 kB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.902e-05/0.4206, allocations: 26.55 kB / 0.5238 GB, free: 44 kB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.534e-05/0.4206, allocations: 22.31 kB / 0.5238 GB, free: 24 kB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001426/0.4207, allocations: 334.2 kB / 0.5241 GB, free: 15.69 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.894e-05/0.4208, allocations: 16.64 kB / 0.5241 GB, free: 15.69 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.62e-05/0.4209, allocations: 44.61 kB / 0.5242 GB, free: 15.66 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001146/0.421, allocations: 56.14 kB / 0.5242 GB, free: 15.62 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.012e-06/0.421, allocations: 1.5 kB / 0.5242 GB, free: 15.62 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001936/0.4212, allocations: 104.5 kB / 0.5243 GB, free: 15.56 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.657e-05/0.4213, allocations: 10.12 kB / 0.5243 GB, free: 15.56 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.941e-06/0.4213, allocations: 1 kB / 0.5243 GB, free: 15.56 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.589e-05/0.4213, allocations: 1.094 kB / 0.5243 GB, free: 15.56 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001018/0.4214, allocations: 18.8 kB / 0.5243 GB, free: 15.55 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.651e-06/0.4214, allocations: 0.9688 kB / 0.5243 GB, free: 15.55 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.193e-05/0.4215, allocations: 11.28 kB / 0.5244 GB, free: 15.55 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.484e-06/0.4215, allocations: 3.219 kB / 0.5244 GB, free: 15.55 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * 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.0001038/0.4216, allocations: 132.4 kB / 0.5245 GB, free: 15.42 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.457e-05/0.4216, allocations: 17.8 kB / 0.5245 GB, free: 15.41 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.213e-05/0.4217, allocations: 16.42 kB / 0.5245 GB, free: 15.4 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.914e-06/0.4217, allocations: 0 / 0.5245 GB, free: 15.4 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.09e-06/0.4217, allocations: 2.391 kB / 0.5245 GB, free: 15.4 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.88e-06/0.4217, allocations: 3.938 kB / 0.5245 GB, free: 15.4 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004501/0.4221, allocations: 382.1 kB / 0.5249 GB, free: 15.06 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.495e-06/0.4222, allocations: 4.547 kB / 0.5249 GB, free: 15.05 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.525e-05/0.4222, allocations: 11.84 kB / 0.5249 GB, free: 15.05 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.975e-06/0.4222, allocations: 6.078 kB / 0.5249 GB, free: 15.05 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.217e-05/0.4222, allocations: 5.812 kB / 0.5249 GB, free: 15.04 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.553e-06/0.4222, allocations: 1.281 kB / 0.5249 GB, free: 15.04 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.944e-06/0.4222, allocations: 1.219 kB / 0.5249 GB, free: 15.04 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002267/0.4225, allocations: 204.5 kB / 0.5251 GB, free: 14.88 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.208e-05/0.4225, allocations: 85.55 kB / 0.5252 GB, free: 14.78 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.506e-05/0.4226, allocations: 10.19 kB / 0.5252 GB, free: 14.77 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.114e-05/0.4226, allocations: 6.891 kB / 0.5252 GB, free: 14.77 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.32e-05/0.4227, allocations: 5.156 kB / 0.5252 GB, free: 14.77 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.81e-05/0.4227, allocations: 7.984 kB / 0.5252 GB, free: 14.76 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001175/0.4228, allocations: 144.3 kB / 0.5254 GB, free: 14.67 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.4228, allocations: 0 / 0.5254 GB, free: 14.67 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002764/0.4231, allocations: 26.41 kB / 0.5254 GB, free: 14.66 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: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001424/0.4245, allocations: 475.2 kB / 0.5258 GB, free: 14.44 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.000241/0.4248, allocations: 60.56 kB / 0.5259 GB, free: 14.42 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.395e-06/0.4248, allocations: 0 / 0.5259 GB, free: 14.42 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 9.341e-05/0.4249, allocations: 25.06 kB / 0.5259 GB, free: 14.41 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005193/0.4254, allocations: 34.84 kB / 0.526 GB, free: 14.4 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005844/0.426, allocations: 218.5 kB / 0.5262 GB, free: 14.23 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004921/0.4266, allocations: 0.705 MB / 0.5268 GB, free: 13.53 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 7.228e-05/0.4266, allocations: 16.7 kB / 0.5269 GB, free: 13.53 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.848e-05/0.4267, allocations: 24.52 kB / 0.5269 GB, free: 13.51 MB / 398.1 MB Notification: Performance of SimCode: time 3.01e-07/0.4267, allocations: 0 / 0.5269 GB, free: 13.51 MB / 398.1 MB Notification: Performance of Templates: time 0.004864/0.4316, allocations: 1.705 MB / 0.5286 GB, free: 12.97 MB / 398.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test30.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test30.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test30.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test30.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test30.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test30 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test30.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test30_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test30/Test30.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test30.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches