Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test45.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.Test45,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.Test45") translateModel(ModelicaTest.Tables.CombiTimeTable.Test45,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.Test45") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001307/0.001307, allocations: 109.3 kB / 18.45 MB, free: 4.625 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.00124/0.00124, allocations: 185.1 kB / 19.37 MB, free: 3.707 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.363/1.363, allocations: 222.9 MB / 243.1 MB, free: 15.06 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.2046/0.2046, allocations: 44.18 MB / 337.4 MB, free: 2.668 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00118/0.00118, allocations: 75.83 kB / 471.3 MB, free: 13.09 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3557/0.3569, allocations: 60.81 MB / 0.5196 GB, free: 3.656 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test45): time 0.002806/0.3598, allocations: 1.711 MB / 0.5213 GB, free: 2.465 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001269/0.361, allocations: 0.8723 MB / 0.5222 GB, free: 1.867 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.997e-05/0.3611, allocations: 8.969 kB / 0.5222 GB, free: 1.859 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003013/0.3614, allocations: 37.58 kB / 0.5222 GB, free: 1.844 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002083/0.3617, allocations: 56.05 kB / 0.5223 GB, free: 1.812 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002817/0.362, allocations: 112.6 kB / 0.5224 GB, free: 1.75 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001622/0.3621, allocations: 96.05 kB / 0.5225 GB, free: 1.707 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.44e-05/0.3622, allocations: 12.34 kB / 0.5225 GB, free: 1.699 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.906e-05/0.3623, allocations: 41.52 kB / 0.5225 GB, free: 1.68 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.311e-05/0.3624, allocations: 29.77 kB / 0.5225 GB, free: 1.664 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.927e-05/0.3624, allocations: 4.344 kB / 0.5225 GB, free: 1.664 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.848e-05/0.3625, allocations: 43.31 kB / 0.5226 GB, free: 1.652 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.786e-05/0.3626, allocations: 22.48 kB / 0.5226 GB, free: 1.641 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.836e-05/0.3626, allocations: 34.11 kB / 0.5226 GB, free: 1.617 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001964/0.3628, allocations: 116.4 kB / 0.5228 GB, free: 1.57 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.388e-06/0.3629, allocations: 3.938 kB / 0.5228 GB, free: 1.566 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.563e-06/0.3629, allocations: 1.438 kB / 0.5228 GB, free: 1.566 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.64e-06/0.3629, allocations: 4 kB / 0.5228 GB, free: 1.562 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.000466/0.3633, allocations: 406.1 kB / 0.5231 GB, free: 1.164 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.578e-05/0.3634, allocations: 8.906 kB / 0.5232 GB, free: 1.164 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.341e-05/0.3634, allocations: 14.12 kB / 0.5232 GB, free: 1.156 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002238/0.3637, allocations: 212.3 kB / 0.5234 GB, free: 0.9375 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.043e-05/0.3637, allocations: 1.656 kB / 0.5234 GB, free: 0.9375 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.499e-05/0.3637, allocations: 7.141 kB / 0.5234 GB, free: 0.9336 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001427/0.3639, allocations: 53.58 kB / 0.5234 GB, free: 0.8945 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.367e-05/0.3639, allocations: 17 kB / 0.5234 GB, free: 0.8789 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.108e-05/0.3639, allocations: 0.6562 kB / 0.5234 GB, free: 0.8789 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.178e-06/0.3639, allocations: 1.219 kB / 0.5235 GB, free: 0.8789 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.45e-05/0.364, allocations: 22.16 kB / 0.5235 GB, free: 0.8711 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003004/0.3643, allocations: 292.7 kB / 0.5238 GB, free: 0.5781 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001494/0.3645, allocations: 55.78 kB / 0.5238 GB, free: 0.543 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.691e-05/0.3645, allocations: 27.61 kB / 0.5238 GB, free: 0.5234 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.051e-05/0.3645, allocations: 0.7969 kB / 0.5238 GB, free: 0.5234 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001359/0.3647, allocations: 65.62 kB / 0.5239 GB, free: 480 kB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.422e-06/0.3647, allocations: 1.375 kB / 0.5239 GB, free: 480 kB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005054/0.3652, allocations: 175.9 kB / 0.5241 GB, free: 388 kB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.427e-05/0.3652, allocations: 60.44 kB / 0.5241 GB, free: 316 kB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001624/0.3654, allocations: 193.2 kB / 0.5243 GB, free: 184 kB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.161e-05/0.3654, allocations: 31.66 kB / 0.5243 GB, free: 148 kB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.928e-05/0.3655, allocations: 100.8 kB / 0.5244 GB, free: 52 kB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.648e-05/0.3655, allocations: 24.86 kB / 0.5245 GB, free: 32 kB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.552e-05/0.3655, allocations: 27.31 kB / 0.5245 GB, free: 8 kB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001324/0.3657, allocations: 325.2 kB / 0.5248 GB, free: 15.69 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.82e-05/0.3657, allocations: 18.06 kB / 0.5248 GB, free: 15.68 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.794e-05/0.3658, allocations: 38.88 kB / 0.5248 GB, free: 15.66 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001161/0.3659, allocations: 65.34 kB / 0.5249 GB, free: 15.61 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.925e-06/0.366, allocations: 1.438 kB / 0.5249 GB, free: 15.61 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001853/0.3661, allocations: 105.3 kB / 0.525 GB, free: 15.55 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.481e-05/0.3662, allocations: 5.594 kB / 0.525 GB, free: 15.55 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.319e-06/0.3662, allocations: 0 / 0.525 GB, free: 15.55 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.34e-05/0.3662, allocations: 1.125 kB / 0.525 GB, free: 15.55 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.86e-05/0.3663, allocations: 19.91 kB / 0.525 GB, free: 15.55 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.442e-06/0.3663, allocations: 1.906 kB / 0.525 GB, free: 15.55 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.77e-05/0.3664, allocations: 6.469 kB / 0.525 GB, free: 15.54 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.013e-06/0.3664, allocations: 3.031 kB / 0.525 GB, free: 15.54 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.0001103/0.3665, allocations: 126.2 kB / 0.5252 GB, free: 15.42 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.612e-05/0.3665, allocations: 15.5 kB / 0.5252 GB, free: 15.41 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.847e-05/0.3666, allocations: 19.59 kB / 0.5252 GB, free: 15.39 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.564e-06/0.3666, allocations: 1.5 kB / 0.5252 GB, free: 15.39 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.96e-06/0.3666, allocations: 4.609 kB / 0.5252 GB, free: 15.39 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.57e-06/0.3666, allocations: 3.938 kB / 0.5252 GB, free: 15.39 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004345/0.367, allocations: 392.9 kB / 0.5256 GB, free: 15.04 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.565e-06/0.3671, allocations: 0.6562 kB / 0.5256 GB, free: 15.04 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.368e-05/0.3671, allocations: 17.11 kB / 0.5256 GB, free: 15.03 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.574e-06/0.3671, allocations: 0.6094 kB / 0.5256 GB, free: 15.03 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.146e-05/0.3671, allocations: 7.25 kB / 0.5256 GB, free: 15.03 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.644e-06/0.3671, allocations: 0 / 0.5256 GB, free: 15.03 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.953e-06/0.3671, allocations: 2.078 kB / 0.5256 GB, free: 15.03 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000219/0.3674, allocations: 208.7 kB / 0.5258 GB, free: 14.86 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.96e-05/0.3674, allocations: 84.31 kB / 0.5259 GB, free: 14.76 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.578e-05/0.3675, allocations: 6.188 kB / 0.5259 GB, free: 14.75 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.518e-05/0.3675, allocations: 8.484 kB / 0.5259 GB, free: 14.75 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.839e-05/0.3676, allocations: 9.266 kB / 0.5259 GB, free: 14.75 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.406e-05/0.3676, allocations: 4.203 kB / 0.5259 GB, free: 14.75 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.000122/0.3677, allocations: 154.9 kB / 0.5261 GB, free: 14.65 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.3677, allocations: 0 / 0.5261 GB, free: 14.65 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002582/0.368, allocations: 26.5 kB / 0.5261 GB, free: 14.64 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.001043/0.369, allocations: 469.2 kB / 0.5265 GB, free: 14.43 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0001841/0.3692, allocations: 60.91 kB / 0.5266 GB, free: 14.41 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.3693, allocations: 0 / 0.5266 GB, free: 14.41 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 7.093e-05/0.3693, allocations: 24.02 kB / 0.5266 GB, free: 14.4 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003447/0.3697, allocations: 30.23 kB / 0.5266 GB, free: 14.39 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004646/0.3702, allocations: 263.1 kB / 0.5269 GB, free: 14.19 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002766/0.3704, allocations: 0.7057 MB / 0.5276 GB, free: 13.49 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.55e-05/0.3705, allocations: 17.42 kB / 0.5276 GB, free: 13.48 MB / 398.1 MB Notification: Performance of SimCode: time 3.41e-07/0.3705, allocations: 3.938 kB / 0.5276 GB, free: 13.48 MB / 398.1 MB Notification: Performance of Templates: time 0.003825/0.3743, allocations: 1.943 MB / 0.5295 GB, free: 12.78 MB / 398.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test45.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test45.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test45.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test45.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test45.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test45 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test45.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test45_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test45/Test45.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test45.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches