Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test1.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.Test1,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.Test1") translateModel(ModelicaTest.Tables.CombiTimeTable.Test1,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.Test1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00141/0.00141, 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.384/1.384, 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.001027/0.001027, allocations: 107.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.359/0.359, allocations: 44.14 MB / 386.1 MB, free: 38 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.00105/0.001049, allocations: 51.92 kB / 457.7 MB, free: 2.301 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4027/0.4037, allocations: 60.81 MB / 0.5064 GB, free: 38.32 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test1): time 0.00343/0.4072, allocations: 1.76 MB / 0.5081 GB, free: 37.12 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001413/0.4087, allocations: 0.8717 MB / 0.509 GB, free: 36.52 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.804e-05/0.4088, allocations: 1.219 kB / 0.509 GB, free: 36.52 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003544/0.4091, allocations: 48.58 kB / 0.509 GB, free: 36.51 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001928/0.4093, allocations: 57.88 kB / 0.5091 GB, free: 36.48 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002844/0.4096, allocations: 91.73 kB / 0.5092 GB, free: 36.43 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001728/0.4098, allocations: 91.69 kB / 0.5092 GB, free: 36.39 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001077/0.4099, allocations: 13.34 kB / 0.5093 GB, free: 36.39 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.368e-05/0.41, allocations: 47.19 kB / 0.5093 GB, free: 36.36 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.573e-05/0.4101, allocations: 29.89 kB / 0.5093 GB, free: 36.35 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.766e-05/0.4101, allocations: 3.906 kB / 0.5093 GB, free: 36.35 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001019/0.4102, allocations: 46.98 kB / 0.5094 GB, free: 36.33 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 5.87e-05/0.4103, allocations: 26.02 kB / 0.5094 GB, free: 36.32 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 5.467e-05/0.4104, allocations: 43.41 kB / 0.5095 GB, free: 36.29 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001938/0.4106, allocations: 118.6 kB / 0.5096 GB, free: 36.25 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.466e-06/0.4106, allocations: 0 / 0.5096 GB, free: 36.25 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.202e-06/0.4106, allocations: 0 / 0.5096 GB, free: 36.25 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.078e-06/0.4106, allocations: 0 / 0.5096 GB, free: 36.25 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.000531/0.4111, allocations: 442.1 kB / 0.51 GB, free: 35.82 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.796e-05/0.4112, allocations: 9.312 kB / 0.51 GB, free: 35.82 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.041e-05/0.4112, allocations: 21.72 kB / 0.51 GB, free: 35.81 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001933/0.4114, allocations: 215.2 kB / 0.5102 GB, free: 35.59 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.325e-05/0.4115, allocations: 384 / 0.5102 GB, free: 35.59 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.48e-05/0.4115, allocations: 6.969 kB / 0.5102 GB, free: 35.58 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001438/0.4116, allocations: 59.73 kB / 0.5103 GB, free: 35.54 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.261e-05/0.4117, allocations: 3.938 kB / 0.5103 GB, free: 35.54 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.009e-05/0.4117, allocations: 0 / 0.5103 GB, free: 35.54 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.24e-06/0.4117, allocations: 2.781 kB / 0.5103 GB, free: 35.54 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.992e-05/0.4118, allocations: 22.03 kB / 0.5103 GB, free: 35.53 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003402/0.4121, allocations: 292.5 kB / 0.5106 GB, free: 35.24 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001639/0.4123, allocations: 62.11 kB / 0.5106 GB, free: 35.2 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.794e-05/0.4123, allocations: 16.7 kB / 0.5107 GB, free: 35.19 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.63e-05/0.4124, allocations: 5.609 kB / 0.5107 GB, free: 35.19 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002128/0.4126, allocations: 68.31 kB / 0.5107 GB, free: 35.13 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 1.724e-06/0.4126, allocations: 0 / 0.5107 GB, free: 35.13 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005597/0.4132, allocations: 180.2 kB / 0.5109 GB, free: 35.04 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.244e-05/0.4132, allocations: 55.41 kB / 0.511 GB, free: 34.97 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002289/0.4135, allocations: 264 kB / 0.5112 GB, free: 34.82 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.21e-05/0.4135, allocations: 25.7 kB / 0.5112 GB, free: 34.79 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.787e-05/0.4135, allocations: 111.1 kB / 0.5113 GB, free: 34.69 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.909e-05/0.4136, allocations: 29.78 kB / 0.5114 GB, free: 34.67 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.421e-05/0.4136, allocations: 25.12 kB / 0.5114 GB, free: 34.64 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 6.494e-05/0.4137, allocations: 329.4 kB / 0.5117 GB, free: 34.32 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.525e-05/0.4137, allocations: 26.12 kB / 0.5117 GB, free: 34.31 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.762e-05/0.4138, allocations: 36.81 kB / 0.5118 GB, free: 34.29 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001013/0.4139, allocations: 53.64 kB / 0.5118 GB, free: 34.26 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.725e-06/0.4139, allocations: 8 kB / 0.5118 GB, free: 34.25 MB / 378.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001629/0.4141, allocations: 111.1 kB / 0.5119 GB, free: 34.18 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.732e-05/0.4141, allocations: 5.031 kB / 0.5119 GB, free: 34.18 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.49e-06/0.4141, allocations: 3.938 kB / 0.5119 GB, free: 34.18 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.453e-05/0.4142, allocations: 2.75 kB / 0.5119 GB, free: 34.18 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.984e-05/0.4142, allocations: 14.72 kB / 0.512 GB, free: 34.18 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.913e-06/0.4143, allocations: 2.75 kB / 0.512 GB, free: 34.18 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.64e-05/0.4143, allocations: 3.938 kB / 0.512 GB, free: 34.18 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.045e-06/0.4143, allocations: 6.938 kB / 0.512 GB, free: 34.17 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.83e-05/0.4144, allocations: 139.9 kB / 0.5121 GB, free: 34.05 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.02e-05/0.4144, allocations: 9.656 kB / 0.5121 GB, free: 34.04 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.372e-05/0.4145, allocations: 29.05 kB / 0.5121 GB, free: 34.03 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.375e-06/0.4145, allocations: 0 / 0.5121 GB, free: 34.03 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.949e-06/0.4145, allocations: 0 / 0.5121 GB, free: 34.03 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.881e-06/0.4145, allocations: 6.625 kB / 0.5121 GB, free: 34.02 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003736/0.4149, allocations: 403.6 kB / 0.5125 GB, free: 33.67 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.164e-06/0.4149, allocations: 0 / 0.5125 GB, free: 33.67 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.937e-05/0.415, allocations: 12.66 kB / 0.5125 GB, free: 33.67 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.444e-06/0.415, allocations: 0 / 0.5125 GB, free: 33.67 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.17e-05/0.415, allocations: 10.88 kB / 0.5126 GB, free: 33.66 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.333e-06/0.415, allocations: 0 / 0.5126 GB, free: 33.66 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.422e-06/0.415, allocations: 0 / 0.5126 GB, free: 33.66 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003892/0.4154, allocations: 0.8004 MB / 0.5133 GB, free: 32.89 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.292e-05/0.4154, allocations: 88.86 kB / 0.5134 GB, free: 32.79 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.152e-05/0.4155, allocations: 0 / 0.5134 GB, free: 32.79 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.643e-05/0.4155, allocations: 2.562 kB / 0.5134 GB, free: 32.79 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.201e-05/0.4156, allocations: 9.859 kB / 0.5134 GB, free: 32.79 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.746e-05/0.4156, allocations: 5.25 kB / 0.5134 GB, free: 32.79 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001316/0.4157, allocations: 199.9 kB / 0.5136 GB, free: 32.68 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4157, allocations: 0 / 0.5136 GB, free: 32.68 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003446/0.4161, allocations: 32.69 kB / 0.5137 GB, free: 32.66 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.0009623/0.4171, allocations: 471.6 kB / 0.5141 GB, free: 32.45 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001735/0.4173, allocations: 61.7 kB / 0.5142 GB, free: 32.42 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.4173, allocations: 0 / 0.5142 GB, free: 32.42 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 7.216e-05/0.4173, allocations: 28.81 kB / 0.5142 GB, free: 32.41 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000391/0.4177, allocations: 30.09 kB / 0.5142 GB, free: 32.4 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005769/0.4183, allocations: 434.9 kB / 0.5146 GB, free: 32.06 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001778/0.4185, allocations: 0.7236 MB / 0.5153 GB, free: 31.36 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 5.866e-05/0.4186, allocations: 16.27 kB / 0.5154 GB, free: 31.36 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.291e-05/0.4186, allocations: 16.38 kB / 0.5154 GB, free: 31.35 MB / 378.7 MB Notification: Performance of SimCode: time 2.91e-07/0.4186, allocations: 6.781 kB / 0.5154 GB, free: 31.35 MB / 378.7 MB Notification: Performance of Templates: time 0.004131/0.4228, allocations: 1.715 MB / 0.5171 GB, free: 31.14 MB / 378.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test1.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test1.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test1.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test1.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test1.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test1.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test1_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test1/Test1.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches