Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test11.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.CombiTable1Ds.Test11,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test11") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test11,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test11") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001357/0.001357, allocations: 113.8 kB / 17.78 MB, free: 5.285 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.00149/0.001491, allocations: 183.9 kB / 18.71 MB, free: 4.371 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.47/1.47, allocations: 222.9 MB / 242.4 MB, free: 15.15 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.2249/0.2249, allocations: 44.18 MB / 336.7 MB, free: 2.684 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00208/0.00208, allocations: 67.91 kB / 470.6 MB, free: 13.15 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5139/0.516, allocations: 60.82 MB / 0.5189 GB, free: 3.613 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test11): time 0.003998/0.52, allocations: 1.571 MB / 0.5204 GB, free: 2.523 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001095/0.5212, allocations: 397.3 kB / 0.5208 GB, free: 2.266 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.148e-05/0.5213, allocations: 5.094 kB / 0.5208 GB, free: 2.262 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002916/0.5216, allocations: 16.09 kB / 0.5208 GB, free: 2.258 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002129/0.5218, allocations: 42 kB / 0.5209 GB, free: 2.234 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003512/0.5222, allocations: 96.55 kB / 0.521 GB, free: 2.18 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001959/0.5224, allocations: 54.84 kB / 0.521 GB, free: 2.156 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001475/0.5225, allocations: 15.59 kB / 0.521 GB, free: 2.148 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.631e-05/0.5226, allocations: 19.06 kB / 0.5211 GB, free: 2.141 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.202e-05/0.5227, allocations: 24.27 kB / 0.5211 GB, free: 2.125 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.04e-05/0.5227, allocations: 2.156 kB / 0.5211 GB, free: 2.125 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000112/0.5229, allocations: 29.86 kB / 0.5211 GB, free: 2.117 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.603e-05/0.5229, allocations: 15.84 kB / 0.5211 GB, free: 2.109 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.457e-05/0.523, allocations: 28.89 kB / 0.5212 GB, free: 2.086 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001968/0.5232, allocations: 79.58 kB / 0.5212 GB, free: 2.051 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.059e-06/0.5232, allocations: 0 / 0.5212 GB, free: 2.051 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.194e-06/0.5232, allocations: 0 / 0.5212 GB, free: 2.051 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.586e-06/0.5232, allocations: 1.844 kB / 0.5212 GB, free: 2.051 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004898/0.5237, allocations: 380.9 kB / 0.5216 GB, free: 1.668 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.284e-05/0.5238, allocations: 9.516 kB / 0.5216 GB, free: 1.668 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.947e-05/0.5238, allocations: 9.25 kB / 0.5216 GB, free: 1.664 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000229/0.5241, allocations: 191.1 kB / 0.5218 GB, free: 1.453 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.849e-06/0.5241, allocations: 5.562 kB / 0.5218 GB, free: 1.449 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.456e-05/0.5242, allocations: 1.969 kB / 0.5218 GB, free: 1.449 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001793/0.5243, allocations: 52.58 kB / 0.5219 GB, free: 1.406 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.982e-05/0.5244, allocations: 5.547 kB / 0.5219 GB, free: 1.402 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.449e-05/0.5244, allocations: 0 / 0.5219 GB, free: 1.402 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.824e-06/0.5244, allocations: 1 kB / 0.5219 GB, free: 1.402 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001567/0.5246, allocations: 22.31 kB / 0.5219 GB, free: 1.398 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004094/0.525, allocations: 278.1 kB / 0.5222 GB, free: 1.109 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002395/0.5253, allocations: 44.8 kB / 0.5222 GB, free: 1.078 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.361e-05/0.5253, allocations: 13.56 kB / 0.5222 GB, free: 1.07 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.619e-05/0.5254, allocations: 1.906 kB / 0.5222 GB, free: 1.07 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.522e-05/0.5254, allocations: 36.03 kB / 0.5222 GB, free: 1.027 MB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 1.713e-06/0.5254, allocations: 0 / 0.5222 GB, free: 1.027 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.0006426/0.526, allocations: 143.2 kB / 0.5224 GB, free: 0.957 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.774e-05/0.5261, allocations: 53.31 kB / 0.5224 GB, free: 0.8945 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002099/0.5263, allocations: 163.7 kB / 0.5226 GB, free: 0.7812 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.229e-05/0.5263, allocations: 26.77 kB / 0.5226 GB, free: 0.75 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.505e-05/0.5264, allocations: 102.6 kB / 0.5227 GB, free: 0.6523 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.414e-05/0.5264, allocations: 11.25 kB / 0.5227 GB, free: 0.6445 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.417e-05/0.5265, allocations: 22.06 kB / 0.5227 GB, free: 0.6211 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 6.957e-05/0.5265, allocations: 324.7 kB / 0.5231 GB, free: 308 kB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.592e-05/0.5266, allocations: 18.41 kB / 0.5231 GB, free: 304 kB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.266e-05/0.5267, allocations: 14.55 kB / 0.5231 GB, free: 304 kB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001277/0.5268, allocations: 51 kB / 0.5231 GB, free: 280 kB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.182e-06/0.5268, allocations: 1.156 kB / 0.5231 GB, free: 280 kB / 382.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.000199/0.527, allocations: 80.84 kB / 0.5232 GB, free: 232 kB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.348e-05/0.5271, allocations: 6.453 kB / 0.5232 GB, free: 232 kB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.835e-06/0.5271, allocations: 7.938 kB / 0.5232 GB, free: 224 kB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.577e-05/0.5271, allocations: 0 / 0.5232 GB, free: 224 kB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.752e-05/0.5272, allocations: 13.55 kB / 0.5232 GB, free: 224 kB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.045e-06/0.5272, allocations: 0 / 0.5232 GB, free: 224 kB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.288e-05/0.5273, allocations: 9.094 kB / 0.5232 GB, free: 220 kB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.147e-06/0.5273, allocations: 2.219 kB / 0.5232 GB, free: 220 kB / 382.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 (5): * Single equations (assignments): 5 * 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.848e-05/0.5274, allocations: 129.1 kB / 0.5234 GB, free: 88 kB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.31e-05/0.5274, allocations: 12.72 kB / 0.5234 GB, free: 80 kB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002377/0.5277, allocations: 93.98 kB / 0.5235 GB, free: 16 kB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.357e-06/0.5277, allocations: 1.375 kB / 0.5235 GB, free: 16 kB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.491e-06/0.5277, allocations: 0 / 0.5235 GB, free: 16 kB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.208e-06/0.5277, allocations: 0.75 kB / 0.5235 GB, free: 16 kB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005342/0.5282, allocations: 351.5 kB / 0.5238 GB, free: 15.68 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.5282, allocations: 1.906 kB / 0.5238 GB, free: 15.68 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.741e-05/0.5283, allocations: 11.94 kB / 0.5238 GB, free: 15.68 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.084e-06/0.5283, allocations: 0 / 0.5238 GB, free: 15.68 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.989e-06/0.5283, allocations: 2.125 kB / 0.5238 GB, free: 15.68 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.167e-06/0.5283, allocations: 3.938 kB / 0.5238 GB, free: 15.68 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.5284, allocations: 0 / 0.5238 GB, free: 15.68 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000239/0.5286, allocations: 177.5 kB / 0.524 GB, free: 15.53 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.683e-05/0.5287, allocations: 84.69 kB / 0.5241 GB, free: 15.43 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.079e-05/0.5287, allocations: 0 / 0.5241 GB, free: 15.43 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.762e-05/0.5288, allocations: 14.8 kB / 0.5241 GB, free: 15.43 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.253e-05/0.5289, allocations: 2.625 kB / 0.5241 GB, free: 15.43 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.291e-06/0.5289, allocations: 9.312 kB / 0.5241 GB, free: 15.42 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.000116/0.529, allocations: 126.7 kB / 0.5242 GB, free: 15.33 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.529, allocations: 0 / 0.5242 GB, free: 15.33 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002609/0.5293, allocations: 16.33 kB / 0.5242 GB, free: 15.33 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (5): * Single equations (assignments): 5 * 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.001124/0.5304, allocations: 402.5 kB / 0.5246 GB, free: 15.14 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002485/0.5307, allocations: 44.23 kB / 0.5247 GB, free: 15.13 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.825e-06/0.5307, allocations: 0.9688 kB / 0.5247 GB, free: 15.13 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 9.489e-05/0.5308, allocations: 26.36 kB / 0.5247 GB, free: 15.12 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004184/0.5312, allocations: 18.81 kB / 0.5247 GB, free: 15.11 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004926/0.5317, allocations: 187.5 kB / 0.5249 GB, free: 14.96 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003355/0.532, allocations: 0.7012 MB / 0.5256 GB, free: 14.26 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 5.304e-05/0.5321, allocations: 6.25 kB / 0.5256 GB, free: 14.26 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.586e-05/0.5322, allocations: 12.25 kB / 0.5256 GB, free: 14.25 MB / 398.1 MB Notification: Performance of SimCode: time 9.82e-07/0.5322, allocations: 0 / 0.5256 GB, free: 14.25 MB / 398.1 MB Notification: Performance of Templates: time 0.004756/0.5369, allocations: 1.121 MB / 0.5267 GB, free: 14.09 MB / 398.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test11.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test11.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test11.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test11.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test11.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test11 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test11.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test11_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test11/Test11.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test11.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches