Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test62.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.Test62,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test62") translateModel(ModelicaTest.Tables.CombiTimeTable.Test62,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test62") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001271/0.001271, 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.42/1.42, allocations: 222.9 MB / 241.6 MB, free: 11 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.001132/0.001132, allocations: 99.3 kB / 291.9 MB, free: 10.96 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.4111/0.4111, allocations: 44.13 MB / 386.1 MB, free: 38.02 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001044/0.001044, allocations: 60.09 kB / 457.7 MB, free: 2.312 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3928/0.3939, allocations: 60.79 MB / 0.5064 GB, free: 38.29 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test62): time 0.003037/0.397, allocations: 1.726 MB / 0.5081 GB, free: 37.1 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001212/0.3982, allocations: 0.8556 MB / 0.5089 GB, free: 36.52 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.048e-05/0.3983, allocations: 0 / 0.5089 GB, free: 36.52 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003175/0.3986, allocations: 55.06 kB / 0.509 GB, free: 36.5 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001639/0.3988, allocations: 58.56 kB / 0.509 GB, free: 36.46 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002307/0.3991, allocations: 92.61 kB / 0.5091 GB, free: 36.42 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001447/0.3992, allocations: 86.98 kB / 0.5092 GB, free: 36.38 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.669e-05/0.3993, allocations: 9.422 kB / 0.5092 GB, free: 36.38 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.315e-05/0.3994, allocations: 33.61 kB / 0.5092 GB, free: 36.37 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.347e-05/0.3994, allocations: 40.78 kB / 0.5093 GB, free: 36.35 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.928e-05/0.3995, allocations: 6.688 kB / 0.5093 GB, free: 36.34 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.858e-05/0.3995, allocations: 24.5 kB / 0.5093 GB, free: 36.34 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 5.683e-05/0.3996, allocations: 23.53 kB / 0.5093 GB, free: 36.33 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 4.886e-05/0.3997, allocations: 38.84 kB / 0.5094 GB, free: 36.3 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001701/0.3998, allocations: 114.4 kB / 0.5095 GB, free: 36.26 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.777e-06/0.3999, allocations: 0 / 0.5095 GB, free: 36.26 MB / 378.7 MB Notification: Performance of FrontEnd: time 9.72e-07/0.3999, allocations: 0 / 0.5095 GB, free: 36.26 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.987e-06/0.3999, allocations: 0 / 0.5095 GB, free: 36.26 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0004406/0.4003, allocations: 441.7 kB / 0.5099 GB, free: 35.83 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.45e-05/0.4004, allocations: 8.812 kB / 0.5099 GB, free: 35.83 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.114e-05/0.4004, allocations: 10.41 kB / 0.5099 GB, free: 35.82 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001664/0.4006, allocations: 207.2 kB / 0.5101 GB, free: 35.61 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.308e-05/0.4006, allocations: 7.281 kB / 0.5101 GB, free: 35.61 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.11e-05/0.4006, allocations: 4.125 kB / 0.5101 GB, free: 35.6 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001163/0.4007, allocations: 50.09 kB / 0.5102 GB, free: 35.57 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.604e-06/0.4007, allocations: 0 / 0.5102 GB, free: 35.57 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.896e-06/0.4008, allocations: 0 / 0.5102 GB, free: 35.57 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.608e-06/0.4008, allocations: 0 / 0.5102 GB, free: 35.57 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.824e-05/0.4008, allocations: 23.77 kB / 0.5102 GB, free: 35.55 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001499/0.401, allocations: 192.3 kB / 0.5104 GB, free: 35.35 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000139/0.4012, allocations: 49.77 kB / 0.5104 GB, free: 35.32 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.601e-05/0.4012, allocations: 24.77 kB / 0.5104 GB, free: 35.3 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.968e-05/0.4012, allocations: 3 kB / 0.5104 GB, free: 35.3 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001895/0.4014, allocations: 69.53 kB / 0.5105 GB, free: 35.24 MB / 378.7 MB Notification: Performance of pre-optimization done (n=5): time 1.283e-06/0.4014, allocations: 0 / 0.5105 GB, free: 35.24 MB / 378.7 MB Notification: Performance of matching and sorting (n=5): time 0.0002777/0.4017, allocations: 96.69 kB / 0.5106 GB, free: 35.19 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.669e-05/0.4018, allocations: 51.41 kB / 0.5107 GB, free: 35.12 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002036/0.402, allocations: 263.2 kB / 0.5109 GB, free: 34.98 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 9.097e-06/0.402, allocations: 25.7 kB / 0.5109 GB, free: 34.95 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.53e-05/0.402, allocations: 111.1 kB / 0.511 GB, free: 34.84 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.963e-05/0.4021, allocations: 22.61 kB / 0.5111 GB, free: 34.82 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.18e-05/0.4021, allocations: 19.84 kB / 0.5111 GB, free: 34.8 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 7.864e-05/0.4022, allocations: 324.2 kB / 0.5114 GB, free: 34.49 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.674e-05/0.4022, allocations: 13.38 kB / 0.5114 GB, free: 34.48 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.793e-05/0.4023, allocations: 33.7 kB / 0.5114 GB, free: 34.46 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.145e-05/0.4024, allocations: 39.91 kB / 0.5115 GB, free: 34.43 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.724e-06/0.4024, allocations: 10.91 kB / 0.5115 GB, free: 34.43 MB / 378.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001326/0.4025, allocations: 95.55 kB / 0.5116 GB, free: 34.36 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.471e-05/0.4026, allocations: 9.438 kB / 0.5116 GB, free: 34.36 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.791e-06/0.4026, allocations: 3.984 kB / 0.5116 GB, free: 34.35 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.263e-05/0.4026, allocations: 0 / 0.5116 GB, free: 34.35 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.283e-05/0.4027, allocations: 11.67 kB / 0.5116 GB, free: 34.35 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.112e-06/0.4027, allocations: 2.562 kB / 0.5116 GB, free: 34.35 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.207e-05/0.4027, allocations: 2.562 kB / 0.5116 GB, free: 34.35 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.193e-06/0.4027, allocations: 2.781 kB / 0.5116 GB, free: 34.35 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 (7): * Single equations (assignments): 7 * 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.814e-05/0.4028, allocations: 141.8 kB / 0.5117 GB, free: 34.22 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.862e-05/0.4029, allocations: 13.5 kB / 0.5117 GB, free: 34.21 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.666e-05/0.4029, allocations: 17.06 kB / 0.5118 GB, free: 34.2 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.424e-06/0.4029, allocations: 0 / 0.5118 GB, free: 34.2 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.558e-06/0.4029, allocations: 0 / 0.5118 GB, free: 34.2 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.867e-06/0.4029, allocations: 6.078 kB / 0.5118 GB, free: 34.2 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.848e-05/0.403, allocations: 191.2 kB / 0.512 GB, free: 34 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-06/0.403, allocations: 3.938 kB / 0.512 GB, free: 34 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.757e-05/0.4031, allocations: 2.438 kB / 0.512 GB, free: 34 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.625e-06/0.4031, allocations: 7.375 kB / 0.512 GB, free: 33.99 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.526e-06/0.4031, allocations: 2.75 kB / 0.512 GB, free: 33.99 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.172e-06/0.4031, allocations: 0 / 0.512 GB, free: 33.99 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.4031, allocations: 160 / 0.512 GB, free: 33.99 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003313/0.4034, allocations: 0.6926 MB / 0.5126 GB, free: 33.31 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.094e-05/0.4035, allocations: 91.27 kB / 0.5127 GB, free: 33.21 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.932e-05/0.4035, allocations: 4 kB / 0.5127 GB, free: 33.2 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.36e-05/0.4035, allocations: 2.875 kB / 0.5127 GB, free: 33.2 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.089e-05/0.4036, allocations: 6.172 kB / 0.5127 GB, free: 33.2 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.39e-05/0.4036, allocations: 6.812 kB / 0.5128 GB, free: 33.2 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001158/0.4037, allocations: 199.1 kB / 0.5129 GB, free: 33.09 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.31e-07/0.4037, allocations: 2.938 kB / 0.5129 GB, free: 33.09 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002972/0.404, allocations: 15.44 kB / 0.513 GB, free: 33.09 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 3 * 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.0007851/0.4048, allocations: 421.2 kB / 0.5134 GB, free: 32.89 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.000139/0.405, allocations: 46.25 kB / 0.5134 GB, free: 32.87 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.405, allocations: 0 / 0.5134 GB, free: 32.87 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 5.541e-05/0.405, allocations: 18.83 kB / 0.5134 GB, free: 32.86 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002512/0.4053, allocations: 25.58 kB / 0.5134 GB, free: 32.86 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004831/0.4058, allocations: 394.5 kB / 0.5138 GB, free: 32.55 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001469/0.4059, allocations: 0.7178 MB / 0.5145 GB, free: 31.85 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 4.898e-05/0.406, allocations: 9.516 kB / 0.5145 GB, free: 31.85 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.782e-05/0.406, allocations: 19.94 kB / 0.5146 GB, free: 31.84 MB / 378.7 MB Notification: Performance of SimCode: time 9.32e-07/0.406, allocations: 3.938 kB / 0.5146 GB, free: 31.84 MB / 378.7 MB Notification: Performance of Templates: time 0.003432/0.4095, allocations: 1.477 MB / 0.516 GB, free: 31.66 MB / 378.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test62.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test62.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test62.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test62.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test62.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test62 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test62.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test62_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test62/Test62.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test62.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches