Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test31.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.Test31,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test31") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test31,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test31") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001279/0.001279, allocations: 110.4 kB / 17.78 MB, free: 5.289 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.001343/0.001343, allocations: 187.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.449/1.449, allocations: 222.9 MB / 242.4 MB, free: 15.08 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.2131/0.2131, allocations: 44.18 MB / 336.7 MB, free: 2.676 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001201/0.001201, allocations: 63.89 kB / 470.5 MB, free: 13.17 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5196/0.5208, allocations: 60.83 MB / 0.5189 GB, free: 3.633 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test31): time 0.003808/0.5247, allocations: 1.629 MB / 0.5205 GB, free: 2.504 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001569/0.5263, allocations: 1.056 MB / 0.5215 GB, free: 1.758 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.286e-05/0.5264, allocations: 1.531 kB / 0.5215 GB, free: 1.758 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002369/0.5266, allocations: 24.25 kB / 0.5216 GB, free: 1.742 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002246/0.5269, allocations: 45.81 kB / 0.5216 GB, free: 1.715 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004596/0.5273, allocations: 179.7 kB / 0.5218 GB, free: 1.625 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001657/0.5275, allocations: 68.47 kB / 0.5218 GB, free: 1.594 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001192/0.5276, allocations: 19.88 kB / 0.5219 GB, free: 1.586 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.251e-05/0.5277, allocations: 25.02 kB / 0.5219 GB, free: 1.574 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001445/0.5279, allocations: 32.39 kB / 0.5219 GB, free: 1.559 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.841e-05/0.5279, allocations: 4.188 kB / 0.5219 GB, free: 1.559 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001248/0.528, allocations: 51.05 kB / 0.522 GB, free: 1.543 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.955e-05/0.5281, allocations: 22 kB / 0.522 GB, free: 1.531 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.377e-05/0.5281, allocations: 21.84 kB / 0.522 GB, free: 1.516 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000233/0.5284, allocations: 104 kB / 0.5221 GB, free: 1.469 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.64e-06/0.5284, allocations: 5.125 kB / 0.5221 GB, free: 1.465 MB / 382.1 MB Notification: Performance of FrontEnd: time 9.72e-07/0.5284, allocations: 0 / 0.5221 GB, free: 1.465 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.125e-06/0.5284, allocations: 0 / 0.5221 GB, free: 1.465 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004933/0.5289, allocations: 384 kB / 0.5225 GB, free: 1.086 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.385e-05/0.529, allocations: 9.5 kB / 0.5225 GB, free: 1.086 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.175e-05/0.529, allocations: 8.219 kB / 0.5225 GB, free: 1.082 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001928/0.5292, allocations: 187.8 kB / 0.5227 GB, free: 0.875 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.405e-05/0.5292, allocations: 5.531 kB / 0.5227 GB, free: 0.8711 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.894e-05/0.5293, allocations: 11.31 kB / 0.5227 GB, free: 0.8633 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000204/0.5295, allocations: 83.78 kB / 0.5228 GB, free: 0.7969 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.488e-05/0.5295, allocations: 1.953 kB / 0.5228 GB, free: 0.7969 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.323e-05/0.5295, allocations: 0 / 0.5228 GB, free: 0.7969 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.321e-06/0.5295, allocations: 5.031 kB / 0.5228 GB, free: 0.793 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000146/0.5297, allocations: 39.27 kB / 0.5228 GB, free: 0.7852 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004606/0.5301, allocations: 307.6 kB / 0.5231 GB, free: 500 kB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001362/0.5303, allocations: 51.06 kB / 0.5232 GB, free: 464 kB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.248e-05/0.5304, allocations: 25.44 kB / 0.5232 GB, free: 452 kB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.522e-05/0.5304, allocations: 0.7031 kB / 0.5232 GB, free: 452 kB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.165e-05/0.5304, allocations: 36.48 kB / 0.5232 GB, free: 408 kB / 382.1 MB Notification: Performance of pre-optimization done (n=4): time 1.263e-06/0.5304, allocations: 1.219 kB / 0.5232 GB, free: 408 kB / 382.1 MB Notification: Performance of matching and sorting (n=7): time 0.0008168/0.5313, allocations: 221.7 kB / 0.5234 GB, free: 324 kB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.596e-05/0.5313, allocations: 77.11 kB / 0.5235 GB, free: 228 kB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001272/0.5315, allocations: 139.9 kB / 0.5236 GB, free: 112 kB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.317e-05/0.5315, allocations: 25.7 kB / 0.5237 GB, free: 80 kB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.453e-05/0.5316, allocations: 94.41 kB / 0.5238 GB, free: 15.99 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.376e-05/0.5316, allocations: 25.31 kB / 0.5238 GB, free: 15.97 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.612e-05/0.5316, allocations: 19.25 kB / 0.5238 GB, free: 15.95 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001251/0.5318, allocations: 320.6 kB / 0.5241 GB, free: 15.63 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000134/0.5319, allocations: 46.2 kB / 0.5241 GB, free: 15.62 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001361/0.5321, allocations: 55.61 kB / 0.5242 GB, free: 15.59 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002539/0.5323, allocations: 91.11 kB / 0.5243 GB, free: 15.56 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.062e-06/0.5323, allocations: 0 / 0.5243 GB, free: 15.56 MB / 398.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003247/0.5327, allocations: 125.3 kB / 0.5244 GB, free: 15.5 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.659e-05/0.5327, allocations: 5.734 kB / 0.5244 GB, free: 15.5 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.08e-06/0.5327, allocations: 1.156 kB / 0.5244 GB, free: 15.5 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.556e-05/0.5327, allocations: 0 / 0.5244 GB, free: 15.5 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001228/0.5328, allocations: 20.25 kB / 0.5244 GB, free: 15.5 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.81e-06/0.5329, allocations: 0 / 0.5244 GB, free: 15.5 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.604e-05/0.5329, allocations: 17.78 kB / 0.5244 GB, free: 15.49 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.348e-06/0.5329, allocations: 1.5 kB / 0.5244 GB, free: 15.49 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 (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 0.0001067/0.5331, allocations: 126.4 kB / 0.5246 GB, free: 15.37 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.474e-05/0.5331, allocations: 7.031 kB / 0.5246 GB, free: 15.36 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003913/0.5335, allocations: 133 kB / 0.5247 GB, free: 15.3 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.769e-06/0.5335, allocations: 1.312 kB / 0.5247 GB, free: 15.3 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.599e-06/0.5335, allocations: 0 / 0.5247 GB, free: 15.3 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.584e-06/0.5335, allocations: 4.688 kB / 0.5247 GB, free: 15.3 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000645/0.5342, allocations: 413 kB / 0.5251 GB, free: 14.95 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.433e-06/0.5342, allocations: 0 / 0.5251 GB, free: 14.95 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.188e-05/0.5343, allocations: 20.56 kB / 0.5251 GB, free: 14.95 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.174e-06/0.5343, allocations: 0 / 0.5251 GB, free: 14.95 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.262e-05/0.5343, allocations: 9.656 kB / 0.5251 GB, free: 14.94 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.423e-06/0.5343, allocations: 0 / 0.5251 GB, free: 14.94 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.263e-06/0.5343, allocations: 0 / 0.5251 GB, free: 14.94 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003405/0.5347, allocations: 227.1 kB / 0.5253 GB, free: 14.78 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.85e-05/0.5347, allocations: 83.23 kB / 0.5254 GB, free: 14.68 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.073e-05/0.5348, allocations: 9.625 kB / 0.5254 GB, free: 14.67 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.577e-05/0.5348, allocations: 9.969 kB / 0.5254 GB, free: 14.67 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.67e-05/0.5349, allocations: 5.906 kB / 0.5255 GB, free: 14.67 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.481e-06/0.5349, allocations: 5.75 kB / 0.5255 GB, free: 14.67 MB / 398.1 MB Notification: Performance of sorting global known variables: time 7.88e-05/0.535, allocations: 104.6 kB / 0.5256 GB, free: 14.59 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.535, allocations: 0 / 0.5256 GB, free: 14.59 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002581/0.5353, allocations: 26.03 kB / 0.5256 GB, free: 14.58 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 (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 Backend phase and start with SimCode phase: time 0.001015/0.5363, allocations: 452.3 kB / 0.526 GB, free: 14.37 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0003543/0.5367, allocations: 92.02 kB / 0.5261 GB, free: 14.35 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.485e-06/0.5367, allocations: 0 / 0.5261 GB, free: 14.35 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000141/0.5368, allocations: 48.52 kB / 0.5261 GB, free: 14.34 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003023/0.5371, allocations: 15.2 kB / 0.5262 GB, free: 14.33 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004884/0.5376, allocations: 206.4 kB / 0.5264 GB, free: 14.16 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002902/0.5379, allocations: 0.7008 MB / 0.527 GB, free: 13.46 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 9.124e-05/0.538, allocations: 25.28 kB / 0.5271 GB, free: 13.46 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.635e-05/0.5381, allocations: 20.19 kB / 0.5271 GB, free: 13.45 MB / 398.1 MB Notification: Performance of SimCode: time 2.4e-07/0.5381, allocations: 0 / 0.5271 GB, free: 13.45 MB / 398.1 MB Notification: Performance of Templates: time 0.004737/0.5428, allocations: 1.568 MB / 0.5286 GB, free: 12.86 MB / 398.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test31.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test31.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test31.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test31.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test31.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test31 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test31.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test31_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test31/Test31.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test31.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches