Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test24.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.Test24,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.Test24") translateModel(ModelicaTest.Tables.CombiTimeTable.Test24,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.Test24") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001727/0.001727, 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.647/1.647, 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.0009769/0.0009772, allocations: 103.5 kB / 291.9 MB, free: 10.96 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.3258/0.3258, allocations: 44.13 MB / 386.1 MB, free: 37.95 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001179/0.00118, allocations: 59.91 kB / 457.8 MB, free: 2.301 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4043/0.4055, allocations: 60.8 MB / 0.5064 GB, free: 38.22 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test24): time 0.003379/0.4089, allocations: 1.758 MB / 0.5081 GB, free: 37.02 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001377/0.4103, allocations: 0.8693 MB / 0.509 GB, free: 36.42 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.979e-05/0.4104, allocations: 3.938 kB / 0.509 GB, free: 36.41 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000335/0.4108, allocations: 43.22 kB / 0.509 GB, free: 36.4 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001927/0.411, allocations: 48.84 kB / 0.5091 GB, free: 36.37 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002694/0.4113, allocations: 91.47 kB / 0.5091 GB, free: 36.32 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001737/0.4115, allocations: 95.94 kB / 0.5092 GB, free: 36.28 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001146/0.4116, allocations: 14.78 kB / 0.5092 GB, free: 36.27 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.873e-05/0.4117, allocations: 35.09 kB / 0.5093 GB, free: 36.26 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.969e-05/0.4118, allocations: 32.88 kB / 0.5093 GB, free: 36.24 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 2.004e-05/0.4118, allocations: 2.719 kB / 0.5093 GB, free: 36.24 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.722e-05/0.4119, allocations: 39.7 kB / 0.5094 GB, free: 36.23 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 6.397e-05/0.412, allocations: 20 kB / 0.5094 GB, free: 36.22 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 5.267e-05/0.412, allocations: 48.09 kB / 0.5094 GB, free: 36.19 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000205/0.4122, allocations: 102.8 kB / 0.5095 GB, free: 36.15 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.21e-06/0.4122, allocations: 0 / 0.5095 GB, free: 36.15 MB / 378.7 MB Notification: Performance of FrontEnd: time 9.62e-07/0.4122, allocations: 0 / 0.5095 GB, free: 36.15 MB / 378.7 MB Notification: Performance of Transformations before backend: time 5.22e-06/0.4123, allocations: 0 / 0.5095 GB, free: 36.15 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.0005481/0.4128, allocations: 419 kB / 0.5099 GB, free: 35.74 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.271e-05/0.4129, allocations: 8.469 kB / 0.5099 GB, free: 35.74 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.516e-05/0.4129, allocations: 14 kB / 0.5099 GB, free: 35.73 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002064/0.4131, allocations: 206.1 kB / 0.5101 GB, free: 35.52 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.778e-05/0.4132, allocations: 7.312 kB / 0.5101 GB, free: 35.51 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.637e-05/0.4132, allocations: 4.125 kB / 0.5101 GB, free: 35.51 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001467/0.4133, allocations: 61.95 kB / 0.5102 GB, free: 35.46 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.267e-05/0.4134, allocations: 0 / 0.5102 GB, free: 35.46 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.081e-05/0.4134, allocations: 4 kB / 0.5102 GB, free: 35.46 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.11e-06/0.4134, allocations: 0 / 0.5102 GB, free: 35.46 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.324e-05/0.4135, allocations: 18.88 kB / 0.5102 GB, free: 35.46 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000332/0.4138, allocations: 289 kB / 0.5105 GB, free: 35.17 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001582/0.414, allocations: 59.95 kB / 0.5106 GB, free: 35.13 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.985e-05/0.414, allocations: 24.58 kB / 0.5106 GB, free: 35.11 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.172e-05/0.4141, allocations: 0 / 0.5106 GB, free: 35.11 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001769/0.4142, allocations: 67.31 kB / 0.5106 GB, free: 35.06 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 1.343e-06/0.4143, allocations: 0 / 0.5106 GB, free: 35.06 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.000507/0.4148, allocations: 169.9 kB / 0.5108 GB, free: 34.97 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.797e-05/0.4148, allocations: 57.58 kB / 0.5109 GB, free: 34.91 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001449/0.415, allocations: 206.7 kB / 0.5111 GB, free: 34.77 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.155e-05/0.415, allocations: 28.52 kB / 0.5111 GB, free: 34.73 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.291e-05/0.415, allocations: 102.3 kB / 0.5112 GB, free: 34.64 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.481e-05/0.4151, allocations: 25.44 kB / 0.5112 GB, free: 34.62 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.822e-05/0.4151, allocations: 22.64 kB / 0.5112 GB, free: 34.6 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 5.989e-05/0.4152, allocations: 327.6 kB / 0.5115 GB, free: 34.28 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.279e-05/0.4152, allocations: 29.91 kB / 0.5116 GB, free: 34.26 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.464e-05/0.4153, allocations: 33.55 kB / 0.5116 GB, free: 34.24 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.506e-05/0.4154, allocations: 58.31 kB / 0.5117 GB, free: 34.2 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.92e-07/0.4154, allocations: 0 / 0.5117 GB, free: 34.2 MB / 378.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001566/0.4156, allocations: 105.4 kB / 0.5118 GB, free: 34.14 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.626e-05/0.4156, allocations: 6.812 kB / 0.5118 GB, free: 34.14 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.849e-06/0.4156, allocations: 160 / 0.5118 GB, free: 34.14 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.628e-05/0.4156, allocations: 3.125 kB / 0.5118 GB, free: 34.14 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.689e-05/0.4157, allocations: 15.38 kB / 0.5118 GB, free: 34.14 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.276e-06/0.4157, allocations: 11.05 kB / 0.5118 GB, free: 34.13 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.174e-05/0.4158, allocations: 7.938 kB / 0.5118 GB, free: 34.12 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.636e-06/0.4158, allocations: 7.188 kB / 0.5118 GB, free: 34.12 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 8.135e-05/0.4159, allocations: 128.1 kB / 0.5119 GB, free: 34 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.084e-05/0.4159, allocations: 13.88 kB / 0.5119 GB, free: 33.99 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.335e-05/0.4159, allocations: 22.38 kB / 0.512 GB, free: 33.98 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.764e-06/0.4159, allocations: 0 / 0.512 GB, free: 33.98 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.021e-06/0.416, allocations: 3 kB / 0.512 GB, free: 33.98 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.19e-06/0.416, allocations: 3.938 kB / 0.512 GB, free: 33.98 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003731/0.4164, allocations: 391.2 kB / 0.5123 GB, free: 33.63 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.843e-06/0.4164, allocations: 0 / 0.5123 GB, free: 33.63 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.901e-05/0.4164, allocations: 8.5 kB / 0.5124 GB, free: 33.63 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.653e-06/0.4164, allocations: 0 / 0.5124 GB, free: 33.63 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.271e-05/0.4164, allocations: 10.5 kB / 0.5124 GB, free: 33.62 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.324e-06/0.4164, allocations: 3.188 kB / 0.5124 GB, free: 33.62 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.031e-06/0.4164, allocations: 0 / 0.5124 GB, free: 33.62 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004021/0.4168, allocations: 0.7857 MB / 0.5131 GB, free: 32.86 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.18e-05/0.4169, allocations: 87.2 kB / 0.5132 GB, free: 32.76 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.393e-05/0.4169, allocations: 7.984 kB / 0.5132 GB, free: 32.75 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.444e-05/0.417, allocations: 2.844 kB / 0.5132 GB, free: 32.75 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.803e-05/0.417, allocations: 6.062 kB / 0.5132 GB, free: 32.75 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.596e-05/0.4171, allocations: 6.906 kB / 0.5132 GB, free: 32.75 MB / 378.7 MB Notification: Performance of sorting global known variables: time 9.998e-05/0.4172, allocations: 157 kB / 0.5134 GB, free: 32.65 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4172, allocations: 0 / 0.5134 GB, free: 32.65 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003336/0.4175, allocations: 25.41 kB / 0.5134 GB, free: 32.64 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.001019/0.4185, allocations: 471.2 kB / 0.5139 GB, free: 32.42 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001682/0.4187, allocations: 56.97 kB / 0.5139 GB, free: 32.4 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.414e-06/0.4187, allocations: 0 / 0.5139 GB, free: 32.4 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 6.49e-05/0.4188, allocations: 28.73 kB / 0.5139 GB, free: 32.39 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003165/0.4191, allocations: 28.83 kB / 0.514 GB, free: 32.39 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004667/0.4196, allocations: 376.8 kB / 0.5143 GB, free: 32.07 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001569/0.4198, allocations: 0.7094 MB / 0.515 GB, free: 31.38 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 5.03e-05/0.4198, allocations: 20.89 kB / 0.515 GB, free: 31.37 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.751e-05/0.4199, allocations: 23.47 kB / 0.5151 GB, free: 31.36 MB / 378.7 MB Notification: Performance of SimCode: time 2.01e-07/0.4199, allocations: 0 / 0.5151 GB, free: 31.36 MB / 378.7 MB Notification: Performance of Templates: time 0.003973/0.4238, allocations: 1.684 MB / 0.5167 GB, free: 31.16 MB / 378.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test24.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test24.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test24.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test24.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test24.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test24 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test24.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test24_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test24/Test24.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test24.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches