Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test5.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.Test5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test5") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test5") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001364/0.001364, allocations: 112.8 kB / 17.78 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.001497/0.001497, allocations: 184.8 kB / 18.7 MB, free: 4.359 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.528/1.528, 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.2296/0.2296, allocations: 44.19 MB / 336.7 MB, free: 2.652 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001411/0.001411, allocations: 55.91 kB / 470.6 MB, free: 13.13 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4175/0.419, allocations: 60.82 MB / 0.5189 GB, free: 3.602 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test5): time 0.002846/0.4219, allocations: 1.588 MB / 0.5205 GB, free: 2.5 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007625/0.4226, allocations: 402.7 kB / 0.5209 GB, free: 2.238 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.721e-05/0.4227, allocations: 5.125 kB / 0.5209 GB, free: 2.234 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003574/0.4231, allocations: 91.75 kB / 0.521 GB, free: 2.215 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000236/0.4233, allocations: 75.89 kB / 0.521 GB, free: 2.188 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000296/0.4237, allocations: 84.78 kB / 0.5211 GB, free: 2.145 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001904/0.4239, allocations: 76.56 kB / 0.5212 GB, free: 2.117 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001284/0.424, allocations: 18.12 kB / 0.5212 GB, free: 2.109 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.388e-05/0.4241, allocations: 37.97 kB / 0.5212 GB, free: 2.094 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001183/0.4242, allocations: 50.17 kB / 0.5213 GB, free: 2.082 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.835e-05/0.4242, allocations: 7.328 kB / 0.5213 GB, free: 2.078 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001044/0.4243, allocations: 43.16 kB / 0.5213 GB, free: 2.066 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.33e-05/0.4244, allocations: 19.47 kB / 0.5213 GB, free: 2.059 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.756e-05/0.4244, allocations: 31.97 kB / 0.5214 GB, free: 2.035 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002175/0.4247, allocations: 104.7 kB / 0.5215 GB, free: 1.988 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.821e-06/0.4247, allocations: 1.094 kB / 0.5215 GB, free: 1.988 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.295e-06/0.4247, allocations: 4 kB / 0.5215 GB, free: 1.984 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.961e-06/0.4247, allocations: 0 / 0.5215 GB, free: 1.984 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.0004833/0.4252, allocations: 407.7 kB / 0.5219 GB, free: 1.586 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.758e-05/0.4252, allocations: 9.812 kB / 0.5219 GB, free: 1.586 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.366e-05/0.4253, allocations: 17.16 kB / 0.5219 GB, free: 1.574 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000204/0.4255, allocations: 200.4 kB / 0.5221 GB, free: 1.355 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.566e-06/0.4255, allocations: 1.344 kB / 0.5221 GB, free: 1.355 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.768e-05/0.4255, allocations: 3.562 kB / 0.5221 GB, free: 1.355 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001561/0.4257, allocations: 67.47 kB / 0.5222 GB, free: 1.301 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.252e-05/0.4257, allocations: 1.656 kB / 0.5222 GB, free: 1.301 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.428e-06/0.4257, allocations: 0 / 0.5222 GB, free: 1.301 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.043e-06/0.4257, allocations: 1.219 kB / 0.5222 GB, free: 1.301 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001021/0.4258, allocations: 24.41 kB / 0.5222 GB, free: 1.297 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003542/0.4262, allocations: 291.7 kB / 0.5225 GB, free: 1.008 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001089/0.4263, allocations: 51.73 kB / 0.5225 GB, free: 0.9688 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.807e-05/0.4264, allocations: 18.06 kB / 0.5225 GB, free: 0.957 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.27e-05/0.4264, allocations: 2.062 kB / 0.5225 GB, free: 0.957 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.194e-05/0.4264, allocations: 31.27 kB / 0.5226 GB, free: 0.918 MB / 382.1 MB Notification: Performance of pre-optimization done (n=4): time 1.212e-06/0.4264, allocations: 1.375 kB / 0.5226 GB, free: 0.918 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0008445/0.4273, allocations: 230.3 kB / 0.5228 GB, free: 0.8203 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.196e-05/0.4273, allocations: 53.3 kB / 0.5228 GB, free: 0.7578 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001924/0.4275, allocations: 224.3 kB / 0.523 GB, free: 0.6211 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 9.217e-06/0.4275, allocations: 30.83 kB / 0.5231 GB, free: 0.5859 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.279e-05/0.4276, allocations: 105.7 kB / 0.5232 GB, free: 500 kB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.551e-05/0.4276, allocations: 24.89 kB / 0.5232 GB, free: 480 kB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.501e-05/0.4276, allocations: 25.19 kB / 0.5232 GB, free: 456 kB / 382.1 MB Notification: Performance of setup shared object (initialization): time 5.326e-05/0.4277, allocations: 326.7 kB / 0.5235 GB, free: 128 kB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.77e-05/0.4278, allocations: 22.7 kB / 0.5236 GB, free: 124 kB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.716e-05/0.4279, allocations: 30.52 kB / 0.5236 GB, free: 112 kB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001367/0.428, allocations: 59.88 kB / 0.5236 GB, free: 88 kB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.21e-07/0.428, allocations: 0 / 0.5236 GB, free: 88 kB / 382.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001842/0.4282, allocations: 108.9 kB / 0.5237 GB, free: 24 kB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.381e-05/0.4282, allocations: 5.625 kB / 0.5238 GB, free: 24 kB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.997e-06/0.4282, allocations: 0 / 0.5238 GB, free: 24 kB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.509e-05/0.4283, allocations: 2.234 kB / 0.5238 GB, free: 24 kB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.618e-05/0.4284, allocations: 24.52 kB / 0.5238 GB, free: 16 kB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.691e-06/0.4284, allocations: 3.938 kB / 0.5238 GB, free: 12 kB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.268e-05/0.4284, allocations: 5.406 kB / 0.5238 GB, free: 12 kB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.154e-06/0.4284, allocations: 6.25 kB / 0.5238 GB, free: 8 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 (8): * Single equations (assignments): 8 * 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.0001099/0.4285, allocations: 129.2 kB / 0.5239 GB, free: 15.89 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.896e-05/0.4286, allocations: 9.156 kB / 0.5239 GB, free: 15.88 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002706/0.4289, allocations: 123.2 kB / 0.524 GB, free: 15.81 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.445e-06/0.4289, allocations: 2.25 kB / 0.524 GB, free: 15.81 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.302e-06/0.4289, allocations: 3.938 kB / 0.524 GB, free: 15.8 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.827e-06/0.4289, allocations: 0.5625 kB / 0.524 GB, free: 15.8 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005115/0.4294, allocations: 402.5 kB / 0.5244 GB, free: 15.45 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.956e-06/0.4294, allocations: 5.812 kB / 0.5244 GB, free: 15.45 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.745e-05/0.4295, allocations: 20.91 kB / 0.5245 GB, free: 15.45 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.853e-06/0.4295, allocations: 0 / 0.5245 GB, free: 15.45 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.209e-05/0.4295, allocations: 6.328 kB / 0.5245 GB, free: 15.44 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.144e-06/0.4295, allocations: 1.906 kB / 0.5245 GB, free: 15.44 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.292e-06/0.4295, allocations: 0 / 0.5245 GB, free: 15.44 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002496/0.4298, allocations: 203.5 kB / 0.5247 GB, free: 15.28 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.923e-05/0.4298, allocations: 96.45 kB / 0.5248 GB, free: 15.17 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.027e-05/0.4299, allocations: 2.031 kB / 0.5248 GB, free: 15.17 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.258e-05/0.4299, allocations: 8.906 kB / 0.5248 GB, free: 15.16 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.642e-05/0.43, allocations: 9.797 kB / 0.5248 GB, free: 15.16 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.132e-06/0.43, allocations: 2.594 kB / 0.5248 GB, free: 15.16 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.000171/0.4302, allocations: 173.6 kB / 0.5249 GB, free: 15.06 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4302, allocations: 4 kB / 0.5249 GB, free: 15.05 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002508/0.4304, allocations: 19.5 kB / 0.525 GB, free: 15.05 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (8): * Single equations (assignments): 8 * 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.001039/0.4315, allocations: 473.7 kB / 0.5254 GB, free: 14.83 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002261/0.4317, allocations: 63.59 kB / 0.5255 GB, free: 14.81 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.883e-06/0.4317, allocations: 0 / 0.5255 GB, free: 14.81 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 8.625e-05/0.4318, allocations: 30.44 kB / 0.5255 GB, free: 14.81 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003005/0.4321, allocations: 23.16 kB / 0.5255 GB, free: 14.8 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004652/0.4326, allocations: 262.2 kB / 0.5258 GB, free: 14.62 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003365/0.433, allocations: 0.7129 MB / 0.5265 GB, free: 13.91 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 6.088e-05/0.433, allocations: 14.14 kB / 0.5265 GB, free: 13.91 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.514e-05/0.4331, allocations: 13.55 kB / 0.5265 GB, free: 13.9 MB / 398.1 MB Notification: Performance of SimCode: time 2.2e-07/0.4331, allocations: 0 / 0.5265 GB, free: 13.9 MB / 398.1 MB Notification: Performance of Templates: time 0.004964/0.438, allocations: 1.338 MB / 0.5278 GB, free: 13.5 MB / 398.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test5.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test5.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test5.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test5.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test5.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test5 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test5.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test5_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test5/Test5.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test5.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches