Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test34.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.Test34,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|d2_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test34") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test34,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|d2_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test34") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00133/0.00133, allocations: 106.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.00124/0.00124, allocations: 187.1 kB / 18.7 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.486/1.486, allocations: 222.9 MB / 242.4 MB, free: 15.06 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.2479/0.2479, allocations: 44.19 MB / 336.7 MB, free: 2.668 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001311/0.001311, allocations: 63.91 kB / 470.6 MB, free: 13.15 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5109/0.5122, allocations: 60.82 MB / 0.5189 GB, free: 3.609 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test34): time 0.00363/0.5159, allocations: 1.584 MB / 0.5205 GB, free: 2.512 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008797/0.5168, allocations: 409.3 kB / 0.5209 GB, free: 2.242 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.193e-05/0.5169, allocations: 1.344 kB / 0.5209 GB, free: 2.242 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000391/0.5173, allocations: 72.28 kB / 0.5209 GB, free: 2.227 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000279/0.5176, allocations: 68.19 kB / 0.521 GB, free: 2.199 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003072/0.5179, allocations: 80.27 kB / 0.5211 GB, free: 2.16 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002094/0.5181, allocations: 77.39 kB / 0.5211 GB, free: 2.129 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001292/0.5183, allocations: 18.5 kB / 0.5212 GB, free: 2.121 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.578e-05/0.5184, allocations: 37.75 kB / 0.5212 GB, free: 2.105 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001519/0.5185, allocations: 50.23 kB / 0.5213 GB, free: 2.094 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.724e-05/0.5186, allocations: 6.828 kB / 0.5213 GB, free: 2.09 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001312/0.5187, allocations: 43.59 kB / 0.5213 GB, free: 2.078 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 8.114e-05/0.5188, allocations: 18.25 kB / 0.5213 GB, free: 2.07 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 6.056e-05/0.5189, allocations: 26.88 kB / 0.5213 GB, free: 2.051 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002696/0.5191, allocations: 103.6 kB / 0.5214 GB, free: 2.004 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.498e-06/0.5192, allocations: 0 / 0.5214 GB, free: 2.004 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.537e-06/0.5192, allocations: 0 / 0.5214 GB, free: 2.004 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.061e-05/0.5192, allocations: 1.281 kB / 0.5214 GB, free: 2.004 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.0005868/0.5198, allocations: 409.5 kB / 0.5218 GB, free: 1.602 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.567e-05/0.5198, allocations: 8.781 kB / 0.5218 GB, free: 1.602 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.824e-05/0.5199, allocations: 10.12 kB / 0.5219 GB, free: 1.598 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002251/0.5201, allocations: 197.8 kB / 0.522 GB, free: 1.383 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.699e-05/0.5202, allocations: 5.625 kB / 0.522 GB, free: 1.379 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.793e-05/0.5202, allocations: 10.34 kB / 0.5221 GB, free: 1.371 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001767/0.5204, allocations: 57.38 kB / 0.5221 GB, free: 1.328 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.891e-05/0.5204, allocations: 0 / 0.5221 GB, free: 1.328 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.295e-05/0.5204, allocations: 0.875 kB / 0.5221 GB, free: 1.328 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.726e-06/0.5204, allocations: 5.875 kB / 0.5221 GB, free: 1.324 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001098/0.5206, allocations: 28.19 kB / 0.5221 GB, free: 1.316 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000427/0.521, allocations: 291 kB / 0.5224 GB, free: 1.027 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000118/0.5211, allocations: 45.28 kB / 0.5225 GB, free: 0.9922 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.288e-05/0.5212, allocations: 19.78 kB / 0.5225 GB, free: 0.9805 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.143e-05/0.5212, allocations: 0.75 kB / 0.5225 GB, free: 0.9805 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.451e-05/0.5212, allocations: 32.75 kB / 0.5225 GB, free: 0.9414 MB / 382.1 MB Notification: Performance of pre-optimization done (n=4): time 1.452e-06/0.5213, allocations: 0 / 0.5225 GB, free: 0.9414 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.000989/0.5222, allocations: 222.5 kB / 0.5227 GB, free: 0.8516 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.758e-05/0.5223, allocations: 52.62 kB / 0.5228 GB, free: 0.7891 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002512/0.5226, allocations: 210.7 kB / 0.523 GB, free: 0.6523 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.121e-05/0.5226, allocations: 25.7 kB / 0.523 GB, free: 0.6211 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.959e-05/0.5226, allocations: 109.1 kB / 0.5231 GB, free: 0.5195 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.698e-05/0.5227, allocations: 29.27 kB / 0.5231 GB, free: 0.4961 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.14e-05/0.5227, allocations: 20.58 kB / 0.5232 GB, free: 488 kB / 382.1 MB Notification: Performance of setup shared object (initialization): time 7.315e-05/0.5228, allocations: 321.8 kB / 0.5235 GB, free: 164 kB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.765e-05/0.5229, allocations: 30.5 kB / 0.5235 GB, free: 152 kB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.886e-05/0.523, allocations: 23.88 kB / 0.5235 GB, free: 148 kB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001445/0.5231, allocations: 63.09 kB / 0.5236 GB, free: 120 kB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.32e-07/0.5231, allocations: 4 kB / 0.5236 GB, free: 116 kB / 382.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.000215/0.5234, allocations: 105.3 kB / 0.5237 GB, free: 56 kB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.838e-05/0.5234, allocations: 5 kB / 0.5237 GB, free: 56 kB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.97e-06/0.5234, allocations: 1.094 kB / 0.5237 GB, free: 56 kB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.697e-05/0.5234, allocations: 0 / 0.5237 GB, free: 56 kB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00011/0.5235, allocations: 22.22 kB / 0.5237 GB, free: 52 kB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.945e-06/0.5235, allocations: 5.188 kB / 0.5237 GB, free: 48 kB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.993e-05/0.5236, allocations: 4.516 kB / 0.5237 GB, free: 48 kB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.808e-06/0.5236, allocations: 5.625 kB / 0.5237 GB, free: 44 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.0001336/0.5237, allocations: 131 kB / 0.5238 GB, free: 15.92 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.51e-05/0.5238, allocations: 9.344 kB / 0.5239 GB, free: 15.91 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002908/0.5241, allocations: 110.9 kB / 0.524 GB, free: 15.86 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.926e-06/0.5241, allocations: 0 / 0.524 GB, free: 15.86 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.243e-06/0.5241, allocations: 5.875 kB / 0.524 GB, free: 15.86 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.579e-06/0.5241, allocations: 0.9844 kB / 0.524 GB, free: 15.86 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005425/0.5247, allocations: 415 kB / 0.5244 GB, free: 15.49 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.144e-06/0.5247, allocations: 0.6094 kB / 0.5244 GB, free: 15.49 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.357e-05/0.5248, allocations: 25.09 kB / 0.5244 GB, free: 15.48 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.196e-06/0.5248, allocations: 1 kB / 0.5244 GB, free: 15.48 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.028e-05/0.5248, allocations: 2.344 kB / 0.5244 GB, free: 15.48 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.774e-06/0.5248, allocations: 0 / 0.5244 GB, free: 15.48 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.086e-06/0.5248, allocations: 2.766 kB / 0.5244 GB, free: 15.48 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002702/0.5251, allocations: 201.9 kB / 0.5246 GB, free: 15.32 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.284e-05/0.5251, allocations: 92.36 kB / 0.5247 GB, free: 15.21 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.075e-05/0.5252, allocations: 5.062 kB / 0.5247 GB, free: 15.21 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.319e-05/0.5252, allocations: 5.641 kB / 0.5247 GB, free: 15.21 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.658e-05/0.5253, allocations: 5.438 kB / 0.5247 GB, free: 15.21 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.638e-06/0.5253, allocations: 2.562 kB / 0.5247 GB, free: 15.21 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001796/0.5255, allocations: 164.4 kB / 0.5248 GB, free: 15.11 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.5255, allocations: 0.9688 kB / 0.5248 GB, free: 15.11 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002625/0.5258, allocations: 19.2 kB / 0.5249 GB, free: 15.1 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.001219/0.527, allocations: 458.7 kB / 0.5253 GB, free: 14.89 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002908/0.5273, allocations: 64.64 kB / 0.5254 GB, free: 14.88 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.195e-06/0.5273, allocations: 0 / 0.5254 GB, free: 14.88 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001058/0.5274, allocations: 34.88 kB / 0.5254 GB, free: 14.87 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004128/0.5279, allocations: 18.67 kB / 0.5254 GB, free: 14.86 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000614/0.5285, allocations: 256.1 kB / 0.5257 GB, free: 14.67 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003639/0.5289, allocations: 0.7107 MB / 0.5264 GB, free: 13.96 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 5.644e-05/0.5289, allocations: 8.312 kB / 0.5264 GB, free: 13.96 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.065e-05/0.529, allocations: 14.84 kB / 0.5264 GB, free: 13.95 MB / 398.1 MB Notification: Performance of SimCode: time 3.81e-07/0.529, allocations: 0 / 0.5264 GB, free: 13.95 MB / 398.1 MB Notification: Performance of Templates: time 0.005524/0.5345, allocations: 1.351 MB / 0.5277 GB, free: 13.57 MB / 398.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test34.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test34.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test34.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test34.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test34.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test34 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test34.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test34_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test34/Test34.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test34.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches