Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test65.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.Test65,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test65") translateModel(ModelicaTest.Tables.CombiTimeTable.Test65,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test65") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001079/0.001079, 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.337/1.337, allocations: 222.9 MB / 241.6 MB, free: 10.99 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.0009492/0.0009493, allocations: 94.94 kB / 291.8 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.3224/0.3224, allocations: 44.12 MB / 386.1 MB, free: 37.98 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001157/0.001157, allocations: 55.92 kB / 457.8 MB, free: 2.293 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4032/0.4044, allocations: 60.8 MB / 0.5064 GB, free: 38.22 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test65): time 0.003337/0.4078, allocations: 1.715 MB / 0.5081 GB, free: 37.04 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001147/0.409, allocations: 0.8541 MB / 0.5089 GB, free: 36.45 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.603e-05/0.409, allocations: 0 / 0.5089 GB, free: 36.45 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003133/0.4094, allocations: 78.98 kB / 0.509 GB, free: 36.44 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001682/0.4096, allocations: 69.47 kB / 0.509 GB, free: 36.41 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002284/0.4098, allocations: 99.5 kB / 0.5091 GB, free: 36.36 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.000182/0.41, allocations: 91.78 kB / 0.5092 GB, free: 36.32 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.348e-05/0.41, allocations: 5.688 kB / 0.5092 GB, free: 36.32 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.98e-05/0.4101, allocations: 46.83 kB / 0.5093 GB, free: 36.31 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.924e-05/0.4102, allocations: 54.72 kB / 0.5093 GB, free: 36.29 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.761e-05/0.4103, allocations: 2.875 kB / 0.5093 GB, free: 36.29 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.399e-05/0.4103, allocations: 33.34 kB / 0.5094 GB, free: 36.27 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 5.593e-05/0.4104, allocations: 19.36 kB / 0.5094 GB, free: 36.27 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 4.426e-05/0.4104, allocations: 29.75 kB / 0.5094 GB, free: 36.25 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001667/0.4106, allocations: 100.3 kB / 0.5095 GB, free: 36.21 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.14e-06/0.4106, allocations: 4 kB / 0.5095 GB, free: 36.2 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.803e-06/0.4106, allocations: 0 / 0.5095 GB, free: 36.2 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.868e-06/0.4106, allocations: 5.125 kB / 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0004995/0.4111, allocations: 396.8 kB / 0.5099 GB, free: 35.8 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.105e-05/0.4112, allocations: 12.53 kB / 0.5099 GB, free: 35.8 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.577e-05/0.4112, allocations: 15.19 kB / 0.5099 GB, free: 35.8 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00018/0.4114, allocations: 217.2 kB / 0.5101 GB, free: 35.57 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.247e-06/0.4114, allocations: 7.281 kB / 0.5101 GB, free: 35.57 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.641e-05/0.4115, allocations: 4.125 kB / 0.5101 GB, free: 35.57 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000123/0.4116, allocations: 47.47 kB / 0.5102 GB, free: 35.53 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.537e-06/0.4116, allocations: 0 / 0.5102 GB, free: 35.53 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.666e-06/0.4116, allocations: 0 / 0.5102 GB, free: 35.53 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.124e-05/0.4116, allocations: 3.234 kB / 0.5102 GB, free: 35.53 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.756e-05/0.4117, allocations: 12.06 kB / 0.5102 GB, free: 35.53 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001457/0.4119, allocations: 185.1 kB / 0.5104 GB, free: 35.32 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001392/0.412, allocations: 62.62 kB / 0.5104 GB, free: 35.28 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.806e-05/0.4121, allocations: 24.7 kB / 0.5105 GB, free: 35.27 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.159e-05/0.4121, allocations: 0 / 0.5105 GB, free: 35.27 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001573/0.4123, allocations: 62.69 kB / 0.5105 GB, free: 35.21 MB / 378.7 MB Notification: Performance of pre-optimization done (n=5): time 2.405e-06/0.4123, allocations: 3.984 kB / 0.5105 GB, free: 35.21 MB / 378.7 MB Notification: Performance of matching and sorting (n=5): time 0.0002493/0.4125, allocations: 106.8 kB / 0.5106 GB, free: 35.14 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.028e-05/0.4126, allocations: 51.41 kB / 0.5107 GB, free: 35.08 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001521/0.4127, allocations: 209.9 kB / 0.5109 GB, free: 34.95 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.17e-05/0.4128, allocations: 32.58 kB / 0.5109 GB, free: 34.91 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.773e-05/0.4128, allocations: 106.1 kB / 0.511 GB, free: 34.82 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.036e-05/0.4128, allocations: 11.81 kB / 0.511 GB, free: 34.8 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.946e-05/0.4129, allocations: 17.59 kB / 0.511 GB, free: 34.79 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 5.776e-05/0.4129, allocations: 325.2 kB / 0.5113 GB, free: 34.47 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.38e-05/0.413, allocations: 16.62 kB / 0.5114 GB, free: 34.46 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.918e-05/0.413, allocations: 32.58 kB / 0.5114 GB, free: 34.44 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.637e-05/0.4131, allocations: 46.23 kB / 0.5114 GB, free: 34.41 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.824e-06/0.4131, allocations: 0 / 0.5114 GB, free: 34.41 MB / 378.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001387/0.4133, allocations: 84.69 kB / 0.5115 GB, free: 34.35 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.333e-05/0.4133, allocations: 5.688 kB / 0.5115 GB, free: 34.35 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.999e-06/0.4133, allocations: 6.781 kB / 0.5115 GB, free: 34.35 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.552e-05/0.4133, allocations: 0 / 0.5115 GB, free: 34.35 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.184e-05/0.4134, allocations: 12.62 kB / 0.5115 GB, free: 34.34 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.542e-06/0.4134, allocations: 0 / 0.5115 GB, free: 34.34 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.154e-05/0.4135, allocations: 6.047 kB / 0.5115 GB, free: 34.34 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.382e-06/0.4135, allocations: 2.969 kB / 0.5116 GB, free: 34.34 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 8.273e-05/0.4136, allocations: 132.5 kB / 0.5117 GB, free: 34.22 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.086e-05/0.4136, allocations: 10.56 kB / 0.5117 GB, free: 34.21 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.846e-05/0.4136, allocations: 10.81 kB / 0.5117 GB, free: 34.21 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.256e-06/0.4136, allocations: 6.906 kB / 0.5117 GB, free: 34.2 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.502e-06/0.4137, allocations: 3.422 kB / 0.5117 GB, free: 34.2 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.607e-06/0.4137, allocations: 0 / 0.5117 GB, free: 34.2 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001042/0.4138, allocations: 196.3 kB / 0.5119 GB, free: 33.99 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.4138, allocations: 0 / 0.5119 GB, free: 33.99 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.878e-05/0.4138, allocations: 2.906 kB / 0.5119 GB, free: 33.99 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.563e-06/0.4138, allocations: 0 / 0.5119 GB, free: 33.99 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.874e-06/0.4138, allocations: 0 / 0.5119 GB, free: 33.99 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.092e-06/0.4138, allocations: 2.75 kB / 0.5119 GB, free: 33.99 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.4138, allocations: 0 / 0.5119 GB, free: 33.99 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003718/0.4142, allocations: 0.6911 MB / 0.5126 GB, free: 33.31 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.477e-05/0.4143, allocations: 87.83 kB / 0.5127 GB, free: 33.21 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.11e-05/0.4143, allocations: 2.875 kB / 0.5127 GB, free: 33.21 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.386e-05/0.4143, allocations: 3.938 kB / 0.5127 GB, free: 33.2 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.79e-05/0.4144, allocations: 6.25 kB / 0.5127 GB, free: 33.2 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.335e-05/0.4144, allocations: 6.812 kB / 0.5127 GB, free: 33.2 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001009/0.4145, allocations: 164.7 kB / 0.5128 GB, free: 33.1 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.41e-07/0.4145, allocations: 7.875 kB / 0.5128 GB, free: 33.09 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.000298/0.4148, allocations: 15.25 kB / 0.5129 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.0009033/0.4157, allocations: 409.3 kB / 0.5132 GB, free: 32.9 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001434/0.4159, allocations: 34.47 kB / 0.5133 GB, free: 32.89 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.914e-06/0.4159, allocations: 0 / 0.5133 GB, free: 32.89 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 5.946e-05/0.4159, allocations: 23.27 kB / 0.5133 GB, free: 32.88 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002583/0.4162, allocations: 33.42 kB / 0.5133 GB, free: 32.87 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004536/0.4167, allocations: 356.6 kB / 0.5137 GB, free: 32.57 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001682/0.4169, allocations: 0.7042 MB / 0.5144 GB, free: 31.87 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 4.847e-05/0.4169, allocations: 11.3 kB / 0.5144 GB, free: 31.87 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.915e-05/0.4169, allocations: 15.98 kB / 0.5144 GB, free: 31.87 MB / 378.7 MB Notification: Performance of SimCode: time 2.31e-07/0.417, allocations: 0 / 0.5144 GB, free: 31.87 MB / 378.7 MB Notification: Performance of Templates: time 0.004/0.421, allocations: 1.469 MB / 0.5158 GB, free: 31.68 MB / 378.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test65.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test65.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test65.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test65.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test65.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test65 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test65.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test65_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test65/Test65.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test65.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches