Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test15.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.Test15,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.Test15") translateModel(ModelicaTest.Tables.CombiTimeTable.Test15,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.Test15") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001135/0.001135, 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.334/1.334, 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.001026/0.001026, allocations: 109 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.3905/0.3905, allocations: 44.13 MB / 386.1 MB, free: 38.04 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001099/0.001099, allocations: 59.91 kB / 457.8 MB, free: 2.293 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4017/0.4028, allocations: 60.8 MB / 0.5064 GB, free: 38.26 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test15): time 0.003347/0.4062, allocations: 1.756 MB / 0.5081 GB, free: 37.06 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001304/0.4076, allocations: 0.8716 MB / 0.509 GB, free: 36.46 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.096e-05/0.4077, allocations: 3.125 kB / 0.509 GB, free: 36.46 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003093/0.408, allocations: 33.38 kB / 0.509 GB, free: 36.45 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001677/0.4082, allocations: 40.88 kB / 0.509 GB, free: 36.42 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002486/0.4084, allocations: 97.83 kB / 0.5091 GB, free: 36.37 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001477/0.4086, allocations: 95.8 kB / 0.5092 GB, free: 36.33 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001007/0.4087, allocations: 12.27 kB / 0.5092 GB, free: 36.32 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.104e-05/0.4088, allocations: 37.92 kB / 0.5093 GB, free: 36.3 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.046e-05/0.4088, allocations: 25.64 kB / 0.5093 GB, free: 36.29 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.885e-05/0.4089, allocations: 2.594 kB / 0.5093 GB, free: 36.29 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.411e-05/0.409, allocations: 48.45 kB / 0.5093 GB, free: 36.27 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 5.21e-05/0.409, allocations: 20.08 kB / 0.5094 GB, free: 36.27 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 4.302e-05/0.4091, allocations: 24.38 kB / 0.5094 GB, free: 36.25 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001704/0.4092, allocations: 105.9 kB / 0.5095 GB, free: 36.21 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.84e-06/0.4093, allocations: 4 kB / 0.5095 GB, free: 36.2 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.192e-06/0.4093, allocations: 0 / 0.5095 GB, free: 36.2 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.248e-06/0.4093, allocations: 0 / 0.5095 GB, free: 36.2 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.0004868/0.4098, allocations: 404.2 kB / 0.5099 GB, free: 35.8 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.234e-05/0.4098, allocations: 14.2 kB / 0.5099 GB, free: 35.8 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.1e-05/0.4099, allocations: 11.44 kB / 0.5099 GB, free: 35.79 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002055/0.4101, allocations: 216.5 kB / 0.5101 GB, free: 35.57 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.491e-05/0.4101, allocations: 384 / 0.5101 GB, free: 35.57 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.633e-05/0.4101, allocations: 6.719 kB / 0.5101 GB, free: 35.57 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001378/0.4103, allocations: 55.69 kB / 0.5102 GB, free: 35.52 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.197e-05/0.4103, allocations: 0 / 0.5102 GB, free: 35.52 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.079e-05/0.4103, allocations: 5.812 kB / 0.5102 GB, free: 35.52 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.721e-06/0.4103, allocations: 0 / 0.5102 GB, free: 35.52 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.711e-05/0.4104, allocations: 18.3 kB / 0.5102 GB, free: 35.52 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003333/0.4107, allocations: 283.9 kB / 0.5105 GB, free: 35.23 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001662/0.4109, allocations: 61.17 kB / 0.5105 GB, free: 35.19 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.895e-05/0.411, allocations: 17.52 kB / 0.5105 GB, free: 35.18 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.54e-05/0.411, allocations: 2.75 kB / 0.5105 GB, free: 35.18 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001649/0.4112, allocations: 73.08 kB / 0.5106 GB, free: 35.12 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 1.373e-06/0.4112, allocations: 2.781 kB / 0.5106 GB, free: 35.12 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005192/0.4117, allocations: 169.4 kB / 0.5108 GB, free: 35.03 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.027e-05/0.4118, allocations: 58.77 kB / 0.5108 GB, free: 34.96 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001387/0.4119, allocations: 173.7 kB / 0.511 GB, free: 34.85 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.4e-05/0.4119, allocations: 32.89 kB / 0.511 GB, free: 34.81 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.099e-05/0.412, allocations: 94.3 kB / 0.5111 GB, free: 34.72 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.852e-05/0.412, allocations: 25.62 kB / 0.5111 GB, free: 34.7 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.441e-05/0.4121, allocations: 27.05 kB / 0.5112 GB, free: 34.68 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 5.829e-05/0.4121, allocations: 324.9 kB / 0.5115 GB, free: 34.36 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.411e-05/0.4122, allocations: 23.84 kB / 0.5115 GB, free: 34.35 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.62e-05/0.4122, allocations: 38.97 kB / 0.5115 GB, free: 34.32 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.911e-05/0.4123, allocations: 55.72 kB / 0.5116 GB, free: 34.29 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.255e-06/0.4124, allocations: 4 kB / 0.5116 GB, free: 34.29 MB / 378.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001541/0.4125, allocations: 97.06 kB / 0.5117 GB, free: 34.23 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.436e-05/0.4125, allocations: 6 kB / 0.5117 GB, free: 34.23 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.959e-06/0.4125, allocations: 4.031 kB / 0.5117 GB, free: 34.23 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.516e-05/0.4126, allocations: 3.984 kB / 0.5117 GB, free: 34.22 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.739e-05/0.4127, allocations: 21.66 kB / 0.5117 GB, free: 34.22 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.142e-06/0.4127, allocations: 0 / 0.5117 GB, free: 34.22 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.379e-05/0.4127, allocations: 6.875 kB / 0.5117 GB, free: 34.21 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.858e-06/0.4127, allocations: 10.09 kB / 0.5117 GB, free: 34.21 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 7.917e-05/0.4128, allocations: 126.4 kB / 0.5119 GB, free: 34.09 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.853e-05/0.4128, allocations: 10.72 kB / 0.5119 GB, free: 34.08 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.083e-05/0.4129, allocations: 22.06 kB / 0.5119 GB, free: 34.06 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.443e-06/0.4129, allocations: 0 / 0.5119 GB, free: 34.06 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.719e-06/0.4129, allocations: 0 / 0.5119 GB, free: 34.06 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.458e-06/0.4129, allocations: 6.938 kB / 0.5119 GB, free: 34.06 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003301/0.4133, allocations: 388.1 kB / 0.5123 GB, free: 33.71 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.352e-06/0.4133, allocations: 0 / 0.5123 GB, free: 33.71 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.896e-05/0.4133, allocations: 8.625 kB / 0.5123 GB, free: 33.71 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.743e-06/0.4133, allocations: 0 / 0.5123 GB, free: 33.71 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.19e-05/0.4133, allocations: 14.11 kB / 0.5123 GB, free: 33.7 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.174e-06/0.4133, allocations: 0 / 0.5123 GB, free: 33.7 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.81e-07/0.4133, allocations: 3.938 kB / 0.5123 GB, free: 33.7 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000364/0.4137, allocations: 0.7792 MB / 0.5131 GB, free: 32.94 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.676e-05/0.4137, allocations: 92.05 kB / 0.5131 GB, free: 32.84 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.028e-05/0.4138, allocations: 4 kB / 0.5131 GB, free: 32.83 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.592e-05/0.4138, allocations: 6.906 kB / 0.5132 GB, free: 32.83 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.397e-05/0.4139, allocations: 6.219 kB / 0.5132 GB, free: 32.83 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.422e-05/0.4139, allocations: 6.906 kB / 0.5132 GB, free: 32.82 MB / 378.7 MB Notification: Performance of sorting global known variables: time 7.164e-05/0.414, allocations: 133.2 kB / 0.5133 GB, free: 32.73 MB / 378.7 MB Notification: Performance of sort global known variables: time 1e-07/0.414, allocations: 0 / 0.5133 GB, free: 32.73 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003763/0.4144, allocations: 24.48 kB / 0.5133 GB, free: 32.73 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.0009707/0.4153, allocations: 472.9 kB / 0.5138 GB, free: 32.51 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001737/0.4155, allocations: 61.38 kB / 0.5138 GB, free: 32.49 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.046e-06/0.4155, allocations: 0 / 0.5138 GB, free: 32.49 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 7.421e-05/0.4156, allocations: 33.16 kB / 0.5139 GB, free: 32.48 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003337/0.416, allocations: 33.27 kB / 0.5139 GB, free: 32.47 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005178/0.4165, allocations: 351.3 kB / 0.5142 GB, free: 32.16 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001781/0.4167, allocations: 0.7053 MB / 0.5149 GB, free: 31.46 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 5.456e-05/0.4167, allocations: 12.69 kB / 0.5149 GB, free: 31.46 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.621e-05/0.4168, allocations: 15.59 kB / 0.5149 GB, free: 31.46 MB / 378.7 MB Notification: Performance of SimCode: time 2.2e-07/0.4168, allocations: 0 / 0.5149 GB, free: 31.46 MB / 378.7 MB Notification: Performance of Templates: time 0.004532/0.4213, allocations: 1.674 MB / 0.5166 GB, free: 31.26 MB / 378.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test15.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test15.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test15.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test15.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test15.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test15 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test15.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test15_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test15/Test15.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test15.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches