Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test73.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.Test73,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|t_new_2.y.1.|d_t_new_2.y|d2_t_new.y|d2_t_new_2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test73") translateModel(ModelicaTest.Tables.CombiTimeTable.Test73,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|t_new_2.y.1.|d_t_new_2.y|d2_t_new.y|d2_t_new_2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test73") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001307/0.001308, 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.357/1.357, 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.001149/0.001149, 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.4344/0.4344, allocations: 44.12 MB / 386.1 MB, free: 38.01 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001206/0.001206, allocations: 55.92 kB / 457.8 MB, free: 2.297 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3855/0.3867, allocations: 60.79 MB / 0.5064 GB, free: 38.25 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test73): time 0.004038/0.3908, allocations: 1.95 MB / 0.5083 GB, free: 36.9 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001534/0.3924, allocations: 0.9692 MB / 0.5092 GB, free: 36.23 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001036/0.3925, allocations: 2.938 kB / 0.5092 GB, free: 36.23 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004763/0.393, allocations: 157.3 kB / 0.5094 GB, free: 36.2 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002835/0.3933, allocations: 126.6 kB / 0.5095 GB, free: 36.15 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003643/0.3937, allocations: 164.7 kB / 0.5097 GB, free: 36.06 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002583/0.394, allocations: 225.8 kB / 0.5099 GB, free: 35.97 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001192/0.3941, allocations: 25.8 kB / 0.5099 GB, free: 35.96 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001255/0.3942, allocations: 105.6 kB / 0.51 GB, free: 35.92 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001487/0.3944, allocations: 110.9 kB / 0.5101 GB, free: 35.89 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 2.586e-05/0.3944, allocations: 6.344 kB / 0.5101 GB, free: 35.89 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001234/0.3946, allocations: 66.2 kB / 0.5102 GB, free: 35.87 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 8.431e-05/0.3947, allocations: 49.48 kB / 0.5102 GB, free: 35.85 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 8.338e-05/0.3947, allocations: 77.92 kB / 0.5103 GB, free: 35.8 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002534/0.395, allocations: 205.5 kB / 0.5105 GB, free: 35.71 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.833e-06/0.395, allocations: 0 / 0.5105 GB, free: 35.71 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.413e-06/0.395, allocations: 4 kB / 0.5105 GB, free: 35.71 MB / 378.7 MB Notification: Performance of Transformations before backend: time 6.823e-06/0.395, allocations: 0 / 0.5105 GB, free: 35.71 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: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0006494/0.3957, allocations: 0.5186 MB / 0.511 GB, free: 35.23 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.802e-05/0.3957, allocations: 11.41 kB / 0.511 GB, free: 35.23 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.255e-05/0.3958, allocations: 32.2 kB / 0.5111 GB, free: 35.21 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002501/0.3961, allocations: 270.8 kB / 0.5113 GB, free: 34.96 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.589e-05/0.3961, allocations: 3.156 kB / 0.5113 GB, free: 34.96 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.515e-05/0.3961, allocations: 13.75 kB / 0.5113 GB, free: 34.96 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002096/0.3963, allocations: 116.2 kB / 0.5114 GB, free: 34.88 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.33e-05/0.3964, allocations: 0 / 0.5114 GB, free: 34.88 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.423e-05/0.3964, allocations: 7.125 kB / 0.5115 GB, free: 34.88 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.771e-06/0.3964, allocations: 0 / 0.5115 GB, free: 34.88 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001232/0.3965, allocations: 43.64 kB / 0.5115 GB, free: 34.87 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004337/0.397, allocations: 469.2 kB / 0.5119 GB, free: 34.46 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003429/0.3973, allocations: 121.2 kB / 0.5121 GB, free: 34.39 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.475e-05/0.3974, allocations: 43.94 kB / 0.5121 GB, free: 34.36 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.25e-05/0.3975, allocations: 6.562 kB / 0.5121 GB, free: 34.36 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002545/0.3977, allocations: 113.6 kB / 0.5122 GB, free: 34.28 MB / 378.7 MB Notification: Performance of pre-optimization done (n=14): time 1.302e-06/0.3977, allocations: 0 / 0.5122 GB, free: 34.28 MB / 378.7 MB Notification: Performance of matching and sorting (n=22): time 0.001108/0.3988, allocations: 0.4922 MB / 0.5127 GB, free: 34.05 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.896e-05/0.3989, allocations: 80.08 kB / 0.5128 GB, free: 33.96 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002747/0.3992, allocations: 349.6 kB / 0.5131 GB, free: 33.79 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.601e-05/0.3992, allocations: 32.2 kB / 0.5131 GB, free: 33.75 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.415e-05/0.3993, allocations: 149.8 kB / 0.5133 GB, free: 33.62 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.804e-05/0.3993, allocations: 68.59 kB / 0.5133 GB, free: 33.57 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.14e-05/0.3994, allocations: 42.39 kB / 0.5134 GB, free: 33.54 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 6.33e-05/0.3994, allocations: 340.9 kB / 0.5137 GB, free: 33.22 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001078/0.3995, allocations: 60.09 kB / 0.5138 GB, free: 33.2 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001141/0.3997, allocations: 92.39 kB / 0.5139 GB, free: 33.14 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002198/0.3999, allocations: 157.9 kB / 0.514 GB, free: 33.05 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.032e-06/0.3999, allocations: 7.938 kB / 0.514 GB, free: 33.04 MB / 378.7 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0003266/0.4002, allocations: 234.4 kB / 0.5142 GB, free: 32.93 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.266e-05/0.4003, allocations: 6.844 kB / 0.5142 GB, free: 32.92 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.202e-06/0.4003, allocations: 2.875 kB / 0.5142 GB, free: 32.92 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.461e-05/0.4003, allocations: 0 / 0.5142 GB, free: 32.92 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001263/0.4004, allocations: 54.55 kB / 0.5143 GB, free: 32.91 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.424e-06/0.4004, allocations: 3 kB / 0.5143 GB, free: 32.91 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.247e-05/0.4005, allocations: 10.19 kB / 0.5143 GB, free: 32.91 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.297e-05/0.4005, allocations: 5.938 kB / 0.5143 GB, free: 32.91 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($PRE.t_new.nextTimeEvent,$whenCondition2,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,$PRE.t_new_2.nextTimeEvent,$whenCondition1,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 26 * 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 0.0001073/0.4007, allocations: 163.4 kB / 0.5145 GB, free: 32.77 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.751e-05/0.4007, allocations: 31.41 kB / 0.5145 GB, free: 32.75 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.477e-05/0.4008, allocations: 35.5 kB / 0.5145 GB, free: 32.73 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.619e-06/0.4008, allocations: 2.844 kB / 0.5145 GB, free: 32.73 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.531e-06/0.4008, allocations: 0 / 0.5145 GB, free: 32.73 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.148e-06/0.4008, allocations: 0 / 0.5145 GB, free: 32.73 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007565/0.4016, allocations: 0.713 MB / 0.5152 GB, free: 32.2 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.815e-06/0.4016, allocations: 1.219 kB / 0.5152 GB, free: 32.2 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.219e-05/0.4017, allocations: 35.41 kB / 0.5153 GB, free: 32.19 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.487e-06/0.4017, allocations: 2.375 kB / 0.5153 GB, free: 32.19 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.801e-05/0.4017, allocations: 8.625 kB / 0.5153 GB, free: 32.19 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.488e-06/0.4017, allocations: 9.891 kB / 0.5153 GB, free: 32.18 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.954e-06/0.4017, allocations: 1.406 kB / 0.5153 GB, free: 32.18 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007118/0.4024, allocations: 1.058 MB / 0.5163 GB, free: 31.25 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.17e-05/0.4025, allocations: 100.4 kB / 0.5164 GB, free: 31.14 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.335e-05/0.4025, allocations: 8.469 kB / 0.5164 GB, free: 31.14 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000129/0.4027, allocations: 11.61 kB / 0.5164 GB, free: 31.13 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.713e-05/0.4027, allocations: 15.48 kB / 0.5165 GB, free: 31.13 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.412e-05/0.4027, allocations: 16.53 kB / 0.5165 GB, free: 31.12 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001877/0.4029, allocations: 268.4 kB / 0.5167 GB, free: 31 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4029, allocations: 0 / 0.5167 GB, free: 31 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0004143/0.4034, allocations: 49.72 kB / 0.5168 GB, free: 30.98 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition2,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (22): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.001065/0.4044, allocations: 0.5239 MB / 0.5173 GB, free: 30.75 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002957/0.4047, allocations: 160 kB / 0.5174 GB, free: 30.7 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.465e-06/0.4048, allocations: 0 / 0.5174 GB, free: 30.7 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000141/0.4049, allocations: 86.58 kB / 0.5175 GB, free: 30.66 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005406/0.4055, allocations: 55.53 kB / 0.5176 GB, free: 30.65 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008281/0.4063, allocations: 0.712 MB / 0.5183 GB, free: 30.12 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001854/0.4065, allocations: 0.771 MB / 0.519 GB, free: 29.41 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001017/0.4066, allocations: 37.83 kB / 0.5191 GB, free: 29.4 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.838e-05/0.4067, allocations: 33.16 kB / 0.5191 GB, free: 29.39 MB / 378.7 MB Notification: Performance of SimCode: time 2e-07/0.4067, allocations: 0 / 0.5191 GB, free: 29.39 MB / 378.7 MB Notification: Performance of Templates: time 0.006245/0.4129, allocations: 3.018 MB / 0.522 GB, free: 29.09 MB / 378.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test73.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test73.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test73.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test73.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test73.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test73 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test73.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test73_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test73/Test73.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test73.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches