Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test23.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.Test23,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.Test23") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test23,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.Test23") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001301/0.001301, allocations: 113.8 kB / 17.78 MB, free: 5.309 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.001641/0.001641, allocations: 183.1 kB / 18.71 MB, free: 4.387 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.49/1.49, allocations: 222.9 MB / 242.4 MB, free: 15.19 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.2243/0.2243, allocations: 44.19 MB / 336.7 MB, free: 2.66 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001259/0.001259, allocations: 59.91 kB / 470.5 MB, free: 13.15 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4257/0.4269, allocations: 60.84 MB / 0.5189 GB, free: 3.605 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test23): time 0.003719/0.4307, allocations: 1.564 MB / 0.5204 GB, free: 2.523 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001539/0.4323, allocations: 1.032 MB / 0.5215 GB, free: 1.793 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.565e-05/0.4324, allocations: 5.281 kB / 0.5215 GB, free: 1.789 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002935/0.4327, allocations: 23.72 kB / 0.5215 GB, free: 1.773 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002178/0.4329, allocations: 38.11 kB / 0.5215 GB, free: 1.754 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003249/0.4333, allocations: 110.3 kB / 0.5216 GB, free: 1.699 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001548/0.4334, allocations: 56.09 kB / 0.5217 GB, free: 1.676 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001117/0.4335, allocations: 16.41 kB / 0.5217 GB, free: 1.668 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.497e-05/0.4336, allocations: 22.94 kB / 0.5217 GB, free: 1.656 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001522/0.4338, allocations: 30.2 kB / 0.5217 GB, free: 1.641 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.842e-05/0.4338, allocations: 3.594 kB / 0.5217 GB, free: 1.641 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001175/0.4339, allocations: 45.14 kB / 0.5218 GB, free: 1.629 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.266e-05/0.434, allocations: 13.47 kB / 0.5218 GB, free: 1.621 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.863e-05/0.434, allocations: 25.59 kB / 0.5218 GB, free: 1.602 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002196/0.4343, allocations: 86.78 kB / 0.5219 GB, free: 1.566 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.519e-06/0.4343, allocations: 5.688 kB / 0.5219 GB, free: 1.562 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.713e-06/0.4343, allocations: 0 / 0.5219 GB, free: 1.562 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.154e-05/0.4343, allocations: 3.938 kB / 0.5219 GB, free: 1.559 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.0004523/0.4348, allocations: 373.6 kB / 0.5223 GB, free: 1.18 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.569e-05/0.4348, allocations: 9.844 kB / 0.5223 GB, free: 1.18 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.384e-05/0.4349, allocations: 12.75 kB / 0.5223 GB, free: 1.172 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001799/0.435, allocations: 187.7 kB / 0.5225 GB, free: 0.9648 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.215e-05/0.4351, allocations: 1.469 kB / 0.5225 GB, free: 0.9648 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.081e-05/0.4351, allocations: 7.562 kB / 0.5225 GB, free: 0.9609 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001625/0.4353, allocations: 69.92 kB / 0.5226 GB, free: 0.8984 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.452e-05/0.4353, allocations: 0 / 0.5226 GB, free: 0.8984 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.233e-05/0.4353, allocations: 3.938 kB / 0.5226 GB, free: 0.8945 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.855e-06/0.4353, allocations: 1.125 kB / 0.5226 GB, free: 0.8945 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001028/0.4354, allocations: 23.36 kB / 0.5226 GB, free: 0.8906 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003773/0.4358, allocations: 280.9 kB / 0.5228 GB, free: 0.6055 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002564/0.4361, allocations: 40.89 kB / 0.5229 GB, free: 0.5781 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.88e-05/0.4361, allocations: 22.89 kB / 0.5229 GB, free: 0.5625 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.132e-05/0.4362, allocations: 0.5625 kB / 0.5229 GB, free: 0.5625 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.786e-05/0.4362, allocations: 33.22 kB / 0.5229 GB, free: 0.5234 MB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 1.372e-06/0.4362, allocations: 0 / 0.5229 GB, free: 0.5234 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.0006829/0.4369, allocations: 154.1 kB / 0.5231 GB, free: 460 kB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.937e-05/0.437, allocations: 78.33 kB / 0.5232 GB, free: 364 kB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001424/0.4371, allocations: 131.2 kB / 0.5233 GB, free: 252 kB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.162e-05/0.4371, allocations: 26.83 kB / 0.5233 GB, free: 220 kB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.115e-05/0.4372, allocations: 92.72 kB / 0.5234 GB, free: 128 kB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.273e-05/0.4372, allocations: 15.2 kB / 0.5234 GB, free: 116 kB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.553e-05/0.4373, allocations: 24.16 kB / 0.5234 GB, free: 92 kB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001553/0.4374, allocations: 322.2 kB / 0.5237 GB, free: 15.77 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.316e-05/0.4375, allocations: 20.86 kB / 0.5238 GB, free: 15.77 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.98e-05/0.4376, allocations: 33.84 kB / 0.5238 GB, free: 15.75 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001493/0.4378, allocations: 51.72 kB / 0.5238 GB, free: 15.73 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.453e-06/0.4378, allocations: 4.031 kB / 0.5239 GB, free: 15.72 MB / 398.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002143/0.438, allocations: 88.58 kB / 0.5239 GB, free: 15.67 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.995e-05/0.438, allocations: 6.062 kB / 0.5239 GB, free: 15.67 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.94e-06/0.438, allocations: 0 / 0.5239 GB, free: 15.67 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.608e-05/0.4381, allocations: 1.062 kB / 0.5239 GB, free: 15.67 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.976e-05/0.4381, allocations: 12.89 kB / 0.524 GB, free: 15.67 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.694e-06/0.4382, allocations: 0 / 0.524 GB, free: 15.67 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.747e-05/0.4382, allocations: 5.609 kB / 0.524 GB, free: 15.67 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.995e-06/0.4382, allocations: 6.188 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 0.0001056/0.4383, allocations: 122.2 kB / 0.5241 GB, free: 15.54 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.571e-05/0.4384, allocations: 12.19 kB / 0.5241 GB, free: 15.54 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002798/0.4387, allocations: 96.69 kB / 0.5242 GB, free: 15.47 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.196e-06/0.4387, allocations: 1.312 kB / 0.5242 GB, free: 15.47 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.609e-06/0.4387, allocations: 4.219 kB / 0.5242 GB, free: 15.47 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.507e-06/0.4387, allocations: 2.25 kB / 0.5242 GB, free: 15.47 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004738/0.4392, allocations: 356.8 kB / 0.5245 GB, free: 15.14 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.453e-06/0.4392, allocations: 0 / 0.5245 GB, free: 15.14 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.156e-05/0.4393, allocations: 19.94 kB / 0.5246 GB, free: 15.13 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.465e-06/0.4393, allocations: 1.625 kB / 0.5246 GB, free: 15.13 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.526e-06/0.4393, allocations: 1 kB / 0.5246 GB, free: 15.13 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.918e-06/0.4393, allocations: 3.938 kB / 0.5246 GB, free: 15.12 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.154e-06/0.4393, allocations: 1.672 kB / 0.5246 GB, free: 15.12 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002682/0.4396, allocations: 185.1 kB / 0.5247 GB, free: 14.97 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.193e-05/0.4396, allocations: 78.88 kB / 0.5248 GB, free: 14.88 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.014e-05/0.4396, allocations: 1.844 kB / 0.5248 GB, free: 14.88 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.41e-05/0.4397, allocations: 9.125 kB / 0.5248 GB, free: 14.88 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.706e-05/0.4398, allocations: 4.578 kB / 0.5248 GB, free: 14.88 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.498e-06/0.4398, allocations: 1.125 kB / 0.5248 GB, free: 14.88 MB / 398.1 MB Notification: Performance of sorting global known variables: time 9.326e-05/0.4399, allocations: 107 kB / 0.5249 GB, free: 14.79 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4399, allocations: 0 / 0.5249 GB, free: 14.79 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002707/0.4402, allocations: 24.92 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.00102/0.4412, allocations: 440.4 kB / 0.5254 GB, free: 14.58 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002292/0.4414, allocations: 52.84 kB / 0.5254 GB, free: 14.57 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/0.4414, allocations: 1.344 kB / 0.5254 GB, free: 14.57 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 8.066e-05/0.4415, allocations: 25.75 kB / 0.5255 GB, free: 14.56 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003552/0.4419, allocations: 17.41 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.0003858/0.4423, allocations: 168.3 kB / 0.5256 GB, free: 14.41 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002808/0.4426, allocations: 0.6967 MB / 0.5263 GB, free: 13.71 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 7.49e-05/0.4427, allocations: 25.06 kB / 0.5263 GB, free: 13.7 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.725e-05/0.4427, allocations: 14.47 kB / 0.5263 GB, free: 13.7 MB / 398.1 MB Notification: Performance of SimCode: time 2.8e-07/0.4427, allocations: 0 / 0.5263 GB, free: 13.7 MB / 398.1 MB Notification: Performance of Templates: time 0.00454/0.4473, allocations: 1.37 MB / 0.5277 GB, free: 13.36 MB / 398.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test23.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test23.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test23.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test23.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test23.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test23 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test23.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test23_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test23/Test23.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test23.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches