Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test11.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001497/0.001497, allocations: 113.1 kB / 21.85 MB, free: 80 kB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001703/0.001703, allocations: 220.4 kB / 25.13 MB, free: 3.605 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.42/1.42, allocations: 230.4 MB / 258.7 MB, free: 8.051 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2129/0.2129, allocations: 46.93 MB / 362 MB, free: 4.234 MB / 286.1 MB " [Timeout remaining time 180] 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.Test11,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test11") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test11,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test11") [Timeout 660] "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.002354/0.002354, allocations: 84.14 kB / 0.4978 GB, free: 7.391 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2808/0.2831, allocations: 66.09 MB / 0.5623 GB, free: 4.27 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test11): time 0.003261/0.2864, allocations: 1.613 MB / 0.5639 GB, free: 2.648 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0011/0.2875, allocations: 0.5459 MB / 0.5644 GB, free: 2.102 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.787e-05/0.2875, allocations: 0 / 0.5644 GB, free: 2.102 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002239/0.2878, allocations: 31.8 kB / 0.5645 GB, free: 2.07 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00031/0.2881, allocations: 79.67 kB / 0.5646 GB, free: 1.992 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003343/0.2884, allocations: 87.7 kB / 0.5646 GB, free: 1.906 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001772/0.2886, allocations: 67.83 kB / 0.5647 GB, free: 1.84 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001176/0.2887, allocations: 23.56 kB / 0.5647 GB, free: 1.82 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.361e-05/0.2888, allocations: 23.92 kB / 0.5647 GB, free: 1.797 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.032e-05/0.2888, allocations: 19.86 kB / 0.5648 GB, free: 1.777 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.951e-05/0.2889, allocations: 4 kB / 0.5648 GB, free: 1.773 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001138/0.289, allocations: 35.98 kB / 0.5648 GB, free: 1.738 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.148e-05/0.289, allocations: 11.92 kB / 0.5648 GB, free: 1.727 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.261e-05/0.2891, allocations: 31.75 kB / 0.5648 GB, free: 1.695 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002473/0.2893, allocations: 86.45 kB / 0.5649 GB, free: 1.613 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.797e-06/0.2893, allocations: 0 / 0.5649 GB, free: 1.613 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.493e-06/0.2893, allocations: 4 kB / 0.5649 GB, free: 1.609 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.142e-06/0.2893, allocations: 4 kB / 0.5649 GB, free: 1.605 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.0004931/0.2898, allocations: 317.8 kB / 0.5652 GB, free: 1.262 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.733e-05/0.2899, allocations: 8.031 kB / 0.5652 GB, free: 1.254 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.416e-05/0.2899, allocations: 12.84 kB / 0.5653 GB, free: 1.242 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002095/0.2901, allocations: 142.9 kB / 0.5654 GB, free: 1.078 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.112e-05/0.2901, allocations: 384 / 0.5654 GB, free: 1.078 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.886e-05/0.2902, allocations: 384 / 0.5654 GB, free: 1.078 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001489/0.2903, allocations: 57.73 kB / 0.5655 GB, free: 1.016 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.357e-05/0.2903, allocations: 4 kB / 0.5655 GB, free: 1.012 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.152e-05/0.2903, allocations: 4 kB / 0.5655 GB, free: 1.008 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.807e-06/0.2903, allocations: 0 / 0.5655 GB, free: 1.008 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.778e-05/0.2904, allocations: 19.98 kB / 0.5655 GB, free: 0.9883 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003657/0.2908, allocations: 244 kB / 0.5657 GB, free: 0.707 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002062/0.291, allocations: 46.5 kB / 0.5658 GB, free: 0.6523 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.254e-05/0.2911, allocations: 24.88 kB / 0.5658 GB, free: 0.625 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.723e-05/0.2911, allocations: 0 / 0.5658 GB, free: 0.625 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.253e-05/0.2911, allocations: 34.56 kB / 0.5658 GB, free: 0.582 MB / 398.1 MB Notification: Performance of pre-optimization done (n=3): time 1.042e-06/0.2911, allocations: 0 / 0.5658 GB, free: 0.582 MB / 398.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005642/0.2917, allocations: 141.4 kB / 0.5659 GB, free: 448 kB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.297e-05/0.2917, allocations: 55.41 kB / 0.566 GB, free: 380 kB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001991/0.2919, allocations: 174.5 kB / 0.5662 GB, free: 188 kB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.714e-05/0.2919, allocations: 25.7 kB / 0.5662 GB, free: 156 kB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.147e-05/0.292, allocations: 96.14 kB / 0.5663 GB, free: 56 kB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.614e-05/0.292, allocations: 23.83 kB / 0.5663 GB, free: 32 kB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.094e-05/0.2921, allocations: 13.72 kB / 0.5663 GB, free: 12 kB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001932/0.2923, allocations: 326.8 kB / 0.5666 GB, free: 15.68 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.302e-05/0.2923, allocations: 19.98 kB / 0.5666 GB, free: 15.66 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.085e-05/0.2924, allocations: 19.98 kB / 0.5667 GB, free: 15.64 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001387/0.2925, allocations: 56.95 kB / 0.5667 GB, free: 15.59 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.52e-07/0.2925, allocations: 0 / 0.5667 GB, free: 15.59 MB / 414.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002008/0.2927, allocations: 81.58 kB / 0.5668 GB, free: 15.5 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.229e-05/0.2928, allocations: 4 kB / 0.5668 GB, free: 15.5 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.031e-06/0.2928, allocations: 0 / 0.5668 GB, free: 15.5 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.469e-05/0.2928, allocations: 4 kB / 0.5668 GB, free: 15.49 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.241e-05/0.2928, allocations: 15.98 kB / 0.5668 GB, free: 15.48 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.729e-06/0.2929, allocations: 0 / 0.5668 GB, free: 15.48 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.852e-05/0.2929, allocations: 4 kB / 0.5668 GB, free: 15.47 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.718e-06/0.2929, allocations: 3.984 kB / 0.5668 GB, free: 15.47 MB / 414.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.0001073/0.293, allocations: 121.8 kB / 0.5669 GB, free: 15.34 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.24e-05/0.293, allocations: 11.89 kB / 0.567 GB, free: 15.33 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002597/0.2933, allocations: 94.06 kB / 0.567 GB, free: 15.22 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.074e-06/0.2933, allocations: 0 / 0.567 GB, free: 15.22 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.258e-06/0.2933, allocations: 0 / 0.567 GB, free: 15.22 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.731e-06/0.2933, allocations: 3.984 kB / 0.5671 GB, free: 15.22 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004488/0.2938, allocations: 321.5 kB / 0.5674 GB, free: 14.86 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.302e-06/0.2938, allocations: 0 / 0.5674 GB, free: 14.86 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.746e-05/0.2938, allocations: 15.92 kB / 0.5674 GB, free: 14.84 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.368e-06/0.2938, allocations: 4 kB / 0.5674 GB, free: 14.84 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.583e-06/0.2938, allocations: 4 kB / 0.5674 GB, free: 14.83 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.609e-06/0.2938, allocations: 7.875 kB / 0.5674 GB, free: 14.82 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.2938, allocations: 192 / 0.5674 GB, free: 14.82 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002391/0.2941, allocations: 179.8 kB / 0.5676 GB, free: 14.63 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.634e-05/0.2941, allocations: 11.91 kB / 0.5676 GB, free: 14.62 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.777e-05/0.2941, allocations: 4 kB / 0.5676 GB, free: 14.62 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.097e-05/0.2942, allocations: 11.94 kB / 0.5676 GB, free: 14.61 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.224e-05/0.2942, allocations: 11.91 kB / 0.5676 GB, free: 14.59 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.103e-06/0.2942, allocations: 4 kB / 0.5676 GB, free: 14.59 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001265/0.2943, allocations: 135.9 kB / 0.5677 GB, free: 14.46 MB / 414.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.2943, allocations: 0 / 0.5677 GB, free: 14.46 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002453/0.2946, allocations: 19.92 kB / 0.5678 GB, free: 14.44 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.001431/0.296, allocations: 396.3 kB / 0.5681 GB, free: 14.18 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.000212/0.2962, allocations: 55.95 kB / 0.5682 GB, free: 14.13 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/0.2962, allocations: 0 / 0.5682 GB, free: 14.13 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 7.904e-05/0.2963, allocations: 23.92 kB / 0.5682 GB, free: 14.11 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003378/0.2967, allocations: 15.98 kB / 0.5682 GB, free: 14.09 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004544/0.2971, allocations: 193.9 kB / 0.5684 GB, free: 13.88 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003437/0.2975, allocations: 0.7002 MB / 0.5691 GB, free: 13.15 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 4.271e-05/0.2975, allocations: 23.56 kB / 0.5691 GB, free: 13.12 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.866e-05/0.2975, allocations: 11.44 kB / 0.5691 GB, free: 13.11 MB / 414.1 MB Notification: Performance of SimCode: time 5.01e-07/0.2975, allocations: 0 / 0.5691 GB, free: 13.11 MB / 414.1 MB Notification: Performance of Templates: time 0.003953/0.3015, allocations: 1.153 MB / 0.5702 GB, free: 11.96 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test11.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test11.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test11.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test11.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test11.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test11 -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test11.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test11_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Ds/Test11/Test11.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test11.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.750377662014216]