Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test52.conf.json 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/ModelicaServices 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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test52,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.Test52") translateModel(ModelicaTest.Tables.CombiTimeTable.Test52,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.Test52") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001225/0.001224, allocations: 186.9 kB / 17.97 MB, free: 3.797 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.461/1.461, allocations: 222.9 MB / 241.6 MB, free: 11 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001065/0.001065, allocations: 100.5 kB / 291.9 MB, free: 10.95 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.4059/0.4059, allocations: 44.13 MB / 386.1 MB, free: 38 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001206/0.001207, allocations: 59.91 kB / 457.7 MB, free: 2.312 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5059/0.5072, allocations: 60.8 MB / 0.5064 GB, free: 38.12 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test52): time 0.00444/0.5117, allocations: 1.764 MB / 0.5081 GB, free: 36.91 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.002019/0.5137, allocations: 0.8664 MB / 0.509 GB, free: 36.31 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001067/0.5139, allocations: 2.562 kB / 0.509 GB, free: 36.31 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004269/0.5143, allocations: 43.31 kB / 0.509 GB, free: 36.3 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002227/0.5146, allocations: 52.06 kB / 0.5091 GB, free: 36.27 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003073/0.5149, allocations: 93.66 kB / 0.5091 GB, free: 36.22 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002049/0.5151, allocations: 94.36 kB / 0.5092 GB, free: 36.18 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001574/0.5153, allocations: 16.27 kB / 0.5093 GB, free: 36.18 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001003/0.5154, allocations: 40.58 kB / 0.5093 GB, free: 36.16 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001118/0.5155, allocations: 36.78 kB / 0.5093 GB, free: 36.14 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 2.453e-05/0.5155, allocations: 6.25 kB / 0.5093 GB, free: 36.13 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001271/0.5157, allocations: 42.14 kB / 0.5094 GB, free: 36.12 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 8.17e-05/0.5158, allocations: 22.14 kB / 0.5094 GB, free: 36.11 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 6.663e-05/0.5158, allocations: 32.62 kB / 0.5094 GB, free: 36.09 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002378/0.5161, allocations: 117.3 kB / 0.5095 GB, free: 36.04 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.99e-06/0.5161, allocations: 0 / 0.5095 GB, free: 36.04 MB / 378.7 MB Notification: Performance of FrontEnd: time 9.52e-07/0.5161, allocations: 0 / 0.5095 GB, free: 36.04 MB / 378.7 MB Notification: Performance of Transformations before backend: time 6.231e-06/0.5161, allocations: 0 / 0.5095 GB, free: 36.04 MB / 378.7 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.0007096/0.5168, allocations: 432 kB / 0.5099 GB, free: 35.62 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.023e-05/0.5169, allocations: 10.97 kB / 0.51 GB, free: 35.62 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.359e-05/0.5169, allocations: 11.7 kB / 0.51 GB, free: 35.61 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002479/0.5172, allocations: 215.5 kB / 0.5102 GB, free: 35.39 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.952e-05/0.5172, allocations: 10.53 kB / 0.5102 GB, free: 35.39 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.534e-05/0.5173, allocations: 4.125 kB / 0.5102 GB, free: 35.38 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001564/0.5174, allocations: 57.78 kB / 0.5102 GB, free: 35.34 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.179e-05/0.5174, allocations: 0 / 0.5102 GB, free: 35.34 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.11e-05/0.5175, allocations: 0 / 0.5102 GB, free: 35.34 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.184e-06/0.5175, allocations: 6.812 kB / 0.5103 GB, free: 35.34 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.341e-05/0.5176, allocations: 19.14 kB / 0.5103 GB, free: 35.33 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003727/0.5179, allocations: 287.7 kB / 0.5105 GB, free: 35.04 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001652/0.5181, allocations: 56.28 kB / 0.5106 GB, free: 35.01 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.113e-05/0.5182, allocations: 21.02 kB / 0.5106 GB, free: 35 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.686e-05/0.5182, allocations: 6.969 kB / 0.5106 GB, free: 34.99 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002099/0.5184, allocations: 72.33 kB / 0.5107 GB, free: 34.93 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 1.292e-06/0.5184, allocations: 0 / 0.5107 GB, free: 34.93 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0006324/0.5191, allocations: 170.5 kB / 0.5109 GB, free: 34.85 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.969e-05/0.5191, allocations: 59.34 kB / 0.5109 GB, free: 34.78 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002116/0.5193, allocations: 229.2 kB / 0.5111 GB, free: 34.64 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.627e-05/0.5194, allocations: 29.7 kB / 0.5112 GB, free: 34.6 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.276e-05/0.5194, allocations: 104.7 kB / 0.5113 GB, free: 34.5 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.3e-05/0.5195, allocations: 24.56 kB / 0.5113 GB, free: 34.49 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.037e-05/0.5195, allocations: 23.16 kB / 0.5113 GB, free: 34.46 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 9.042e-05/0.5196, allocations: 327.7 kB / 0.5116 GB, free: 34.14 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.891e-05/0.5197, allocations: 22.8 kB / 0.5116 GB, free: 34.14 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.81e-05/0.5198, allocations: 36.52 kB / 0.5117 GB, free: 34.11 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001152/0.5199, allocations: 66.92 kB / 0.5117 GB, free: 34.07 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.082e-06/0.5199, allocations: 0 / 0.5117 GB, free: 34.07 MB / 378.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001765/0.5201, allocations: 105.9 kB / 0.5118 GB, free: 34 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.509e-05/0.5201, allocations: 5.938 kB / 0.5118 GB, free: 34 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.466e-06/0.5201, allocations: 384 / 0.5118 GB, free: 34 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.863e-05/0.5201, allocations: 2.906 kB / 0.5118 GB, free: 34 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.544e-05/0.5202, allocations: 21.14 kB / 0.5119 GB, free: 34 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.735e-06/0.5203, allocations: 0 / 0.5119 GB, free: 34 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.665e-05/0.5203, allocations: 14.47 kB / 0.5119 GB, free: 33.99 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.085e-06/0.5203, allocations: 2.5 kB / 0.5119 GB, free: 33.99 MB / 378.7 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 9.751e-05/0.5204, allocations: 127.9 kB / 0.512 GB, free: 33.87 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.437e-05/0.5205, allocations: 17.14 kB / 0.512 GB, free: 33.86 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.427e-05/0.5205, allocations: 15.31 kB / 0.512 GB, free: 33.85 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.188e-06/0.5205, allocations: 3.219 kB / 0.512 GB, free: 33.85 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.967e-06/0.5205, allocations: 0 / 0.512 GB, free: 33.85 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.394e-06/0.5206, allocations: 11.06 kB / 0.5121 GB, free: 33.84 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004415/0.521, allocations: 397.6 kB / 0.5124 GB, free: 33.49 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.004e-06/0.521, allocations: 0 / 0.5124 GB, free: 33.49 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.135e-05/0.521, allocations: 11.94 kB / 0.5124 GB, free: 33.49 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.485e-06/0.5211, allocations: 0 / 0.5124 GB, free: 33.49 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.814e-05/0.5211, allocations: 9.859 kB / 0.5125 GB, free: 33.48 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.545e-06/0.5211, allocations: 3.938 kB / 0.5125 GB, free: 33.48 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.5211, allocations: 0 / 0.5125 GB, free: 33.48 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000543/0.5216, allocations: 0.7877 MB / 0.5132 GB, free: 32.71 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.159e-05/0.5217, allocations: 86.7 kB / 0.5133 GB, free: 32.62 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.654e-05/0.5217, allocations: 0 / 0.5133 GB, free: 32.62 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.207e-05/0.5218, allocations: 6.031 kB / 0.5133 GB, free: 32.62 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.661e-05/0.5219, allocations: 10.89 kB / 0.5133 GB, free: 32.61 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.202e-05/0.5219, allocations: 6.188 kB / 0.5133 GB, free: 32.61 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001654/0.5221, allocations: 176.1 kB / 0.5135 GB, free: 32.5 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.5221, allocations: 0 / 0.5135 GB, free: 32.5 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0004255/0.5225, allocations: 21.06 kB / 0.5135 GB, free: 32.5 MB / 378.7 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.001367/0.5239, allocations: 475.2 kB / 0.514 GB, free: 32.28 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.000212/0.5241, allocations: 61.05 kB / 0.514 GB, free: 32.25 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.975e-06/0.5241, allocations: 0 / 0.514 GB, free: 32.25 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 8.991e-05/0.5242, allocations: 28.81 kB / 0.5141 GB, free: 32.25 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004324/0.5247, allocations: 32.19 kB / 0.5141 GB, free: 32.24 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006955/0.5254, allocations: 405.1 kB / 0.5145 GB, free: 31.91 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002367/0.5256, allocations: 0.7192 MB / 0.5152 GB, free: 31.21 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 6.886e-05/0.5257, allocations: 13.67 kB / 0.5152 GB, free: 31.21 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.668e-05/0.5258, allocations: 16.78 kB / 0.5152 GB, free: 31.2 MB / 378.7 MB Notification: Performance of SimCode: time 2.91e-07/0.5258, allocations: 0 / 0.5152 GB, free: 31.2 MB / 378.7 MB Notification: Performance of Templates: time 0.004916/0.5307, allocations: 1.688 MB / 0.5169 GB, free: 31.02 MB / 378.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test52.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test52.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test52.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test52.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test52.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test52 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test52.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test52_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test52/Test52.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test52.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches