Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test8.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 90] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTable1Ds.Test8,tolerance=1e-06,outputFormat="mat",numberOfIntervals=500,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test8") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test8,tolerance=1e-06,outputFormat="mat",numberOfIntervals=500,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test8") [Timeout 660] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001253/0.001253, allocations: 113.5 kB / 18.79 MB, free: 3.562 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001213/0.001213, allocations: 215.1 kB / 19.8 MB, free: 2.559 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.333/1.333, allocations: 230.2 MB / 250.8 MB, free: 8.785 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2098/0.2098, allocations: 46.88 MB / 351.8 MB, free: 7.336 MB / 286.1 MB Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002181/0.002181, allocations: 76.16 kB / 496.5 MB, free: 11.3 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2803/0.2825, allocations: 65.98 MB / 0.5493 GB, free: 5.172 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test8): time 0.002777/0.2853, allocations: 1.601 MB / 0.5509 GB, free: 3.922 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009197/0.2862, allocations: 0.5418 MB / 0.5514 GB, free: 3.387 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.022e-05/0.2862, allocations: 0 / 0.5514 GB, free: 3.387 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001799/0.2864, allocations: 31.83 kB / 0.5514 GB, free: 3.355 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002294/0.2866, allocations: 71.64 kB / 0.5515 GB, free: 3.285 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002314/0.2869, allocations: 95.19 kB / 0.5516 GB, free: 3.195 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001391/0.287, allocations: 63.89 kB / 0.5516 GB, free: 3.133 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.103e-05/0.2871, allocations: 7.938 kB / 0.5517 GB, free: 3.125 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.57e-05/0.2871, allocations: 27.84 kB / 0.5517 GB, free: 3.098 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.918e-05/0.2872, allocations: 27.86 kB / 0.5517 GB, free: 3.07 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.073e-05/0.2872, allocations: 0 / 0.5517 GB, free: 3.07 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.122e-05/0.2873, allocations: 32 kB / 0.5517 GB, free: 3.039 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 4.645e-05/0.2873, allocations: 19.92 kB / 0.5518 GB, free: 3.02 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.242e-05/0.2874, allocations: 23.8 kB / 0.5518 GB, free: 2.996 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001576/0.2875, allocations: 80.22 kB / 0.5519 GB, free: 2.922 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.246e-06/0.2875, allocations: 0 / 0.5519 GB, free: 2.922 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.162e-06/0.2875, allocations: 0 / 0.5519 GB, free: 2.922 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.659e-06/0.2875, allocations: 0 / 0.5519 GB, free: 2.922 MB / 398.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.0004395/0.288, allocations: 398.9 kB / 0.5522 GB, free: 2.484 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.029e-05/0.288, allocations: 12.03 kB / 0.5522 GB, free: 2.473 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.196e-05/0.288, allocations: 8.891 kB / 0.5523 GB, free: 2.465 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001863/0.2882, allocations: 196.2 kB / 0.5524 GB, free: 2.234 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.783e-06/0.2882, allocations: 4.375 kB / 0.5524 GB, free: 2.23 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.269e-05/0.2882, allocations: 384 / 0.5524 GB, free: 2.23 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000152/0.2884, allocations: 49.81 kB / 0.5525 GB, free: 2.176 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.235e-05/0.2884, allocations: 0 / 0.5525 GB, free: 2.176 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.226e-05/0.2884, allocations: 4 kB / 0.5525 GB, free: 2.172 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.358e-06/0.2884, allocations: 0 / 0.5525 GB, free: 2.172 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.263e-05/0.2885, allocations: 27.92 kB / 0.5525 GB, free: 2.145 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003751/0.2889, allocations: 280.9 kB / 0.5528 GB, free: 1.82 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002037/0.2891, allocations: 42.55 kB / 0.5528 GB, free: 1.77 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.965e-05/0.2891, allocations: 12.86 kB / 0.5528 GB, free: 1.754 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.851e-05/0.2892, allocations: 0 / 0.5528 GB, free: 1.754 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.448e-05/0.2892, allocations: 46.44 kB / 0.5529 GB, free: 1.699 MB / 398.1 MB Notification: Performance of pre-optimization done (n=3): time 9.51e-07/0.2892, allocations: 0 / 0.5529 GB, free: 1.699 MB / 398.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005007/0.2897, allocations: 141.5 kB / 0.553 GB, free: 1.555 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.011e-05/0.2897, allocations: 55.34 kB / 0.5531 GB, free: 1.488 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001549/0.2899, allocations: 169.3 kB / 0.5532 GB, free: 1.316 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.654e-05/0.2899, allocations: 25.7 kB / 0.5533 GB, free: 1.285 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.099e-05/0.29, allocations: 100.1 kB / 0.5534 GB, free: 1.184 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.262e-05/0.29, allocations: 15.84 kB / 0.5534 GB, free: 1.168 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.324e-05/0.29, allocations: 21.72 kB / 0.5534 GB, free: 1.141 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001298/0.2902, allocations: 318.8 kB / 0.5537 GB, free: 0.8203 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.566e-05/0.2902, allocations: 19.98 kB / 0.5537 GB, free: 0.8008 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.151e-05/0.2903, allocations: 19.98 kB / 0.5537 GB, free: 0.7812 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000113/0.2904, allocations: 44.83 kB / 0.5538 GB, free: 0.7344 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.22e-07/0.2904, allocations: 0 / 0.5538 GB, free: 0.7344 MB / 398.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001671/0.2906, allocations: 81.62 kB / 0.5539 GB, free: 0.6484 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.155e-05/0.2906, allocations: 7.938 kB / 0.5539 GB, free: 0.6406 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.867e-06/0.2906, allocations: 4 kB / 0.5539 GB, free: 0.6367 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.093e-05/0.2906, allocations: 3.938 kB / 0.5539 GB, free: 0.6328 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.087e-05/0.2906, allocations: 11.98 kB / 0.5539 GB, free: 0.6211 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.528e-06/0.2907, allocations: 0 / 0.5539 GB, free: 0.6211 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.233e-05/0.2907, allocations: 15.88 kB / 0.5539 GB, free: 0.6055 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.21e-06/0.2907, allocations: 0 / 0.5539 GB, free: 0.6055 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 8.871e-05/0.2908, allocations: 125.8 kB / 0.554 GB, free: 484 kB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.121e-05/0.2908, allocations: 8.234 kB / 0.554 GB, free: 476 kB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002167/0.291, allocations: 89.97 kB / 0.5541 GB, free: 376 kB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.544e-06/0.291, allocations: 7.922 kB / 0.5541 GB, free: 368 kB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.807e-06/0.291, allocations: 320 / 0.5541 GB, free: 368 kB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.21e-06/0.2911, allocations: 7.938 kB / 0.5541 GB, free: 360 kB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004361/0.2915, allocations: 350.5 kB / 0.5545 GB, free: 15.95 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.693e-06/0.2915, allocations: 0 / 0.5545 GB, free: 15.95 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.553e-05/0.2915, allocations: 11.98 kB / 0.5545 GB, free: 15.94 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.663e-06/0.2915, allocations: 0 / 0.5545 GB, free: 15.94 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.001e-05/0.2916, allocations: 7.938 kB / 0.5545 GB, free: 15.93 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.286e-06/0.2916, allocations: 4 kB / 0.5545 GB, free: 15.93 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.71e-07/0.2916, allocations: 0 / 0.5545 GB, free: 15.93 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002175/0.2918, allocations: 183.4 kB / 0.5547 GB, free: 15.73 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.698e-05/0.2918, allocations: 81.06 kB / 0.5547 GB, free: 15.64 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.709e-05/0.2918, allocations: 3.938 kB / 0.5547 GB, free: 15.63 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.307e-05/0.2919, allocations: 4 kB / 0.5547 GB, free: 15.63 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.294e-05/0.2919, allocations: 7.984 kB / 0.5548 GB, free: 15.62 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.556e-06/0.2919, allocations: 0 / 0.5548 GB, free: 15.62 MB / 414.1 MB Notification: Performance of sorting global known variables: time 9.885e-05/0.292, allocations: 127.2 kB / 0.5549 GB, free: 15.5 MB / 414.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.292, allocations: 3.938 kB / 0.5549 GB, free: 15.49 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002336/0.2923, allocations: 19.95 kB / 0.5549 GB, free: 15.47 MB / 414.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.001372/0.2936, allocations: 398.9 kB / 0.5553 GB, free: 15.21 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001863/0.2938, allocations: 47.91 kB / 0.5553 GB, free: 15.17 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.2938, allocations: 0 / 0.5553 GB, free: 15.17 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 7.179e-05/0.2939, allocations: 27.98 kB / 0.5554 GB, free: 15.14 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003138/0.2942, allocations: 11.98 kB / 0.5554 GB, free: 15.13 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000394/0.2946, allocations: 190 kB / 0.5555 GB, free: 14.91 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003266/0.2949, allocations: 0.7031 MB / 0.5562 GB, free: 14.19 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 4.395e-05/0.295, allocations: 15.77 kB / 0.5562 GB, free: 14.17 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.949e-05/0.295, allocations: 15.44 kB / 0.5563 GB, free: 14.16 MB / 414.1 MB Notification: Performance of SimCode: time 2.7e-07/0.295, allocations: 0 / 0.5563 GB, free: 14.16 MB / 414.1 MB Notification: Performance of Templates: time 0.003613/0.2986, allocations: 1.134 MB / 0.5574 GB, free: 13.03 MB / 414.1 MB make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test8.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test8.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test8.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test8.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test8.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test8 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test8.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test8_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Ds/Test8/Test8.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test8.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] Reference file matches