Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test24.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.CombiTable1Dv.Test24,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test24") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test24,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test24") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001351/0.001351, allocations: 113.8 kB / 17.78 MB, free: 5.301 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.001474/0.001474, allocations: 183.1 kB / 18.71 MB, free: 4.383 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.455/1.455, allocations: 222.9 MB / 242.4 MB, free: 15.09 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.2222/0.2222, allocations: 44.19 MB / 336.7 MB, free: 2.676 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001426/0.001426, allocations: 60.14 kB / 470.5 MB, free: 13.17 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4172/0.4186, allocations: 60.84 MB / 0.5189 GB, free: 3.605 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test24): time 0.003627/0.4223, allocations: 1.557 MB / 0.5204 GB, free: 2.531 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001685/0.424, allocations: 1.032 MB / 0.5215 GB, free: 1.801 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.639e-05/0.4241, allocations: 5.031 kB / 0.5215 GB, free: 1.797 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002279/0.4243, allocations: 19.78 kB / 0.5215 GB, free: 1.785 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002123/0.4245, allocations: 45.64 kB / 0.5215 GB, free: 1.758 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002959/0.4248, allocations: 107.5 kB / 0.5216 GB, free: 1.703 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001538/0.425, allocations: 56.02 kB / 0.5217 GB, free: 1.68 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001118/0.4251, allocations: 16.5 kB / 0.5217 GB, free: 1.672 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.48e-05/0.4252, allocations: 27.41 kB / 0.5217 GB, free: 1.656 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001658/0.4253, allocations: 22.11 kB / 0.5217 GB, free: 1.648 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.795e-05/0.4254, allocations: 2.594 kB / 0.5217 GB, free: 1.648 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001108/0.4255, allocations: 53.94 kB / 0.5218 GB, free: 1.629 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 4.773e-05/0.4255, allocations: 13.94 kB / 0.5218 GB, free: 1.621 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 3.744e-05/0.4256, allocations: 16.03 kB / 0.5218 GB, free: 1.609 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002102/0.4258, allocations: 96 kB / 0.5219 GB, free: 1.566 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.729e-06/0.4258, allocations: 0 / 0.5219 GB, free: 1.566 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.713e-06/0.4258, allocations: 0 / 0.5219 GB, free: 1.566 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.213e-05/0.4258, allocations: 0 / 0.5219 GB, free: 1.566 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004745/0.4263, allocations: 378.7 kB / 0.5223 GB, free: 1.184 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.041e-05/0.4264, allocations: 9.719 kB / 0.5223 GB, free: 1.184 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.052e-05/0.4264, allocations: 8.281 kB / 0.5223 GB, free: 1.18 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001744/0.4266, allocations: 183.5 kB / 0.5225 GB, free: 0.9766 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.338e-05/0.4266, allocations: 1.469 kB / 0.5225 GB, free: 0.9766 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.303e-05/0.4267, allocations: 3.188 kB / 0.5225 GB, free: 0.9766 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000159/0.4268, allocations: 69.86 kB / 0.5225 GB, free: 0.9141 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.418e-05/0.4268, allocations: 9.062 kB / 0.5225 GB, free: 0.9062 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.184e-05/0.4269, allocations: 0.6562 kB / 0.5225 GB, free: 0.9062 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.504e-06/0.4269, allocations: 5.188 kB / 0.5226 GB, free: 0.9023 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.723e-05/0.427, allocations: 22.25 kB / 0.5226 GB, free: 0.8984 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003806/0.4274, allocations: 276.5 kB / 0.5228 GB, free: 0.6172 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002262/0.4276, allocations: 54 kB / 0.5229 GB, free: 0.5781 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.412e-05/0.4277, allocations: 14.16 kB / 0.5229 GB, free: 0.5703 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.319e-05/0.4277, allocations: 1.062 kB / 0.5229 GB, free: 0.5703 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.111e-05/0.4277, allocations: 37.22 kB / 0.5229 GB, free: 0.5273 MB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 1.182e-06/0.4277, allocations: 0 / 0.5229 GB, free: 0.5273 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005908/0.4283, allocations: 150 kB / 0.5231 GB, free: 468 kB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.972e-05/0.4284, allocations: 82.27 kB / 0.5232 GB, free: 368 kB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001282/0.4285, allocations: 135.5 kB / 0.5233 GB, free: 256 kB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.279e-05/0.4285, allocations: 29.7 kB / 0.5233 GB, free: 220 kB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.362e-05/0.4286, allocations: 89.33 kB / 0.5234 GB, free: 132 kB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.241e-05/0.4286, allocations: 19.56 kB / 0.5234 GB, free: 116 kB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.327e-05/0.4287, allocations: 15.22 kB / 0.5234 GB, free: 100 kB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001483/0.4288, allocations: 323.5 kB / 0.5237 GB, free: 15.78 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.211e-05/0.4289, allocations: 24.23 kB / 0.5238 GB, free: 15.77 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.578e-05/0.429, allocations: 33.5 kB / 0.5238 GB, free: 15.75 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000154/0.4292, allocations: 52.09 kB / 0.5238 GB, free: 15.73 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.81e-07/0.4292, allocations: 3.938 kB / 0.5239 GB, free: 15.73 MB / 398.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002182/0.4294, allocations: 84.92 kB / 0.5239 GB, free: 15.68 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.601e-05/0.4294, allocations: 9.781 kB / 0.5239 GB, free: 15.68 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.139e-06/0.4294, allocations: 0 / 0.5239 GB, free: 15.68 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.688e-05/0.4294, allocations: 1.406 kB / 0.5239 GB, free: 15.68 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.728e-05/0.4295, allocations: 11.38 kB / 0.524 GB, free: 15.68 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.229e-06/0.4295, allocations: 6.031 kB / 0.524 GB, free: 15.67 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.244e-05/0.4296, allocations: 4.047 kB / 0.524 GB, free: 15.67 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.282e-06/0.4296, allocations: 1.531 kB / 0.524 GB, free: 15.67 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 (5): * Single equations (assignments): 5 * 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.278e-05/0.4297, allocations: 119.9 kB / 0.5241 GB, free: 15.55 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.442e-05/0.4297, allocations: 8 kB / 0.5241 GB, free: 15.55 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002662/0.43, allocations: 104.2 kB / 0.5242 GB, free: 15.48 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.386e-06/0.43, allocations: 2.125 kB / 0.5242 GB, free: 15.48 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.365e-06/0.43, allocations: 4.062 kB / 0.5242 GB, free: 15.47 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.332e-06/0.43, allocations: 4.5 kB / 0.5242 GB, free: 15.47 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004957/0.4305, allocations: 353.6 kB / 0.5245 GB, free: 15.14 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.926e-06/0.4306, allocations: 1.766 kB / 0.5245 GB, free: 15.14 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.002e-05/0.4306, allocations: 19.47 kB / 0.5246 GB, free: 15.13 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.893e-06/0.4306, allocations: 0 / 0.5246 GB, free: 15.13 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.686e-06/0.4306, allocations: 1.75 kB / 0.5246 GB, free: 15.13 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.589e-06/0.4307, allocations: 5.062 kB / 0.5246 GB, free: 15.13 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.32e-07/0.4307, allocations: 3.938 kB / 0.5246 GB, free: 15.12 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000251/0.4309, allocations: 176.9 kB / 0.5247 GB, free: 14.98 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.718e-05/0.431, allocations: 79.84 kB / 0.5248 GB, free: 14.89 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.934e-05/0.431, allocations: 5.688 kB / 0.5248 GB, free: 14.88 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.508e-05/0.4311, allocations: 13.02 kB / 0.5248 GB, free: 14.88 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.661e-05/0.4311, allocations: 4.25 kB / 0.5248 GB, free: 14.88 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.069e-06/0.4311, allocations: 1.062 kB / 0.5248 GB, free: 14.88 MB / 398.1 MB Notification: Performance of sorting global known variables: time 8.76e-05/0.4312, allocations: 108 kB / 0.5249 GB, free: 14.79 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4312, allocations: 3.938 kB / 0.5249 GB, free: 14.79 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002556/0.4315, allocations: 19.97 kB / 0.525 GB, free: 14.78 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 (5): * Single equations (assignments): 5 * 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.0009887/0.4325, allocations: 444.2 kB / 0.5254 GB, free: 14.58 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002155/0.4327, allocations: 48.47 kB / 0.5254 GB, free: 14.57 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.225e-06/0.4327, allocations: 1.094 kB / 0.5254 GB, free: 14.57 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 8.272e-05/0.4328, allocations: 37.09 kB / 0.5255 GB, free: 14.55 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003225/0.4332, allocations: 15.7 kB / 0.5255 GB, free: 14.55 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003758/0.4335, allocations: 164 kB / 0.5256 GB, free: 14.41 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002972/0.4339, allocations: 0.6906 MB / 0.5263 GB, free: 13.71 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 7.22e-05/0.4339, allocations: 16.97 kB / 0.5263 GB, free: 13.71 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.049e-05/0.434, allocations: 18.67 kB / 0.5263 GB, free: 13.7 MB / 398.1 MB Notification: Performance of SimCode: time 2.7e-07/0.434, allocations: 0 / 0.5263 GB, free: 13.7 MB / 398.1 MB Notification: Performance of Templates: time 0.004315/0.4383, allocations: 1.376 MB / 0.5277 GB, free: 13.35 MB / 398.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test24.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test24.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test24.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test24.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test24.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test24 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test24.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test24_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test24/Test24.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test24.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches