Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test27.conf.json 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/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/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 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) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTable2Dv.Test27,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test27") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test27,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test27") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001137/0.001136, allocations: 106.4 kB / 17.77 MB, free: 5.273 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001356/0.001355, allocations: 187.9 kB / 18.71 MB, free: 4.348 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.438/1.438, allocations: 222.9 MB / 242.4 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2205/0.2205, allocations: 44.19 MB / 336.7 MB, free: 2.672 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001219/0.001219, allocations: 59.91 kB / 470.6 MB, free: 13.16 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4202/0.4214, allocations: 60.83 MB / 0.5189 GB, free: 3.621 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test27): time 0.002907/0.4244, allocations: 1.641 MB / 0.5205 GB, free: 2.484 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007513/0.4251, allocations: 452 kB / 0.521 GB, free: 2.188 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.649e-05/0.4252, allocations: 4.969 kB / 0.521 GB, free: 2.184 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002516/0.4255, allocations: 58.3 kB / 0.521 GB, free: 2.168 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000198/0.4257, allocations: 52.78 kB / 0.5211 GB, free: 2.148 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004143/0.4261, allocations: 179.8 kB / 0.5212 GB, free: 2.059 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001555/0.4263, allocations: 84.06 kB / 0.5213 GB, free: 2.023 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001212/0.4264, allocations: 24.98 kB / 0.5213 GB, free: 2.012 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.758e-05/0.4265, allocations: 36.69 kB / 0.5214 GB, free: 1.996 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.845e-05/0.4266, allocations: 46.77 kB / 0.5214 GB, free: 1.98 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.899e-05/0.4266, allocations: 4.031 kB / 0.5214 GB, free: 1.98 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001025/0.4267, allocations: 56.45 kB / 0.5215 GB, free: 1.961 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.514e-05/0.4268, allocations: 21.06 kB / 0.5215 GB, free: 1.953 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.036e-05/0.4268, allocations: 27.25 kB / 0.5215 GB, free: 1.934 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001927/0.427, allocations: 112.9 kB / 0.5216 GB, free: 1.883 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.178e-06/0.427, allocations: 0 / 0.5216 GB, free: 1.883 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.022e-06/0.427, allocations: 4 kB / 0.5216 GB, free: 1.879 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.701e-06/0.427, allocations: 0 / 0.5216 GB, free: 1.879 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0004539/0.4275, allocations: 406.7 kB / 0.522 GB, free: 1.484 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.778e-05/0.4276, allocations: 8.438 kB / 0.522 GB, free: 1.484 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.791e-05/0.4276, allocations: 15.12 kB / 0.5221 GB, free: 1.477 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001403/0.4277, allocations: 206.4 kB / 0.5222 GB, free: 1.254 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.095e-05/0.4278, allocations: 3.234 kB / 0.5222 GB, free: 1.254 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.438e-05/0.4278, allocations: 6.406 kB / 0.5223 GB, free: 1.25 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001702/0.428, allocations: 65.95 kB / 0.5223 GB, free: 1.207 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.322e-05/0.428, allocations: 1.656 kB / 0.5223 GB, free: 1.207 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.279e-05/0.428, allocations: 4 kB / 0.5223 GB, free: 1.203 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5e-06/0.428, allocations: 1.031 kB / 0.5223 GB, free: 1.203 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001521/0.4282, allocations: 46.98 kB / 0.5224 GB, free: 1.191 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004147/0.4286, allocations: 309.2 kB / 0.5227 GB, free: 0.9023 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002202/0.4288, allocations: 64.48 kB / 0.5227 GB, free: 0.8633 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.366e-05/0.4289, allocations: 27.11 kB / 0.5228 GB, free: 0.8516 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.214e-05/0.4289, allocations: 1.156 kB / 0.5228 GB, free: 0.8516 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.226e-05/0.429, allocations: 32.53 kB / 0.5228 GB, free: 0.8125 MB / 382.1 MB Notification: Performance of pre-optimization done (n=5): time 1.132e-06/0.429, allocations: 0 / 0.5228 GB, free: 0.8125 MB / 382.1 MB Notification: Performance of matching and sorting (n=11): time 0.00141/0.4304, allocations: 429.8 kB / 0.5232 GB, free: 0.6758 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.611e-05/0.4304, allocations: 56.62 kB / 0.5232 GB, free: 0.6094 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001395/0.4306, allocations: 178.7 kB / 0.5234 GB, free: 496 kB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.145e-05/0.4306, allocations: 25.7 kB / 0.5234 GB, free: 464 kB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.681e-05/0.4306, allocations: 104.3 kB / 0.5235 GB, free: 364 kB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.211e-05/0.4307, allocations: 47.47 kB / 0.5236 GB, free: 324 kB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.326e-05/0.4307, allocations: 27.33 kB / 0.5236 GB, free: 300 kB / 382.1 MB Notification: Performance of setup shared object (initialization): time 8.073e-05/0.4308, allocations: 322.4 kB / 0.5239 GB, free: 15.98 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001419/0.4309, allocations: 51.06 kB / 0.524 GB, free: 15.96 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001344/0.4311, allocations: 55.88 kB / 0.524 GB, free: 15.95 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002742/0.4314, allocations: 124.3 kB / 0.5241 GB, free: 15.91 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.41e-07/0.4314, allocations: 0 / 0.5241 GB, free: 15.91 MB / 398.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003341/0.4317, allocations: 168.2 kB / 0.5243 GB, free: 15.83 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.47e-05/0.4317, allocations: 6.844 kB / 0.5243 GB, free: 15.83 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.063e-06/0.4318, allocations: 3.938 kB / 0.5243 GB, free: 15.82 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.293e-05/0.4318, allocations: 0 / 0.5243 GB, free: 15.82 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001116/0.4319, allocations: 34.73 kB / 0.5243 GB, free: 15.82 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.299e-06/0.4319, allocations: 0.6562 kB / 0.5243 GB, free: 15.82 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.091e-05/0.432, allocations: 12.88 kB / 0.5244 GB, free: 15.81 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.007e-05/0.432, allocations: 1.844 kB / 0.5244 GB, free: 15.81 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 11 * 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.0001014/0.4321, allocations: 129.3 kB / 0.5245 GB, free: 15.69 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.63e-05/0.4321, allocations: 8.969 kB / 0.5245 GB, free: 15.69 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004447/0.4326, allocations: 202 kB / 0.5247 GB, free: 15.59 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.977e-06/0.4326, allocations: 2.781 kB / 0.5247 GB, free: 15.59 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.111e-06/0.4326, allocations: 1.125 kB / 0.5247 GB, free: 15.59 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.359e-06/0.4326, allocations: 0.5625 kB / 0.5247 GB, free: 15.59 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007572/0.4334, allocations: 0.4939 MB / 0.5252 GB, free: 15.2 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.885e-06/0.4334, allocations: 1.125 kB / 0.5252 GB, free: 15.2 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001093/0.4335, allocations: 29.41 kB / 0.5252 GB, free: 15.19 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.87e-06/0.4335, allocations: 2.188 kB / 0.5252 GB, free: 15.19 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.102e-05/0.4335, allocations: 1.156 kB / 0.5252 GB, free: 15.19 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.346e-06/0.4335, allocations: 1.828 kB / 0.5252 GB, free: 15.19 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.4336, allocations: 1.094 kB / 0.5252 GB, free: 15.19 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004248/0.434, allocations: 280.1 kB / 0.5255 GB, free: 14.99 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.709e-05/0.434, allocations: 84.09 kB / 0.5256 GB, free: 14.89 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.188e-05/0.4341, allocations: 3.359 kB / 0.5256 GB, free: 14.89 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.618e-05/0.4342, allocations: 8.734 kB / 0.5256 GB, free: 14.89 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.038e-05/0.4342, allocations: 16.41 kB / 0.5256 GB, free: 14.89 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.017e-06/0.4343, allocations: 4.25 kB / 0.5256 GB, free: 14.89 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001278/0.4344, allocations: 141.3 kB / 0.5257 GB, free: 14.8 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.4344, allocations: 0 / 0.5257 GB, free: 14.8 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002823/0.4347, allocations: 23.64 kB / 0.5257 GB, free: 14.79 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 11 * 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 Backend phase and start with SimCode phase: time 0.001144/0.4358, allocations: 460.4 kB / 0.5262 GB, free: 14.58 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0004002/0.4362, allocations: 134.7 kB / 0.5263 GB, free: 14.54 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.436e-06/0.4363, allocations: 0 / 0.5263 GB, free: 14.54 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001927/0.4365, allocations: 74.69 kB / 0.5264 GB, free: 14.52 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003519/0.4368, allocations: 19.81 kB / 0.5264 GB, free: 14.51 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000574/0.4374, allocations: 293.7 kB / 0.5267 GB, free: 14.3 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002997/0.4377, allocations: 0.7178 MB / 0.5274 GB, free: 13.6 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001001/0.4378, allocations: 34.48 kB / 0.5274 GB, free: 13.59 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.293e-05/0.4379, allocations: 14.88 kB / 0.5274 GB, free: 13.59 MB / 398.1 MB Notification: Performance of SimCode: time 4e-07/0.4379, allocations: 0 / 0.5274 GB, free: 13.59 MB / 398.1 MB Notification: Performance of Templates: time 0.004854/0.4427, allocations: 1.645 MB / 0.529 GB, free: 12.84 MB / 398.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test27.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test27.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test27.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test27.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test27.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test27 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test27.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test27_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test27/Test27.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test27.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches