Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test4.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001178/0.001178, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001526/0.002704, allocations: 449.7 kB / 10.37 MB, free: 328 kB / 10.45 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0009958/0.0009958, allocations: 169.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001186/0.002182, allocations: 455.6 kB / 11.71 MB, free: 2.461 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.032/1.032, allocations: 177.2 MB / 189.6 MB, free: 5.309 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1282/1.16, allocations: 53.65 MB / 243.3 MB, free: 15.58 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.3137/0.3137, allocations: 32.8 MB / 276.8 MB, free: 15.85 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.03949/0.3532, allocations: 12.53 MB / 289.3 MB, free: 8.676 MB / 282.7 MB " [Timeout remaining time 180] 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTable1Dv.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y|d_t_new2.y|d2_t_new.y|d2_t_new2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test4") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y|d_t_new2.y|d2_t_new.y|d2_t_new2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test4") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.833e-06/1.833e-06, allocations: 0 / 290.6 MB, free: 7.633 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.665e-05/2.848e-05, allocations: 3.438 kB / 290.6 MB, free: 7.629 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test4): time 0.002759/0.002788, allocations: 1.721 MB / 292.4 MB, free: 6.246 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008132/0.003601, allocations: 0.5697 MB / 292.9 MB, free: 5.82 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.27e-05/0.003674, allocations: 1.188 kB / 292.9 MB, free: 5.82 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002573/0.003931, allocations: 98.48 kB / 293 MB, free: 5.766 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002933/0.004224, allocations: 116.4 kB / 293.1 MB, free: 5.691 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002957/0.00452, allocations: 114.7 kB / 293.2 MB, free: 5.617 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001819/0.004702, allocations: 107.6 kB / 293.4 MB, free: 5.551 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001025/0.004804, allocations: 27.89 kB / 293.4 MB, free: 5.523 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001068/0.004911, allocations: 79.88 kB / 293.5 MB, free: 5.445 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.247e-05/0.005004, allocations: 47.88 kB / 293.5 MB, free: 5.398 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.446e-05/0.005018, allocations: 8 kB / 293.5 MB, free: 5.391 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.625e-05/0.005104, allocations: 43.91 kB / 293.6 MB, free: 5.348 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 4.559e-05/0.00515, allocations: 27.88 kB / 293.6 MB, free: 5.32 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 3.02e-05/0.00518, allocations: 15.94 kB / 293.6 MB, free: 5.305 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001464/0.005327, allocations: 103.5 kB / 293.7 MB, free: 5.203 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.449e-05/0.005341, allocations: 0 / 293.7 MB, free: 5.203 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.263e-06/0.005342, allocations: 0 / 293.7 MB, free: 5.203 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.375e-05/0.005356, allocations: 4 kB / 293.7 MB, free: 5.199 MB / 282.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0004718/0.005828, allocations: 364.4 kB / 294.1 MB, free: 4.82 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.563e-05/0.005863, allocations: 8.625 kB / 294.1 MB, free: 4.812 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.893e-05/0.005902, allocations: 12.94 kB / 294.1 MB, free: 4.801 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001661/0.006069, allocations: 153.4 kB / 294.2 MB, free: 4.625 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.451e-05/0.006083, allocations: 8.375 kB / 294.2 MB, free: 4.617 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.15e-05/0.006105, allocations: 4.375 kB / 294.2 MB, free: 4.613 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001079/0.006212, allocations: 63.94 kB / 294.3 MB, free: 4.543 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.02e-05/0.006223, allocations: 4.188 kB / 294.3 MB, free: 4.539 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.998e-06/0.006233, allocations: 8.125 kB / 294.3 MB, free: 4.531 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.831e-06/0.006238, allocations: 4 kB / 294.3 MB, free: 4.527 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.583e-05/0.006274, allocations: 21.73 kB / 294.3 MB, free: 4.508 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002835/0.006558, allocations: 203 kB / 294.5 MB, free: 4.293 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.899e-05/0.006627, allocations: 42.55 kB / 294.6 MB, free: 4.242 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.082e-05/0.006648, allocations: 16.78 kB / 294.6 MB, free: 4.223 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.575e-05/0.006673, allocations: 4 kB / 294.6 MB, free: 4.219 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.352e-05/0.006697, allocations: 34.56 kB / 294.6 MB, free: 4.176 MB / 282.7 MB Notification: Performance of pre-optimization done (n=7): time 1.643e-06/0.006699, allocations: 3.938 kB / 294.6 MB, free: 4.172 MB / 282.7 MB Notification: Performance of matching and sorting (n=13): time 0.0005548/0.007253, allocations: 198 kB / 294.8 MB, free: 3.973 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.008e-05/0.007293, allocations: 55.41 kB / 294.9 MB, free: 3.906 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001241/0.007417, allocations: 197 kB / 295.1 MB, free: 3.695 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.165e-05/0.007429, allocations: 29.7 kB / 295.1 MB, free: 3.66 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.048e-05/0.00748, allocations: 104 kB / 295.2 MB, free: 3.555 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.433e-05/0.007514, allocations: 43.62 kB / 295.3 MB, free: 3.512 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.189e-05/0.007546, allocations: 21.72 kB / 295.3 MB, free: 3.484 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 8.498e-05/0.007631, allocations: 334.7 kB / 295.6 MB, free: 3.148 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.945e-05/0.00765, allocations: 8 kB / 295.6 MB, free: 3.141 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.088e-05/0.007671, allocations: 28.05 kB / 295.6 MB, free: 3.113 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.752e-05/0.007719, allocations: 46.16 kB / 295.7 MB, free: 3.066 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.022e-06/0.00772, allocations: 0 / 295.7 MB, free: 3.066 MB / 282.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 7.912e-05/0.007799, allocations: 73.66 kB / 295.8 MB, free: 2.988 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.271e-05/0.007811, allocations: 4 kB / 295.8 MB, free: 2.984 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.18e-06/0.007817, allocations: 0 / 295.8 MB, free: 2.984 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.947e-06/0.007826, allocations: 4 kB / 295.8 MB, free: 2.98 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.53e-05/0.007921, allocations: 27.92 kB / 295.8 MB, free: 2.953 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.326e-06/0.007924, allocations: 0 / 295.8 MB, free: 2.953 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.205e-05/0.007946, allocations: 8 kB / 295.8 MB, free: 2.945 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.893e-06/0.007953, allocations: 3.984 kB / 295.8 MB, free: 2.941 MB / 282.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 (13): * Single equations (assignments): 13 * 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.801e-05/0.008021, allocations: 124.6 kB / 295.9 MB, free: 2.809 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.039e-05/0.008042, allocations: 11.98 kB / 295.9 MB, free: 2.797 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001375/0.008179, allocations: 99 kB / 296 MB, free: 2.695 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.939e-06/0.008184, allocations: 11.97 kB / 296 MB, free: 2.684 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.363e-06/0.008185, allocations: 0 / 296 MB, free: 2.684 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.525e-06/0.008188, allocations: 0 / 296 MB, free: 2.684 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002985/0.008486, allocations: 295.4 kB / 296.3 MB, free: 2.367 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.504e-06/0.008489, allocations: 0 / 296.3 MB, free: 2.367 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.328e-05/0.008552, allocations: 31.95 kB / 296.4 MB, free: 2.336 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.172e-05/0.008564, allocations: 11.91 kB / 296.4 MB, free: 2.324 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.598e-06/0.008569, allocations: 4 kB / 296.4 MB, free: 2.32 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.412e-06/0.008575, allocations: 0 / 296.4 MB, free: 2.32 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.697e-06/0.008579, allocations: 7.922 kB / 296.4 MB, free: 2.312 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.224e-06/0.008581, allocations: 3.938 kB / 296.4 MB, free: 2.309 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001049/0.008686, allocations: 174 kB / 296.6 MB, free: 2.121 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.344e-05/0.008699, allocations: 3.984 kB / 296.6 MB, free: 2.117 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.434e-05/0.008734, allocations: 8 kB / 296.6 MB, free: 2.109 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.809e-05/0.008762, allocations: 7.922 kB / 296.6 MB, free: 2.102 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.083e-06/0.008769, allocations: 8 kB / 296.6 MB, free: 2.094 MB / 282.7 MB Notification: Performance of sorting global known variables: time 4.806e-05/0.008817, allocations: 69.59 kB / 296.7 MB, free: 2.023 MB / 282.7 MB Notification: Performance of sort global known variables: time 6e-08/0.008817, allocations: 0 / 296.7 MB, free: 2.023 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.000145/0.008962, allocations: 23.94 kB / 296.7 MB, free: 2 MB / 282.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 (13): * Single equations (assignments): 13 * 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.001541/0.0105, allocations: 0.6301 MB / 297.3 MB, free: 1.727 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.00012/0.01062, allocations: 52.83 kB / 297.4 MB, free: 1.672 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 6.302e-06/0.01063, allocations: 4 kB / 297.4 MB, free: 1.668 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 3.253e-05/0.01066, allocations: 36.72 kB / 297.4 MB, free: 1.629 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002002/0.01086, allocations: 31.23 kB / 297.4 MB, free: 1.602 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005052/0.01137, allocations: 278.4 kB / 297.7 MB, free: 1.301 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.55e-05/0.01141, allocations: 75.33 kB / 297.8 MB, free: 1.207 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 4.355e-05/0.01146, allocations: 16.56 kB / 297.8 MB, free: 1.191 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.399e-05/0.01152, allocations: 67.36 kB / 297.9 MB, free: 1.125 MB / 282.7 MB Notification: Performance of SimCode: time 9.32e-07/0.01152, allocations: 0 / 297.9 MB, free: 1.125 MB / 282.7 MB Notification: Performance of Templates: time 0.00374/0.01526, allocations: 1.782 MB / 299.6 MB, free: 15.36 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test4.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test4.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test4.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test4.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test4.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test4 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test4.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test4_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test4/Test4.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.1360016567632556]