Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test2.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.Test2,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.Test2") translateModel(ModelicaTest.Tables.CombiTimeTable.Test2,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.Test2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001614/0.001614, allocations: 186.9 kB / 17.97 MB, free: 3.793 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.388/1.388, allocations: 222.9 MB / 241.6 MB, free: 10.96 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.001006/0.001006, allocations: 108.2 kB / 291.9 MB, free: 10.93 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.3885/0.3885, allocations: 44.13 MB / 386.1 MB, free: 38.02 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001052/0.001053, allocations: 55.92 kB / 457.7 MB, free: 2.285 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4117/0.4127, allocations: 60.8 MB / 0.5064 GB, free: 38.11 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test2): time 0.003211/0.416, allocations: 1.756 MB / 0.5081 GB, free: 36.9 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001213/0.4172, allocations: 0.8714 MB / 0.509 GB, free: 36.3 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.615e-05/0.4173, allocations: 3.938 kB / 0.509 GB, free: 36.3 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002972/0.4176, allocations: 32.09 kB / 0.509 GB, free: 36.29 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001593/0.4178, allocations: 41.97 kB / 0.509 GB, free: 36.27 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002268/0.418, allocations: 95.36 kB / 0.5091 GB, free: 36.21 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001437/0.4182, allocations: 93.86 kB / 0.5092 GB, free: 36.17 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.565e-05/0.4183, allocations: 8.703 kB / 0.5092 GB, free: 36.17 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.553e-05/0.4184, allocations: 41.16 kB / 0.5093 GB, free: 36.15 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.551e-05/0.4184, allocations: 30.89 kB / 0.5093 GB, free: 36.13 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.569e-05/0.4185, allocations: 0 / 0.5093 GB, free: 36.13 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.588e-05/0.4186, allocations: 44.83 kB / 0.5093 GB, free: 36.12 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 5.285e-05/0.4186, allocations: 24.89 kB / 0.5094 GB, free: 36.11 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 4.784e-05/0.4187, allocations: 21.72 kB / 0.5094 GB, free: 36.09 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001606/0.4188, allocations: 107.5 kB / 0.5095 GB, free: 36.05 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.178e-06/0.4188, allocations: 0 / 0.5095 GB, free: 36.05 MB / 378.7 MB Notification: Performance of FrontEnd: time 8.22e-07/0.4189, allocations: 0 / 0.5095 GB, free: 36.05 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.268e-06/0.4189, allocations: 0 / 0.5095 GB, free: 36.05 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.0004655/0.4193, allocations: 400.1 kB / 0.5099 GB, free: 35.65 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.588e-05/0.4194, allocations: 8.656 kB / 0.5099 GB, free: 35.65 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.422e-05/0.4194, allocations: 10.62 kB / 0.5099 GB, free: 35.64 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002066/0.4196, allocations: 204.7 kB / 0.5101 GB, free: 35.43 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.519e-05/0.4197, allocations: 11.88 kB / 0.5101 GB, free: 35.42 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.962e-05/0.4197, allocations: 10.02 kB / 0.5101 GB, free: 35.41 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001361/0.4198, allocations: 51.73 kB / 0.5101 GB, free: 35.38 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.134e-05/0.4198, allocations: 0 / 0.5101 GB, free: 35.38 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.087e-06/0.4199, allocations: 0 / 0.5101 GB, free: 35.38 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.009e-06/0.4199, allocations: 6.625 kB / 0.5102 GB, free: 35.37 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.095e-05/0.4199, allocations: 17.86 kB / 0.5102 GB, free: 35.37 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002888/0.4202, allocations: 283.8 kB / 0.5104 GB, free: 35.08 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001496/0.4204, allocations: 56.3 kB / 0.5105 GB, free: 35.04 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.87e-05/0.4205, allocations: 24.22 kB / 0.5105 GB, free: 35.03 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.999e-05/0.4205, allocations: 10.66 kB / 0.5105 GB, free: 35.02 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001659/0.4207, allocations: 65.38 kB / 0.5106 GB, free: 34.96 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 1.292e-06/0.4207, allocations: 0 / 0.5106 GB, free: 34.96 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004901/0.4212, allocations: 166.5 kB / 0.5107 GB, free: 34.88 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.444e-05/0.4212, allocations: 58.12 kB / 0.5108 GB, free: 34.82 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001157/0.4213, allocations: 158.7 kB / 0.511 GB, free: 34.7 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.088e-05/0.4213, allocations: 37.12 kB / 0.511 GB, free: 34.66 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.284e-05/0.4214, allocations: 97.77 kB / 0.5111 GB, free: 34.57 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.339e-05/0.4214, allocations: 25.98 kB / 0.5111 GB, free: 34.55 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.333e-05/0.4214, allocations: 23.47 kB / 0.5111 GB, free: 34.52 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 5.424e-05/0.4215, allocations: 321 kB / 0.5114 GB, free: 34.21 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.215e-05/0.4216, allocations: 23 kB / 0.5115 GB, free: 34.2 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.451e-05/0.4216, allocations: 39.84 kB / 0.5115 GB, free: 34.17 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.639e-05/0.4217, allocations: 62.22 kB / 0.5116 GB, free: 34.13 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.81e-07/0.4217, allocations: 0 / 0.5116 GB, free: 34.13 MB / 378.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001534/0.4219, allocations: 105.4 kB / 0.5117 GB, free: 34.07 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.446e-05/0.4219, allocations: 6 kB / 0.5117 GB, free: 34.07 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.1e-06/0.4219, allocations: 0 / 0.5117 GB, free: 34.07 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.253e-05/0.4219, allocations: 7.875 kB / 0.5117 GB, free: 34.06 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.466e-05/0.422, allocations: 17.97 kB / 0.5117 GB, free: 34.06 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.481e-06/0.422, allocations: 0 / 0.5117 GB, free: 34.06 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.146e-05/0.4221, allocations: 6.969 kB / 0.5117 GB, free: 34.06 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.867e-06/0.4221, allocations: 6.969 kB / 0.5117 GB, free: 34.05 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.263e-05/0.4222, allocations: 123.5 kB / 0.5118 GB, free: 33.93 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.937e-05/0.4222, allocations: 9.719 kB / 0.5118 GB, free: 33.93 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.878e-05/0.4223, allocations: 15.41 kB / 0.5118 GB, free: 33.91 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.318e-06/0.4223, allocations: 5.984 kB / 0.5118 GB, free: 33.91 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.458e-06/0.4223, allocations: 0 / 0.5118 GB, free: 33.91 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.666e-06/0.4223, allocations: 0 / 0.5118 GB, free: 33.91 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003299/0.4226, allocations: 388.5 kB / 0.5122 GB, free: 33.56 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.482e-06/0.4226, allocations: 0 / 0.5122 GB, free: 33.56 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.918e-05/0.4227, allocations: 11.89 kB / 0.5122 GB, free: 33.56 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.623e-06/0.4227, allocations: 0 / 0.5122 GB, free: 33.56 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.007e-05/0.4227, allocations: 6.625 kB / 0.5122 GB, free: 33.56 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.545e-06/0.4227, allocations: 0 / 0.5122 GB, free: 33.56 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.4227, allocations: 6.5 kB / 0.5122 GB, free: 33.55 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003671/0.4231, allocations: 0.7814 MB / 0.513 GB, free: 32.79 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.425e-05/0.4231, allocations: 81.02 kB / 0.5131 GB, free: 32.7 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.971e-05/0.4231, allocations: 7 kB / 0.5131 GB, free: 32.69 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.596e-05/0.4232, allocations: 10.14 kB / 0.5131 GB, free: 32.69 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.175e-05/0.4232, allocations: 13.89 kB / 0.5131 GB, free: 32.68 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.369e-05/0.4233, allocations: 2.688 kB / 0.5131 GB, free: 32.68 MB / 378.7 MB Notification: Performance of sorting global known variables: time 6.709e-05/0.4233, allocations: 125.7 kB / 0.5132 GB, free: 32.59 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4233, allocations: 0 / 0.5132 GB, free: 32.59 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003494/0.4237, allocations: 26.84 kB / 0.5133 GB, free: 32.58 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.000938/0.4246, allocations: 472.1 kB / 0.5137 GB, free: 32.36 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001551/0.4248, allocations: 59.19 kB / 0.5138 GB, free: 32.34 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.4248, allocations: 0 / 0.5138 GB, free: 32.34 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 6.282e-05/0.4249, allocations: 28.45 kB / 0.5138 GB, free: 32.34 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003192/0.4252, allocations: 31.3 kB / 0.5138 GB, free: 32.33 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004247/0.4256, allocations: 351 kB / 0.5142 GB, free: 32.02 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001269/0.4258, allocations: 0.6987 MB / 0.5148 GB, free: 31.32 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 4.67e-05/0.4258, allocations: 16.72 kB / 0.5149 GB, free: 31.32 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.321e-05/0.4259, allocations: 19.09 kB / 0.5149 GB, free: 31.31 MB / 378.7 MB Notification: Performance of SimCode: time 3.51e-07/0.4259, allocations: 0 / 0.5149 GB, free: 31.31 MB / 378.7 MB Notification: Performance of Templates: time 0.003815/0.4297, allocations: 1.657 MB / 0.5165 GB, free: 31.12 MB / 378.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test2.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test2.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test2.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test2.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test2.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test2.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test2/Test2.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches