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.001226/0.001226, allocations: 109.8 kB / 17.78 MB, free: 5.266 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.001368/0.001368, allocations: 183.1 kB / 18.71 MB, free: 4.34 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.325/1.325, 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.194/0.194, allocations: 44.19 MB / 336.7 MB, free: 2.684 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00103/0.00103, allocations: 59.91 kB / 470.5 MB, free: 13.18 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4088/0.4099, allocations: 60.82 MB / 0.5189 GB, free: 3.633 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test31): time 0.002931/0.4128, allocations: 1.634 MB / 0.5205 GB, free: 2.5 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001606/0.4145, allocations: 1.056 MB / 0.5215 GB, free: 1.754 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.477e-05/0.4146, allocations: 1.031 kB / 0.5215 GB, free: 1.754 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003234/0.4149, allocations: 23.53 kB / 0.5216 GB, free: 1.738 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002707/0.4152, allocations: 46.72 kB / 0.5216 GB, free: 1.711 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000521/0.4157, allocations: 174.9 kB / 0.5218 GB, free: 1.625 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001844/0.4159, allocations: 69.95 kB / 0.5218 GB, free: 1.594 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001213/0.4161, allocations: 18.83 kB / 0.5219 GB, free: 1.586 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.719e-05/0.4161, allocations: 25.47 kB / 0.5219 GB, free: 1.574 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001592/0.4163, allocations: 31.92 kB / 0.5219 GB, free: 1.559 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.042e-05/0.4163, allocations: 4.719 kB / 0.5219 GB, free: 1.559 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001275/0.4164, allocations: 51.05 kB / 0.522 GB, free: 1.543 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.627e-05/0.4165, allocations: 20.88 kB / 0.522 GB, free: 1.531 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 3.888e-05/0.4166, allocations: 22.22 kB / 0.522 GB, free: 1.516 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002503/0.4168, allocations: 105.4 kB / 0.5221 GB, free: 1.473 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.928e-06/0.4168, allocations: 0 / 0.5221 GB, free: 1.473 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.074e-06/0.4168, allocations: 0 / 0.5221 GB, free: 1.473 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.953e-06/0.4169, allocations: 1.375 kB / 0.5221 GB, free: 1.473 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.0004814/0.4173, allocations: 396.8 kB / 0.5225 GB, free: 1.078 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.713e-05/0.4174, allocations: 9.25 kB / 0.5225 GB, free: 1.078 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.47e-05/0.4174, allocations: 8.141 kB / 0.5225 GB, free: 1.074 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001698/0.4176, allocations: 187.2 kB / 0.5227 GB, free: 0.8672 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.175e-05/0.4176, allocations: 6.297 kB / 0.5227 GB, free: 0.8633 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.2e-05/0.4177, allocations: 7.594 kB / 0.5227 GB, free: 0.8594 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001904/0.4179, allocations: 83.25 kB / 0.5228 GB, free: 0.793 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.168e-05/0.4179, allocations: 4 kB / 0.5228 GB, free: 0.7891 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.259e-05/0.4179, allocations: 1.188 kB / 0.5228 GB, free: 0.7891 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.654e-06/0.4179, allocations: 6.078 kB / 0.5228 GB, free: 0.7852 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001406/0.4181, allocations: 39.09 kB / 0.5228 GB, free: 0.7773 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004015/0.4185, allocations: 303.4 kB / 0.5231 GB, free: 496 kB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001219/0.4186, allocations: 54.84 kB / 0.5232 GB, free: 456 kB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.121e-05/0.4187, allocations: 24.98 kB / 0.5232 GB, free: 444 kB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.128e-05/0.4187, allocations: 0.8125 kB / 0.5232 GB, free: 444 kB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.229e-05/0.4187, allocations: 32.38 kB / 0.5232 GB, free: 404 kB / 382.1 MB Notification: Performance of pre-optimization done (n=4): time 1.092e-06/0.4187, allocations: 1.125 kB / 0.5232 GB, free: 404 kB / 382.1 MB Notification: Performance of matching and sorting (n=7): time 0.0008502/0.4196, allocations: 225.3 kB / 0.5234 GB, free: 316 kB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.643e-05/0.4196, allocations: 79.03 kB / 0.5235 GB, free: 220 kB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000131/0.4198, allocations: 135.7 kB / 0.5236 GB, free: 108 kB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.026e-05/0.4198, allocations: 25.7 kB / 0.5237 GB, free: 76 kB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001099/0.4199, allocations: 97.55 kB / 0.5238 GB, free: 15.98 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.028e-05/0.4199, allocations: 25.17 kB / 0.5238 GB, free: 15.96 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.594e-05/0.42, allocations: 22.03 kB / 0.5238 GB, free: 15.94 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001215/0.4201, allocations: 322.8 kB / 0.5241 GB, free: 15.62 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001226/0.4203, allocations: 34.05 kB / 0.5241 GB, free: 15.62 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001323/0.4204, allocations: 55.83 kB / 0.5242 GB, free: 15.59 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002337/0.4206, allocations: 96.45 kB / 0.5243 GB, free: 15.55 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.62e-07/0.4206, allocations: 0 / 0.5243 GB, free: 15.55 MB / 398.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003038/0.421, allocations: 120.2 kB / 0.5244 GB, free: 15.5 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.81e-05/0.421, allocations: 5.75 kB / 0.5244 GB, free: 15.5 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.694e-06/0.421, allocations: 0.75 kB / 0.5244 GB, free: 15.5 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.943e-05/0.421, allocations: 1.438 kB / 0.5244 GB, free: 15.5 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001209/0.4212, allocations: 22.06 kB / 0.5244 GB, free: 15.5 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.997e-06/0.4212, allocations: 1.797 kB / 0.5244 GB, free: 15.5 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.679e-05/0.4212, allocations: 16.56 kB / 0.5245 GB, free: 15.49 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.039e-05/0.4213, allocations: 2.562 kB / 0.5245 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 9.15e-05/0.4214, allocations: 120.5 kB / 0.5246 GB, free: 15.37 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.473e-05/0.4214, allocations: 8.5 kB / 0.5246 GB, free: 15.36 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003866/0.4218, allocations: 139.3 kB / 0.5247 GB, free: 15.29 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.685e-06/0.4218, allocations: 1.469 kB / 0.5247 GB, free: 15.29 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.354e-06/0.4218, allocations: 0.6562 kB / 0.5247 GB, free: 15.29 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.134e-06/0.4218, allocations: 5.438 kB / 0.5247 GB, free: 15.29 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006146/0.4224, allocations: 415.8 kB / 0.5251 GB, free: 14.94 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/0.4225, allocations: 5.188 kB / 0.5251 GB, free: 14.93 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.223e-05/0.4226, allocations: 18.55 kB / 0.5251 GB, free: 14.93 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.155e-06/0.4226, allocations: 0.6562 kB / 0.5251 GB, free: 14.93 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.116e-05/0.4226, allocations: 8.969 kB / 0.5251 GB, free: 14.93 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.643e-06/0.4226, allocations: 1.125 kB / 0.5251 GB, free: 14.93 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.614e-06/0.4226, allocations: 0.75 kB / 0.5251 GB, free: 14.93 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003429/0.4229, allocations: 221.8 kB / 0.5254 GB, free: 14.77 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.021e-05/0.423, allocations: 79.94 kB / 0.5254 GB, free: 14.67 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.265e-05/0.423, allocations: 9.734 kB / 0.5254 GB, free: 14.66 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.509e-05/0.4231, allocations: 9.906 kB / 0.5255 GB, free: 14.66 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.504e-05/0.4232, allocations: 5.344 kB / 0.5255 GB, free: 14.66 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.342e-06/0.4232, allocations: 2.438 kB / 0.5255 GB, free: 14.66 MB / 398.1 MB Notification: Performance of sorting global known variables: time 9.64e-05/0.4233, allocations: 104.4 kB / 0.5256 GB, free: 14.58 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.4233, allocations: 0 / 0.5256 GB, free: 14.58 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002703/0.4236, allocations: 35.81 kB / 0.5256 GB, free: 14.57 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.00103/0.4246, allocations: 449.2 kB / 0.526 GB, free: 14.36 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0003218/0.4249, allocations: 95.7 kB / 0.5261 GB, free: 14.33 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.933e-06/0.4249, allocations: 0 / 0.5261 GB, free: 14.33 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000133/0.4251, allocations: 44.77 kB / 0.5262 GB, free: 14.32 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003596/0.4254, allocations: 19.77 kB / 0.5262 GB, free: 14.32 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000475/0.4259, allocations: 197.4 kB / 0.5264 GB, free: 14.16 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003022/0.4262, allocations: 0.7025 MB / 0.5271 GB, free: 13.45 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 9.096e-05/0.4263, allocations: 22.81 kB / 0.5271 GB, free: 13.45 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.537e-05/0.4264, allocations: 21.48 kB / 0.5271 GB, free: 13.44 MB / 398.1 MB Notification: Performance of SimCode: time 2.6e-07/0.4264, allocations: 0 / 0.5271 GB, free: 13.44 MB / 398.1 MB Notification: Performance of Templates: time 0.005095/0.4315, allocations: 1.553 MB / 0.5286 GB, free: 12.84 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