Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test5.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.Test5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|d_t_new2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test5") translateModel(ModelicaTest.Tables.CombiTimeTable.Test5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|d_t_new2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test5") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00134/0.001341, allocations: 108.1 kB / 18.45 MB, free: 4.602 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.001509/0.001509, allocations: 184.2 kB / 19.38 MB, free: 3.684 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.32/1.32, allocations: 222.9 MB / 243.1 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.1944/0.1944, allocations: 44.18 MB / 337.4 MB, free: 2.656 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001559/0.001559, allocations: 63.91 kB / 471.3 MB, free: 13.07 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4127/0.4143, allocations: 60.82 MB / 0.5197 GB, free: 3.621 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test5): time 0.003043/0.4174, allocations: 1.748 MB / 0.5214 GB, free: 2.402 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001368/0.4187, allocations: 0.8895 MB / 0.5222 GB, free: 1.789 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.275e-05/0.4188, allocations: 1.312 kB / 0.5222 GB, free: 1.789 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004065/0.4193, allocations: 101 kB / 0.5223 GB, free: 1.77 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002761/0.4196, allocations: 89.77 kB / 0.5224 GB, free: 1.734 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003258/0.4199, allocations: 119.4 kB / 0.5225 GB, free: 1.668 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002128/0.4201, allocations: 124.1 kB / 0.5226 GB, free: 1.621 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001209/0.4202, allocations: 20.77 kB / 0.5227 GB, free: 1.613 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001204/0.4204, allocations: 61.58 kB / 0.5227 GB, free: 1.59 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001676/0.4205, allocations: 70.3 kB / 0.5228 GB, free: 1.566 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.019e-05/0.4206, allocations: 5.562 kB / 0.5228 GB, free: 1.566 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001859/0.4208, allocations: 67.58 kB / 0.5229 GB, free: 1.543 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 9.075e-05/0.4209, allocations: 29.48 kB / 0.5229 GB, free: 1.531 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 8.233e-05/0.421, allocations: 49 kB / 0.5229 GB, free: 1.496 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003461/0.4213, allocations: 154.3 kB / 0.5231 GB, free: 1.434 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.582e-06/0.4213, allocations: 0 / 0.5231 GB, free: 1.434 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.104e-06/0.4213, allocations: 1.344 kB / 0.5231 GB, free: 1.434 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.155e-05/0.4214, allocations: 0.75 kB / 0.5231 GB, free: 1.434 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: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0006986/0.4221, allocations: 451.6 kB / 0.5235 GB, free: 1.004 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.803e-05/0.4221, allocations: 9.812 kB / 0.5235 GB, free: 1.004 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.556e-05/0.4222, allocations: 19.28 kB / 0.5235 GB, free: 0.9922 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003647/0.4226, allocations: 226.4 kB / 0.5238 GB, free: 0.7656 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.356e-05/0.4226, allocations: 7.281 kB / 0.5238 GB, free: 0.7617 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.573e-05/0.4226, allocations: 7.375 kB / 0.5238 GB, free: 0.7578 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002024/0.4229, allocations: 79.45 kB / 0.5238 GB, free: 0.707 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.397e-05/0.4229, allocations: 0 / 0.5238 GB, free: 0.707 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.393e-05/0.4229, allocations: 1.062 kB / 0.5239 GB, free: 0.707 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.514e-06/0.4229, allocations: 1.125 kB / 0.5239 GB, free: 0.707 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001134/0.423, allocations: 35.06 kB / 0.5239 GB, free: 0.6992 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004918/0.4235, allocations: 331.3 kB / 0.5242 GB, free: 404 kB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002849/0.4238, allocations: 78.22 kB / 0.5243 GB, free: 360 kB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.214e-05/0.4239, allocations: 31.23 kB / 0.5243 GB, free: 340 kB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.611e-05/0.4239, allocations: 3.406 kB / 0.5243 GB, free: 340 kB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001581/0.4241, allocations: 74.98 kB / 0.5244 GB, free: 280 kB / 382.1 MB Notification: Performance of pre-optimization done (n=9): time 1.353e-06/0.4241, allocations: 0 / 0.5244 GB, free: 280 kB / 382.1 MB Notification: Performance of matching and sorting (n=14): time 0.0008653/0.425, allocations: 308.9 kB / 0.5247 GB, free: 136 kB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.855e-05/0.425, allocations: 53.25 kB / 0.5247 GB, free: 72 kB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002944/0.4253, allocations: 244.5 kB / 0.525 GB, free: 15.93 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.188e-05/0.4253, allocations: 30.92 kB / 0.525 GB, free: 15.89 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.655e-05/0.4254, allocations: 119.5 kB / 0.5251 GB, free: 15.79 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.299e-05/0.4255, allocations: 47.45 kB / 0.5251 GB, free: 15.75 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.227e-05/0.4255, allocations: 31.03 kB / 0.5252 GB, free: 15.73 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001333/0.4257, allocations: 332.7 kB / 0.5255 GB, free: 15.4 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.459e-05/0.4258, allocations: 40.52 kB / 0.5255 GB, free: 15.39 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.66e-05/0.4259, allocations: 60.09 kB / 0.5256 GB, free: 15.36 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001699/0.426, allocations: 101.7 kB / 0.5257 GB, free: 15.3 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.71e-07/0.4261, allocations: 5.062 kB / 0.5257 GB, free: 15.3 MB / 398.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0002658/0.4263, allocations: 158.2 kB / 0.5258 GB, free: 15.22 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.784e-05/0.4264, allocations: 4.656 kB / 0.5258 GB, free: 15.22 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.11e-06/0.4264, allocations: 0.8438 kB / 0.5258 GB, free: 15.22 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.892e-05/0.4264, allocations: 6 kB / 0.5259 GB, free: 15.21 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001001/0.4265, allocations: 25.02 kB / 0.5259 GB, free: 15.21 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.588e-06/0.4265, allocations: 5.719 kB / 0.5259 GB, free: 15.21 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.8e-05/0.4266, allocations: 11.56 kB / 0.5259 GB, free: 15.2 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.239e-05/0.4266, allocations: 5.156 kB / 0.5259 GB, free: 15.2 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 (16): * Single equations (assignments): 16 * 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.0001268/0.4267, allocations: 145 kB / 0.526 GB, free: 15.07 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.021e-05/0.4268, allocations: 15.7 kB / 0.5261 GB, free: 15.06 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.155e-05/0.4268, allocations: 21.7 kB / 0.5261 GB, free: 15.05 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.08e-06/0.4268, allocations: 9.625 kB / 0.5261 GB, free: 15.04 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.73e-06/0.4269, allocations: 0 / 0.5261 GB, free: 15.04 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.221e-06/0.4269, allocations: 3.016 kB / 0.5261 GB, free: 15.04 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006366/0.4275, allocations: 0.4998 MB / 0.5266 GB, free: 14.64 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.843e-06/0.4275, allocations: 0 / 0.5266 GB, free: 14.64 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.735e-05/0.4276, allocations: 18.61 kB / 0.5266 GB, free: 14.64 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.717e-06/0.4276, allocations: 2.125 kB / 0.5266 GB, free: 14.64 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.389e-05/0.4276, allocations: 3.453 kB / 0.5266 GB, free: 14.64 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.136e-06/0.4276, allocations: 2.031 kB / 0.5266 GB, free: 14.64 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.234e-06/0.4276, allocations: 1.375 kB / 0.5266 GB, free: 14.64 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000323/0.428, allocations: 266.9 kB / 0.5269 GB, free: 14.44 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.04e-05/0.428, allocations: 94.3 kB / 0.5269 GB, free: 14.33 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.033e-05/0.4281, allocations: 7.359 kB / 0.527 GB, free: 14.33 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.545e-05/0.4281, allocations: 3.312 kB / 0.527 GB, free: 14.33 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.11e-05/0.4282, allocations: 13.72 kB / 0.527 GB, free: 14.32 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.232e-05/0.4282, allocations: 10.39 kB / 0.527 GB, free: 14.32 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001816/0.4284, allocations: 183.9 kB / 0.5272 GB, free: 14.22 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.4284, allocations: 5.375 kB / 0.5272 GB, free: 14.21 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002908/0.4287, allocations: 33.25 kB / 0.5272 GB, free: 14.21 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (14): * Single equations (assignments): 12 * 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.001205/0.4299, allocations: 0.5074 MB / 0.5277 GB, free: 13.98 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.000253/0.4302, allocations: 108.6 kB / 0.5278 GB, free: 13.94 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.4302, allocations: 1.375 kB / 0.5278 GB, free: 13.94 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001055/0.4303, allocations: 51.02 kB / 0.5278 GB, free: 13.92 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003737/0.4307, allocations: 43.19 kB / 0.5279 GB, free: 13.91 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006323/0.4313, allocations: 359.6 kB / 0.5282 GB, free: 13.66 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003312/0.4317, allocations: 0.7224 MB / 0.5289 GB, free: 12.96 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.301e-05/0.4317, allocations: 22.69 kB / 0.5289 GB, free: 12.95 MB / 398.1 MB Notification: Performance of SimCode: time 8.21e-07/0.4317, allocations: 4 kB / 0.529 GB, free: 12.95 MB / 398.1 MB Notification: Performance of Templates: time 0.004548/0.4363, allocations: 2.481 MB / 0.5314 GB, free: 11.79 MB / 398.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test5.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test5.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test5.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test5.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test5.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test5 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test5.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test5_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test5/Test5.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test5.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches