Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test5.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package ModelicaServices with version trunk (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTable1Dv.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_trunk_ModelicaTest.Tables.CombiTable1Dv.Test5") translateModel(ModelicaTest.Tables.CombiTable1Dv.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_trunk_ModelicaTest.Tables.CombiTable1Dv.Test5") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009123/0.0009126, allocations: 197.8 kB / 17.43 MB, free: 4.398 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.203/1.203, allocations: 229.5 MB / 247.7 MB, free: 6.281 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007067/0.0007067, allocations: 100.4 kB / 299.9 MB, free: 5.336 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2891/0.2891, allocations: 45.01 MB / 397 MB, free: 31.48 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002529/0.0002531, allocations: 8 kB / 470.8 MB, free: 7.102 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2864/0.2866, allocations: 63.1 MB / 0.5214 GB, free: 38.52 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test5): time 0.001387/0.2881, allocations: 1.307 MB / 0.5226 GB, free: 37.57 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007128/0.2888, allocations: 0.7474 MB / 0.5234 GB, free: 36.95 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.026e-05/0.2888, allocations: 0 / 0.5234 GB, free: 36.95 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002508/0.2891, allocations: 99.7 kB / 0.5235 GB, free: 36.92 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000177/0.2893, allocations: 94.33 kB / 0.5236 GB, free: 36.89 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002144/0.2895, allocations: 94.16 kB / 0.5236 GB, free: 36.84 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.00011/0.2896, allocations: 82.3 kB / 0.5237 GB, free: 36.81 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.132e-05/0.2897, allocations: 17.53 kB / 0.5237 GB, free: 36.8 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.106e-05/0.2898, allocations: 36.83 kB / 0.5238 GB, free: 36.79 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.036e-05/0.2898, allocations: 45.48 kB / 0.5238 GB, free: 36.78 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.125e-05/0.2899, allocations: 0 / 0.5238 GB, free: 36.78 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.208e-05/0.2899, allocations: 41.38 kB / 0.5239 GB, free: 36.77 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 4.158e-05/0.29, allocations: 23.81 kB / 0.5239 GB, free: 36.76 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 3.579e-05/0.29, allocations: 63.52 kB / 0.5239 GB, free: 36.7 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001237/0.2902, allocations: 106.4 kB / 0.524 GB, free: 36.66 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.258e-06/0.2902, allocations: 0 / 0.524 GB, free: 36.66 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.332e-06/0.2902, allocations: 0 / 0.524 GB, free: 36.66 MB / 378.7 MB Notification: Performance of Transformations before backend: time 2.946e-06/0.2902, allocations: 0 / 0.524 GB, free: 36.66 MB / 378.7 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.000302/0.2905, allocations: 405.7 kB / 0.5244 GB, free: 36.26 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.109e-05/0.2905, allocations: 9.125 kB / 0.5244 GB, free: 36.26 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.802e-05/0.2906, allocations: 15.03 kB / 0.5245 GB, free: 36.25 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001415/0.2907, allocations: 213.5 kB / 0.5247 GB, free: 36.02 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.101e-05/0.2907, allocations: 4.375 kB / 0.5247 GB, free: 36.02 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.012e-05/0.2908, allocations: 7.219 kB / 0.5247 GB, free: 36.02 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001262/0.2909, allocations: 59.23 kB / 0.5247 GB, free: 35.97 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.019e-05/0.2909, allocations: 0 / 0.5247 GB, free: 35.97 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.827e-06/0.2909, allocations: 1.969 kB / 0.5247 GB, free: 35.97 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.789e-06/0.2909, allocations: 0 / 0.5247 GB, free: 35.97 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.734e-05/0.291, allocations: 29.58 kB / 0.5248 GB, free: 35.97 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003081/0.2913, allocations: 307.2 kB / 0.5251 GB, free: 35.68 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.594e-05/0.2914, allocations: 49.33 kB / 0.5251 GB, free: 35.64 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.336e-05/0.2915, allocations: 19.31 kB / 0.5251 GB, free: 35.63 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.86e-05/0.2915, allocations: 4 kB / 0.5251 GB, free: 35.63 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.511e-05/0.2915, allocations: 34.56 kB / 0.5252 GB, free: 35.59 MB / 378.7 MB Notification: Performance of pre-optimization done (n=4): time 1.022e-06/0.2915, allocations: 2.812 kB / 0.5252 GB, free: 35.59 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0007373/0.2923, allocations: 270.5 kB / 0.5254 GB, free: 35.49 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.903e-05/0.2923, allocations: 59.41 kB / 0.5255 GB, free: 35.42 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001506/0.2925, allocations: 231.6 kB / 0.5257 GB, free: 35.28 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 8.666e-06/0.2925, allocations: 25.7 kB / 0.5257 GB, free: 35.25 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.591e-05/0.2925, allocations: 112.8 kB / 0.5258 GB, free: 35.14 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.882e-05/0.2926, allocations: 25.75 kB / 0.5258 GB, free: 35.12 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.389e-06/0.2926, allocations: 0 / 0.5258 GB, free: 35.12 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 4.59e-05/0.2926, allocations: 328.5 kB / 0.5262 GB, free: 34.8 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.267e-05/0.2927, allocations: 31.95 kB / 0.5262 GB, free: 34.8 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.261e-05/0.2928, allocations: 35.91 kB / 0.5262 GB, free: 34.79 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001348/0.2929, allocations: 80.53 kB / 0.5263 GB, free: 34.76 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.72e-07/0.2929, allocations: 4 kB / 0.5263 GB, free: 34.76 MB / 378.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001868/0.2931, allocations: 122.4 kB / 0.5264 GB, free: 34.7 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.042e-05/0.2931, allocations: 5.438 kB / 0.5264 GB, free: 34.7 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.937e-06/0.2931, allocations: 0 / 0.5264 GB, free: 34.7 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.371e-05/0.2932, allocations: 0 / 0.5264 GB, free: 34.7 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.598e-05/0.2932, allocations: 22 kB / 0.5264 GB, free: 34.69 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.779e-06/0.2933, allocations: 6.969 kB / 0.5265 GB, free: 34.69 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.768e-05/0.2933, allocations: 13.88 kB / 0.5265 GB, free: 34.68 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.482e-06/0.2933, allocations: 2.75 kB / 0.5265 GB, free: 34.68 MB / 378.7 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 6.037e-05/0.2934, allocations: 131.1 kB / 0.5266 GB, free: 34.56 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.668e-05/0.2934, allocations: 13.44 kB / 0.5266 GB, free: 34.55 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002324/0.2936, allocations: 139.2 kB / 0.5267 GB, free: 34.49 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.565e-06/0.2937, allocations: 2.844 kB / 0.5267 GB, free: 34.49 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.006e-06/0.2937, allocations: 0 / 0.5267 GB, free: 34.49 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.809e-06/0.2937, allocations: 4.359 kB / 0.5267 GB, free: 34.48 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003936/0.2941, allocations: 435.1 kB / 0.5272 GB, free: 34.12 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.432e-06/0.2941, allocations: 3.938 kB / 0.5272 GB, free: 34.12 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.12e-05/0.2942, allocations: 18.84 kB / 0.5272 GB, free: 34.12 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.395e-06/0.2942, allocations: 3.938 kB / 0.5272 GB, free: 34.12 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.835e-06/0.2942, allocations: 6.688 kB / 0.5272 GB, free: 34.11 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.332e-06/0.2942, allocations: 0 / 0.5272 GB, free: 34.11 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.242e-06/0.2942, allocations: 3.031 kB / 0.5272 GB, free: 34.11 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001851/0.2944, allocations: 233.4 kB / 0.5274 GB, free: 33.93 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.435e-05/0.2944, allocations: 91.73 kB / 0.5275 GB, free: 33.83 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.538e-05/0.2944, allocations: 3.234 kB / 0.5275 GB, free: 33.83 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.547e-05/0.2945, allocations: 9.844 kB / 0.5275 GB, free: 33.82 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.049e-05/0.2945, allocations: 6.062 kB / 0.5275 GB, free: 33.82 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.441e-06/0.2946, allocations: 7.188 kB / 0.5275 GB, free: 33.82 MB / 378.7 MB Notification: Performance of sorting global known variables: time 9.42e-05/0.2946, allocations: 174.2 kB / 0.5277 GB, free: 33.72 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.7e-07/0.2947, allocations: 0 / 0.5277 GB, free: 33.72 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002073/0.2949, allocations: 26.09 kB / 0.5277 GB, free: 33.71 MB / 378.7 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.0008516/0.2957, allocations: 0.509 MB / 0.5282 GB, free: 33.4 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002014/0.2959, allocations: 87.47 kB / 0.5283 GB, free: 33.38 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.844e-06/0.2959, allocations: 0 / 0.5283 GB, free: 33.38 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 8.242e-05/0.296, allocations: 38.75 kB / 0.5283 GB, free: 33.37 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002773/0.2963, allocations: 17.83 kB / 0.5284 GB, free: 33.36 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003555/0.2967, allocations: 326.6 kB / 0.5287 GB, free: 33.14 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001124/0.2968, allocations: 0.7156 MB / 0.5294 GB, free: 32.44 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 5.827e-05/0.2969, allocations: 23.84 kB / 0.5294 GB, free: 32.43 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.458e-05/0.2969, allocations: 13.22 kB / 0.5294 GB, free: 32.42 MB / 378.7 MB Notification: Performance of SimCode: time 2.1e-07/0.2969, allocations: 0 / 0.5294 GB, free: 32.42 MB / 378.7 MB Notification: Performance of Templates: time 0.002872/0.2998, allocations: 1.321 MB / 0.5307 GB, free: 32.26 MB / 378.7 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test5.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test5.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test5.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test5.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test5.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test5 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test5.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test5_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test5/Test5.csv","../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test5.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches