Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab.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.CombiTable2Ds.Test18_usertab,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|ramp.y|ramp1.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test18_usertab,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|ramp.y|ramp1.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001409/0.001409, allocations: 111.3 kB / 18.45 MB, free: 4.645 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.001437/0.001437, allocations: 186.2 kB / 19.38 MB, free: 3.723 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.404/1.404, allocations: 222.9 MB / 243.1 MB, free: 15.05 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.2271/0.2271, allocations: 44.18 MB / 337.4 MB, free: 2.68 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001633/0.001633, allocations: 63.91 kB / 471.2 MB, free: 13.16 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4091/0.4107, allocations: 60.83 MB / 0.5196 GB, free: 3.609 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test18_usertab): time 0.003085/0.4139, allocations: 1.659 MB / 0.5212 GB, free: 2.461 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007929/0.4147, allocations: 453.8 kB / 0.5216 GB, free: 2.16 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.161e-05/0.4148, allocations: 1.156 kB / 0.5216 GB, free: 2.16 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002019/0.415, allocations: 26.89 kB / 0.5217 GB, free: 2.141 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002044/0.4152, allocations: 44.44 kB / 0.5217 GB, free: 2.113 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003597/0.4156, allocations: 138.5 kB / 0.5218 GB, free: 2.043 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001749/0.4158, allocations: 83.98 kB / 0.5219 GB, free: 2.004 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001119/0.4159, allocations: 18.72 kB / 0.5219 GB, free: 1.992 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.692e-05/0.416, allocations: 32.88 kB / 0.522 GB, free: 1.977 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.936e-05/0.416, allocations: 38.8 kB / 0.522 GB, free: 1.957 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.145e-05/0.4161, allocations: 6.281 kB / 0.522 GB, free: 1.957 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001371/0.4162, allocations: 54.2 kB / 0.5221 GB, free: 1.941 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.373e-05/0.4163, allocations: 24.47 kB / 0.5221 GB, free: 1.926 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 3.825e-05/0.4163, allocations: 32.56 kB / 0.5221 GB, free: 1.902 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002498/0.4166, allocations: 117.3 kB / 0.5222 GB, free: 1.855 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.797e-06/0.4166, allocations: 0 / 0.5222 GB, free: 1.855 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.324e-06/0.4166, allocations: 1 kB / 0.5222 GB, free: 1.855 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.502e-06/0.4166, allocations: 4 kB / 0.5222 GB, free: 1.852 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.0005872/0.4172, allocations: 413.3 kB / 0.5226 GB, free: 1.457 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.926e-05/0.4172, allocations: 8.938 kB / 0.5226 GB, free: 1.457 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.07e-05/0.4173, allocations: 13.66 kB / 0.5227 GB, free: 1.449 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001576/0.4175, allocations: 183.5 kB / 0.5228 GB, free: 1.246 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.22e-05/0.4175, allocations: 2.406 kB / 0.5228 GB, free: 1.246 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.322e-05/0.4175, allocations: 6.875 kB / 0.5228 GB, free: 1.242 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002884/0.4178, allocations: 93.62 kB / 0.5229 GB, free: 1.18 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.189e-05/0.4178, allocations: 3.938 kB / 0.5229 GB, free: 1.176 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.396e-05/0.4179, allocations: 1.953 kB / 0.5229 GB, free: 1.176 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.1e-06/0.4179, allocations: 0 / 0.5229 GB, free: 1.176 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000315/0.4182, allocations: 77.8 kB / 0.523 GB, free: 1.156 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004218/0.4186, allocations: 308.8 kB / 0.5233 GB, free: 0.8555 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002515/0.4189, allocations: 68.83 kB / 0.5234 GB, free: 0.8203 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001791/0.4191, allocations: 46.12 kB / 0.5234 GB, free: 0.8047 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.962e-05/0.4191, allocations: 4.938 kB / 0.5234 GB, free: 0.8008 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.796e-05/0.4191, allocations: 36.61 kB / 0.5234 GB, free: 0.7578 MB / 382.1 MB Notification: Performance of pre-optimization done (n=5): time 1.223e-06/0.4191, allocations: 0 / 0.5234 GB, free: 0.7578 MB / 382.1 MB Notification: Performance of matching and sorting (n=9): time 0.001696/0.4208, allocations: 370.7 kB / 0.5238 GB, free: 0.6602 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.877e-05/0.4209, allocations: 78.95 kB / 0.5239 GB, free: 0.5664 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001417/0.421, allocations: 146.1 kB / 0.524 GB, free: 460 kB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.458e-05/0.4211, allocations: 34.77 kB / 0.5241 GB, free: 420 kB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.361e-05/0.4211, allocations: 101.3 kB / 0.5241 GB, free: 320 kB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.136e-05/0.4212, allocations: 29.61 kB / 0.5242 GB, free: 296 kB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.757e-05/0.4212, allocations: 22.09 kB / 0.5242 GB, free: 276 kB / 382.1 MB Notification: Performance of setup shared object (initialization): time 8.988e-05/0.4213, allocations: 324.8 kB / 0.5245 GB, free: 15.95 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003163/0.4216, allocations: 70.53 kB / 0.5246 GB, free: 15.94 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002999/0.4219, allocations: 88.52 kB / 0.5247 GB, free: 15.91 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005783/0.4225, allocations: 147.8 kB / 0.5248 GB, free: 15.87 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.373e-06/0.4225, allocations: 384 / 0.5248 GB, free: 15.87 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0006732/0.4232, allocations: 198.7 kB / 0.525 GB, free: 15.8 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.84e-05/0.4232, allocations: 3.938 kB / 0.525 GB, free: 15.8 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.835e-06/0.4233, allocations: 0.6562 kB / 0.525 GB, free: 15.8 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.878e-05/0.4233, allocations: 5.781 kB / 0.525 GB, free: 15.8 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002375/0.4235, allocations: 40.98 kB / 0.525 GB, free: 15.79 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.38e-06/0.4235, allocations: 0 / 0.525 GB, free: 15.79 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001601/0.4237, allocations: 28.06 kB / 0.5251 GB, free: 15.79 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.291e-05/0.4237, allocations: 5.281 kB / 0.5251 GB, free: 15.79 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 (10): * Single equations (assignments): 10 * 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.0001117/0.4238, allocations: 121 kB / 0.5252 GB, free: 15.66 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.864e-05/0.4239, allocations: 9 kB / 0.5252 GB, free: 15.66 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000727/0.4246, allocations: 205.5 kB / 0.5254 GB, free: 15.58 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.689e-06/0.4246, allocations: 1.5 kB / 0.5254 GB, free: 15.58 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.971e-06/0.4246, allocations: 0 / 0.5254 GB, free: 15.58 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.643e-06/0.4247, allocations: 4.594 kB / 0.5254 GB, free: 15.58 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001028/0.4257, allocations: 0.4891 MB / 0.5259 GB, free: 15.21 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.917e-06/0.4257, allocations: 3.828 kB / 0.5259 GB, free: 15.21 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001823/0.4259, allocations: 36.45 kB / 0.5259 GB, free: 15.21 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.292e-06/0.4259, allocations: 5.594 kB / 0.5259 GB, free: 15.2 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.066e-05/0.4259, allocations: 0 / 0.5259 GB, free: 15.2 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.078e-06/0.4259, allocations: 2.438 kB / 0.5259 GB, free: 15.2 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.307e-06/0.4259, allocations: 0 / 0.5259 GB, free: 15.2 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006855/0.4266, allocations: 286.9 kB / 0.5262 GB, free: 15.04 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.575e-05/0.4267, allocations: 92.58 kB / 0.5263 GB, free: 14.93 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.362e-05/0.4267, allocations: 3.938 kB / 0.5263 GB, free: 14.93 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001763/0.4269, allocations: 22.89 kB / 0.5263 GB, free: 14.93 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.936e-05/0.427, allocations: 20.05 kB / 0.5263 GB, free: 14.91 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.025e-06/0.427, allocations: 2.75 kB / 0.5263 GB, free: 14.91 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001159/0.4271, allocations: 112.1 kB / 0.5264 GB, free: 14.83 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4271, allocations: 0 / 0.5264 GB, free: 14.83 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002896/0.4274, allocations: 33.48 kB / 0.5265 GB, free: 14.82 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 (9): * Single equations (assignments): 9 * 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.001103/0.4285, allocations: 438.3 kB / 0.5269 GB, free: 14.62 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0007142/0.4293, allocations: 162.4 kB / 0.527 GB, free: 14.59 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/0.4293, allocations: 0 / 0.527 GB, free: 14.59 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003368/0.4296, allocations: 80.58 kB / 0.5271 GB, free: 14.57 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003992/0.43, allocations: 26.39 kB / 0.5271 GB, free: 14.55 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005214/0.4306, allocations: 232.1 kB / 0.5274 GB, free: 14.35 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002926/0.4309, allocations: 0.6973 MB / 0.528 GB, free: 13.64 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.437e-05/0.4309, allocations: 15.59 kB / 0.5281 GB, free: 13.64 MB / 398.1 MB Notification: Performance of SimCode: time 5.51e-07/0.4309, allocations: 0 / 0.5281 GB, free: 13.64 MB / 398.1 MB Notification: Performance of Templates: time 0.004435/0.4354, allocations: 2.146 MB / 0.5302 GB, free: 12.52 MB / 398.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test18_usertab/Test18_usertab.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches