Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test19.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.Test19,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.Test19") translateModel(ModelicaTest.Tables.CombiTimeTable.Test19,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.Test19") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001265/0.001265, 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.377/1.377, allocations: 222.9 MB / 241.6 MB, free: 10.98 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.001028/0.001028, allocations: 104.2 kB / 291.9 MB, free: 10.94 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.4199/0.4199, allocations: 44.13 MB / 386.1 MB, free: 38.05 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001047/0.001047, allocations: 55.92 kB / 457.7 MB, free: 2.289 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4088/0.4099, allocations: 60.8 MB / 0.5064 GB, free: 38.35 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test19): time 0.002778/0.4127, allocations: 1.765 MB / 0.5081 GB, free: 37.14 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001233/0.4139, allocations: 0.8652 MB / 0.509 GB, free: 36.55 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.216e-05/0.414, allocations: 1.125 kB / 0.509 GB, free: 36.55 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003025/0.4143, allocations: 40.06 kB / 0.509 GB, free: 36.53 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001639/0.4145, allocations: 46.7 kB / 0.509 GB, free: 36.5 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002526/0.4148, allocations: 89.58 kB / 0.5091 GB, free: 36.46 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001482/0.415, allocations: 98.3 kB / 0.5092 GB, free: 36.42 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.498e-05/0.415, allocations: 13.36 kB / 0.5092 GB, free: 36.41 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.851e-05/0.4151, allocations: 44.17 kB / 0.5093 GB, free: 36.39 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.707e-05/0.4152, allocations: 38.14 kB / 0.5093 GB, free: 36.37 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.468e-05/0.4152, allocations: 0 / 0.5093 GB, free: 36.37 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.953e-05/0.4153, allocations: 41.2 kB / 0.5094 GB, free: 36.36 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 4.746e-05/0.4154, allocations: 13.02 kB / 0.5094 GB, free: 36.35 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 4.002e-05/0.4154, allocations: 32.47 kB / 0.5094 GB, free: 36.33 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001464/0.4155, allocations: 106 kB / 0.5095 GB, free: 36.29 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.458e-06/0.4156, allocations: 3.938 kB / 0.5095 GB, free: 36.29 MB / 378.7 MB Notification: Performance of FrontEnd: time 7.71e-07/0.4156, allocations: 3.938 kB / 0.5095 GB, free: 36.28 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.977e-06/0.4156, allocations: 0 / 0.5095 GB, free: 36.28 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.000423/0.416, allocations: 413.1 kB / 0.5099 GB, free: 35.88 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.967e-05/0.416, allocations: 8.719 kB / 0.5099 GB, free: 35.88 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.74e-05/0.4161, allocations: 10.53 kB / 0.5099 GB, free: 35.87 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001585/0.4162, allocations: 203.9 kB / 0.5101 GB, free: 35.66 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.398e-06/0.4163, allocations: 8.094 kB / 0.5101 GB, free: 35.65 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.002e-05/0.4163, allocations: 4.125 kB / 0.5101 GB, free: 35.65 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001197/0.4164, allocations: 57.09 kB / 0.5102 GB, free: 35.61 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.081e-05/0.4164, allocations: 3.938 kB / 0.5102 GB, free: 35.61 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.185e-06/0.4164, allocations: 0 / 0.5102 GB, free: 35.61 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.049e-06/0.4165, allocations: 6.844 kB / 0.5102 GB, free: 35.6 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.484e-05/0.4165, allocations: 15.84 kB / 0.5102 GB, free: 35.6 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002797/0.4168, allocations: 287.3 kB / 0.5105 GB, free: 35.31 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001504/0.417, allocations: 57.88 kB / 0.5105 GB, free: 35.27 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.632e-05/0.417, allocations: 25.02 kB / 0.5106 GB, free: 35.26 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.022e-05/0.4171, allocations: 4 kB / 0.5106 GB, free: 35.25 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001598/0.4172, allocations: 69.2 kB / 0.5106 GB, free: 35.2 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 1.242e-06/0.4172, allocations: 0 / 0.5106 GB, free: 35.2 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004736/0.4177, allocations: 178.3 kB / 0.5108 GB, free: 35.11 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.454e-05/0.4178, allocations: 51.41 kB / 0.5108 GB, free: 35.04 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001608/0.4179, allocations: 187.3 kB / 0.511 GB, free: 34.92 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.071e-05/0.418, allocations: 29.7 kB / 0.5111 GB, free: 34.88 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.73e-05/0.418, allocations: 105.9 kB / 0.5112 GB, free: 34.79 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.982e-05/0.418, allocations: 25.42 kB / 0.5112 GB, free: 34.77 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.714e-05/0.4181, allocations: 21.25 kB / 0.5112 GB, free: 34.75 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 7.224e-05/0.4182, allocations: 324.5 kB / 0.5115 GB, free: 34.43 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.448e-05/0.4182, allocations: 22.48 kB / 0.5115 GB, free: 34.42 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.769e-05/0.4183, allocations: 39.03 kB / 0.5116 GB, free: 34.39 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001012/0.4184, allocations: 68.14 kB / 0.5116 GB, free: 34.35 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.02e-07/0.4184, allocations: 0 / 0.5116 GB, free: 34.35 MB / 378.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001568/0.4186, allocations: 99.94 kB / 0.5117 GB, free: 34.29 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.576e-05/0.4186, allocations: 7.25 kB / 0.5117 GB, free: 34.29 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.921e-06/0.4186, allocations: 2.812 kB / 0.5117 GB, free: 34.29 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.475e-05/0.4186, allocations: 0 / 0.5117 GB, free: 34.29 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.746e-05/0.4187, allocations: 17.53 kB / 0.5118 GB, free: 34.29 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.952e-06/0.4187, allocations: 0 / 0.5118 GB, free: 34.29 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.351e-05/0.4188, allocations: 14.86 kB / 0.5118 GB, free: 34.28 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.394e-06/0.4188, allocations: 2.844 kB / 0.5118 GB, free: 34.28 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.05e-05/0.4189, allocations: 126.4 kB / 0.5119 GB, free: 34.16 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.311e-05/0.4189, allocations: 13.44 kB / 0.5119 GB, free: 34.15 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.497e-05/0.419, allocations: 18.77 kB / 0.5119 GB, free: 34.13 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.105e-06/0.419, allocations: 2.844 kB / 0.5119 GB, free: 34.13 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.058e-06/0.419, allocations: 0 / 0.5119 GB, free: 34.13 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.47e-06/0.419, allocations: 3.938 kB / 0.5119 GB, free: 34.13 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003579/0.4194, allocations: 395.8 kB / 0.5123 GB, free: 33.78 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.713e-06/0.4194, allocations: 0 / 0.5123 GB, free: 33.78 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.929e-05/0.4194, allocations: 5.781 kB / 0.5123 GB, free: 33.78 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.567e-06/0.4194, allocations: 2.812 kB / 0.5123 GB, free: 33.78 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.243e-05/0.4194, allocations: 7.219 kB / 0.5123 GB, free: 33.77 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.485e-06/0.4194, allocations: 2.906 kB / 0.5123 GB, free: 33.77 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.4194, allocations: 0 / 0.5123 GB, free: 33.77 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004091/0.4199, allocations: 0.7867 MB / 0.5131 GB, free: 33.01 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.36e-05/0.4199, allocations: 87.67 kB / 0.5132 GB, free: 32.91 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.098e-05/0.4199, allocations: 0 / 0.5132 GB, free: 32.91 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.618e-05/0.42, allocations: 10.81 kB / 0.5132 GB, free: 32.9 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.022e-05/0.42, allocations: 6.156 kB / 0.5132 GB, free: 32.9 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.832e-05/0.4201, allocations: 9.219 kB / 0.5132 GB, free: 32.89 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001017/0.4202, allocations: 149.4 kB / 0.5133 GB, free: 32.79 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.21e-07/0.4202, allocations: 0 / 0.5133 GB, free: 32.79 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.000357/0.4206, allocations: 29.53 kB / 0.5134 GB, free: 32.79 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.001026/0.4216, allocations: 464.7 kB / 0.5138 GB, free: 32.57 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002577/0.4219, allocations: 61.61 kB / 0.5139 GB, free: 32.55 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.364e-06/0.4219, allocations: 0 / 0.5139 GB, free: 32.55 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 8.146e-05/0.422, allocations: 34.33 kB / 0.5139 GB, free: 32.54 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003175/0.4223, allocations: 26.42 kB / 0.5139 GB, free: 32.54 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004226/0.4227, allocations: 372.6 kB / 0.5143 GB, free: 32.21 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001393/0.4229, allocations: 0.7009 MB / 0.515 GB, free: 31.52 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 4.696e-05/0.4229, allocations: 19.53 kB / 0.515 GB, free: 31.51 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.139e-05/0.423, allocations: 20.27 kB / 0.515 GB, free: 31.5 MB / 378.7 MB Notification: Performance of SimCode: time 2.31e-07/0.423, allocations: 0 / 0.515 GB, free: 31.5 MB / 378.7 MB Notification: Performance of Templates: time 0.003599/0.4266, allocations: 1.68 MB / 0.5166 GB, free: 31.31 MB / 378.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test19.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test19.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test19.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test19.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test19.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test19 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test19.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test19_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test19/Test19.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test19.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches