Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test1.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.0009734/0.0009734, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001066/0.00204, 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.001068/0.001068, allocations: 169.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001032/0.0021, 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.011/1.011, allocations: 177.2 MB / 189.6 MB, free: 5.305 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08993/1.101, 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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2584/0.2584, allocations: 34.25 MB / 278.2 MB, free: 15.28 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02394/0.2824, allocations: 13.1 MB / 291.3 MB, free: 7.363 MB / 282.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.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.Test1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test1") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test1") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.463e-06/1.463e-06, allocations: 0 / 292.6 MB, free: 6.289 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.853e-05/2e-05, allocations: 3.188 kB / 292.6 MB, free: 6.285 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test1): time 0.001899/0.001919, allocations: 1.688 MB / 294.3 MB, free: 4.59 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.000708/0.002627, allocations: 0.553 MB / 294.9 MB, free: 4.031 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.629e-05/0.002684, allocations: 4 kB / 294.9 MB, free: 4.027 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001343/0.002818, allocations: 27.73 kB / 294.9 MB, free: 4 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001509/0.002969, allocations: 67.67 kB / 295 MB, free: 3.934 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002042/0.003173, allocations: 116.2 kB / 295.1 MB, free: 3.82 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.000116/0.003289, allocations: 67.78 kB / 295.1 MB, free: 3.754 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.764e-05/0.003367, allocations: 19.95 kB / 295.2 MB, free: 3.734 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.217e-05/0.003449, allocations: 43.92 kB / 295.2 MB, free: 3.691 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.057e-05/0.003499, allocations: 11.92 kB / 295.2 MB, free: 3.68 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.249e-05/0.003512, allocations: 8 kB / 295.2 MB, free: 3.672 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.875e-05/0.003581, allocations: 39.91 kB / 295.3 MB, free: 3.633 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 3.477e-05/0.003615, allocations: 11.94 kB / 295.3 MB, free: 3.621 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 2.573e-05/0.003641, allocations: 11.94 kB / 295.3 MB, free: 3.609 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001253/0.003766, allocations: 67.69 kB / 295.4 MB, free: 3.543 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.47e-05/0.003781, allocations: 0 / 295.4 MB, free: 3.543 MB / 282.7 MB Notification: Performance of FrontEnd: time 5.81e-07/0.003782, allocations: 0 / 295.4 MB, free: 3.543 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.429e-05/0.003796, allocations: 0 / 295.4 MB, free: 3.543 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.000358/0.004154, allocations: 289.4 kB / 295.6 MB, free: 3.238 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.017e-05/0.004184, allocations: 8.031 kB / 295.7 MB, free: 3.23 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.658e-05/0.004211, allocations: 4.938 kB / 295.7 MB, free: 3.227 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001241/0.004335, allocations: 141.6 kB / 295.8 MB, free: 3.062 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.755e-06/0.004343, allocations: 4.375 kB / 295.8 MB, free: 3.059 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.511e-05/0.004358, allocations: 384 / 295.8 MB, free: 3.059 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.525e-05/0.004443, allocations: 62.88 kB / 295.9 MB, free: 2.988 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.403e-06/0.00445, allocations: 4.125 kB / 295.9 MB, free: 2.984 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.973e-06/0.004457, allocations: 4.125 kB / 295.9 MB, free: 2.98 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.779e-06/0.004462, allocations: 0 / 295.9 MB, free: 2.98 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.026e-05/0.004482, allocations: 4 kB / 295.9 MB, free: 2.977 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001855/0.004668, allocations: 167.1 kB / 296 MB, free: 2.797 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001469/0.004815, allocations: 41.39 kB / 296.1 MB, free: 2.746 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.526e-05/0.00483, allocations: 12.86 kB / 296.1 MB, free: 2.73 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.543e-05/0.004846, allocations: 0 / 296.1 MB, free: 2.73 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.908e-05/0.004865, allocations: 30.56 kB / 296.1 MB, free: 2.691 MB / 282.7 MB Notification: Performance of pre-optimization done (n=3): time 1.032e-06/0.004866, allocations: 0 / 296.1 MB, free: 2.691 MB / 282.7 MB Notification: Performance of matching and sorting (n=5): time 0.0002576/0.005123, allocations: 85.58 kB / 296.2 MB, free: 2.602 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.691e-05/0.00515, allocations: 51.41 kB / 296.3 MB, free: 2.539 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.768e-05/0.005228, allocations: 144.3 kB / 296.4 MB, free: 2.383 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 8.195e-06/0.005236, allocations: 25.7 kB / 296.4 MB, free: 2.352 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.9e-05/0.005265, allocations: 92.11 kB / 296.5 MB, free: 2.258 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.12e-05/0.005286, allocations: 19.8 kB / 296.5 MB, free: 2.238 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.815e-05/0.005314, allocations: 25.7 kB / 296.6 MB, free: 2.207 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 7.177e-05/0.005386, allocations: 322.8 kB / 296.9 MB, free: 1.883 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.258e-06/0.005395, allocations: 4 kB / 296.9 MB, free: 1.879 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.033e-05/0.005406, allocations: 4 kB / 296.9 MB, free: 1.875 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.616e-05/0.005432, allocations: 23.67 kB / 296.9 MB, free: 1.848 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.91e-07/0.005433, allocations: 0 / 296.9 MB, free: 1.848 MB / 282.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 4.958e-05/0.005482, allocations: 53.56 kB / 297 MB, free: 1.789 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.193e-05/0.005494, allocations: 11.98 kB / 297 MB, free: 1.777 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.188e-06/0.005499, allocations: 0 / 297 MB, free: 1.777 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.807e-06/0.005507, allocations: 0 / 297 MB, free: 1.777 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.244e-05/0.00555, allocations: 12 kB / 297 MB, free: 1.766 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.514e-06/0.005552, allocations: 0 / 297 MB, free: 1.766 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.594e-05/0.005568, allocations: 7.984 kB / 297 MB, free: 1.758 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.088e-06/0.005572, allocations: 0 / 297 MB, free: 1.758 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 (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 4.687e-05/0.005619, allocations: 112.7 kB / 297.1 MB, free: 1.637 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.564e-05/0.005635, allocations: 11.94 kB / 297.1 MB, free: 1.625 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.43e-05/0.005729, allocations: 62.06 kB / 297.2 MB, free: 1.559 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.483e-06/0.005731, allocations: 0 / 297.2 MB, free: 1.559 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.343e-06/0.005732, allocations: 320 / 297.2 MB, free: 1.559 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.335e-06/0.005734, allocations: 4.219 kB / 297.2 MB, free: 1.555 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001612/0.005895, allocations: 218.8 kB / 297.4 MB, free: 1.316 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.485e-06/0.005898, allocations: 3.938 kB / 297.4 MB, free: 1.312 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.932e-05/0.005927, allocations: 19.92 kB / 297.4 MB, free: 1.293 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.115e-06/0.005935, allocations: 11.94 kB / 297.4 MB, free: 1.281 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.453e-06/0.005937, allocations: 0 / 297.4 MB, free: 1.281 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.697e-06/0.005941, allocations: 0 / 297.4 MB, free: 1.281 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.12e-07/0.005941, allocations: 0 / 297.4 MB, free: 1.281 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.005942, allocations: 0 / 297.4 MB, free: 1.281 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.515e-05/0.006007, allocations: 143.5 kB / 297.6 MB, free: 1.125 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.817e-06/0.006016, allocations: 0 / 297.6 MB, free: 1.125 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.828e-05/0.006045, allocations: 8 kB / 297.6 MB, free: 1.117 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.752e-05/0.006062, allocations: 4 kB / 297.6 MB, free: 1.113 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.907e-06/0.006066, allocations: 7.984 kB / 297.6 MB, free: 1.105 MB / 282.7 MB Notification: Performance of sorting global known variables: time 2.686e-05/0.006093, allocations: 34.06 kB / 297.6 MB, free: 1.07 MB / 282.7 MB Notification: Performance of sort global known variables: time 7e-08/0.006093, allocations: 0 / 297.6 MB, free: 1.07 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001202/0.006213, allocations: 15.94 kB / 297.6 MB, free: 1.055 MB / 282.7 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.001152/0.007365, allocations: 0.5445 MB / 298.2 MB, free: 0.8203 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 7.778e-05/0.007443, allocations: 24.84 kB / 298.2 MB, free: 0.793 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 4.488e-06/0.007447, allocations: 8 kB / 298.2 MB, free: 0.7852 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 1.543e-05/0.007463, allocations: 12.86 kB / 298.2 MB, free: 0.7695 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001701/0.007633, allocations: 30.36 kB / 298.2 MB, free: 0.7422 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004111/0.008044, allocations: 171.2 kB / 298.4 MB, free: 0.543 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.932e-05/0.008083, allocations: 67.33 kB / 298.5 MB, free: 468 kB / 282.7 MB Notification: Performance of simCode: alias equations: time 2.837e-05/0.008111, allocations: 4.25 kB / 298.5 MB, free: 464 kB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.996e-05/0.008161, allocations: 59.36 kB / 298.5 MB, free: 404 kB / 282.7 MB Notification: Performance of SimCode: time 4.11e-07/0.008162, allocations: 4 kB / 298.5 MB, free: 400 kB / 282.7 MB Notification: Performance of Templates: time 0.003011/0.01117, allocations: 1.277 MB / 299.8 MB, free: 15.13 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test1.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test1.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test1.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test1.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test1.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test1 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test1.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test1_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Dv/Test1/Test1.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: 2.8317167228087783]