Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test11.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.Test11,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.Test11") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test11,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.Test11") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001172/0.001172, allocations: 109.5 kB / 17.77 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.001277/0.001278, allocations: 184.8 kB / 18.71 MB, free: 4.367 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.513/1.513, allocations: 222.9 MB / 242.4 MB, free: 15.05 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.2404/0.2404, allocations: 44.19 MB / 336.7 MB, free: 2.652 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001609/0.001609, allocations: 59.91 kB / 470.5 MB, free: 13.14 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5312/0.5329, allocations: 60.82 MB / 0.5189 GB, free: 3.602 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test11): time 0.003459/0.5364, allocations: 1.571 MB / 0.5204 GB, free: 2.512 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008508/0.5373, allocations: 400.7 kB / 0.5208 GB, free: 2.254 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.179e-05/0.5373, allocations: 1.094 kB / 0.5208 GB, free: 2.254 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000277/0.5376, allocations: 25.41 kB / 0.5209 GB, free: 2.242 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002337/0.5379, allocations: 45.62 kB / 0.5209 GB, free: 2.215 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003481/0.5382, allocations: 107.3 kB / 0.521 GB, free: 2.16 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001817/0.5384, allocations: 55.19 kB / 0.5211 GB, free: 2.137 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001291/0.5386, allocations: 12.42 kB / 0.5211 GB, free: 2.133 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.113e-05/0.5386, allocations: 26.44 kB / 0.5211 GB, free: 2.117 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.323e-05/0.5387, allocations: 20.27 kB / 0.5211 GB, free: 2.105 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.066e-05/0.5387, allocations: 2.25 kB / 0.5211 GB, free: 2.105 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.607e-05/0.5388, allocations: 34.19 kB / 0.5211 GB, free: 2.094 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.742e-05/0.5389, allocations: 20.3 kB / 0.5212 GB, free: 2.082 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.624e-05/0.539, allocations: 24.95 kB / 0.5212 GB, free: 2.062 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002106/0.5392, allocations: 77.55 kB / 0.5213 GB, free: 2.031 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.282e-06/0.5392, allocations: 0 / 0.5213 GB, free: 2.031 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.693e-06/0.5392, allocations: 0 / 0.5213 GB, free: 2.031 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.215e-06/0.5392, allocations: 0 / 0.5213 GB, free: 2.031 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.0005286/0.5398, allocations: 385 kB / 0.5216 GB, free: 1.648 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.949e-05/0.5398, allocations: 9.906 kB / 0.5216 GB, free: 1.648 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.203e-05/0.5399, allocations: 16 kB / 0.5217 GB, free: 1.637 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001991/0.5401, allocations: 191.8 kB / 0.5218 GB, free: 1.426 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.264e-06/0.5401, allocations: 1.719 kB / 0.5218 GB, free: 1.426 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.819e-05/0.5401, allocations: 3.5 kB / 0.5218 GB, free: 1.426 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001583/0.5403, allocations: 53.98 kB / 0.5219 GB, free: 1.383 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.343e-05/0.5403, allocations: 3.906 kB / 0.5219 GB, free: 1.379 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.375e-05/0.5403, allocations: 7.984 kB / 0.5219 GB, free: 1.371 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.574e-06/0.5403, allocations: 5.344 kB / 0.5219 GB, free: 1.367 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.683e-05/0.5404, allocations: 22.86 kB / 0.5219 GB, free: 1.363 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004031/0.5408, allocations: 281.4 kB / 0.5222 GB, free: 1.078 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002328/0.5411, allocations: 46.52 kB / 0.5222 GB, free: 1.047 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.609e-05/0.5412, allocations: 18.36 kB / 0.5223 GB, free: 1.035 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.324e-05/0.5412, allocations: 2.109 kB / 0.5223 GB, free: 1.035 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.028e-05/0.5412, allocations: 35.94 kB / 0.5223 GB, free: 0.9922 MB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 1.212e-06/0.5412, allocations: 0 / 0.5223 GB, free: 0.9922 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.0006159/0.5418, allocations: 150.8 kB / 0.5224 GB, free: 0.9219 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.522e-05/0.5419, allocations: 53.59 kB / 0.5225 GB, free: 0.8594 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001805/0.5421, allocations: 161.2 kB / 0.5226 GB, free: 0.7461 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.274e-05/0.5421, allocations: 26.73 kB / 0.5227 GB, free: 0.7148 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.613e-05/0.5422, allocations: 102.4 kB / 0.5228 GB, free: 0.6172 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.507e-05/0.5422, allocations: 11.41 kB / 0.5228 GB, free: 0.6094 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.771e-05/0.5422, allocations: 19.75 kB / 0.5228 GB, free: 0.5898 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 6.783e-05/0.5423, allocations: 323.8 kB / 0.5231 GB, free: 276 kB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.619e-05/0.5424, allocations: 20.95 kB / 0.5231 GB, free: 272 kB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.797e-05/0.5425, allocations: 20.11 kB / 0.5231 GB, free: 268 kB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001511/0.5426, allocations: 55.86 kB / 0.5232 GB, free: 244 kB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.32e-07/0.5426, allocations: 0 / 0.5232 GB, free: 244 kB / 382.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.000194/0.5428, allocations: 89.36 kB / 0.5233 GB, free: 192 kB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.914e-05/0.5429, allocations: 5.656 kB / 0.5233 GB, free: 192 kB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.152e-06/0.5429, allocations: 1.062 kB / 0.5233 GB, free: 192 kB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.013e-05/0.5429, allocations: 3.938 kB / 0.5233 GB, free: 188 kB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.161e-05/0.543, allocations: 12.28 kB / 0.5233 GB, free: 188 kB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.085e-06/0.543, allocations: 1.75 kB / 0.5233 GB, free: 188 kB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.093e-05/0.543, allocations: 9.297 kB / 0.5233 GB, free: 184 kB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.634e-06/0.543, allocations: 5.031 kB / 0.5233 GB, free: 180 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 (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 8.191e-05/0.5431, allocations: 122.1 kB / 0.5234 GB, free: 56 kB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.306e-05/0.5432, allocations: 13.03 kB / 0.5235 GB, free: 48 kB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002928/0.5435, allocations: 98.55 kB / 0.5235 GB, free: 15.98 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.318e-06/0.5435, allocations: 1.344 kB / 0.5235 GB, free: 15.98 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.258e-06/0.5435, allocations: 0 / 0.5235 GB, free: 15.98 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.437e-06/0.5435, allocations: 6.141 kB / 0.5236 GB, free: 15.98 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004702/0.544, allocations: 354.6 kB / 0.5239 GB, free: 15.65 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.713e-06/0.544, allocations: 0 / 0.5239 GB, free: 15.65 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.122e-05/0.5441, allocations: 16.67 kB / 0.5239 GB, free: 15.65 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.675e-06/0.5441, allocations: 0.6562 kB / 0.5239 GB, free: 15.65 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.04e-05/0.5441, allocations: 1.125 kB / 0.5239 GB, free: 15.65 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.038e-06/0.5441, allocations: 3.938 kB / 0.5239 GB, free: 15.64 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.237e-06/0.5441, allocations: 1.688 kB / 0.5239 GB, free: 15.64 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002545/0.5444, allocations: 184.5 kB / 0.5241 GB, free: 15.49 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.799e-05/0.5444, allocations: 83.59 kB / 0.5242 GB, free: 15.39 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.908e-05/0.5445, allocations: 1.844 kB / 0.5242 GB, free: 15.39 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.721e-05/0.5445, allocations: 9.203 kB / 0.5242 GB, free: 15.39 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.134e-05/0.5446, allocations: 4.297 kB / 0.5242 GB, free: 15.39 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.097e-06/0.5446, allocations: 4.656 kB / 0.5242 GB, free: 15.39 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001279/0.5447, allocations: 129.6 kB / 0.5243 GB, free: 15.3 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.5447, allocations: 4 kB / 0.5243 GB, free: 15.3 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002453/0.545, allocations: 12.33 kB / 0.5243 GB, free: 15.3 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.001017/0.546, allocations: 417.9 kB / 0.5247 GB, free: 15.09 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002253/0.5462, allocations: 49.38 kB / 0.5248 GB, free: 15.08 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/0.5463, allocations: 0 / 0.5248 GB, free: 15.08 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 8.399e-05/0.5463, allocations: 30.22 kB / 0.5248 GB, free: 15.07 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000322/0.5467, allocations: 25.91 kB / 0.5248 GB, free: 15.07 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004693/0.5472, allocations: 194.4 kB / 0.525 GB, free: 14.91 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003368/0.5475, allocations: 0.6991 MB / 0.5257 GB, free: 14.21 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 6.167e-05/0.5476, allocations: 15.88 kB / 0.5257 GB, free: 14.21 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.536e-05/0.5476, allocations: 15.64 kB / 0.5257 GB, free: 14.2 MB / 398.1 MB Notification: Performance of SimCode: time 2.1e-07/0.5476, allocations: 0 / 0.5257 GB, free: 14.2 MB / 398.1 MB Notification: Performance of Templates: time 0.0046/0.5522, allocations: 1.127 MB / 0.5268 GB, free: 14 MB / 398.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test11.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test11.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test11.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test11.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test11.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test11 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test11.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test11_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test11/Test11.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test11.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches