Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.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.001865/0.001865, allocations: 84.23 kB / 20.68 MB, free: 1.023 MB / 14.72 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.00229/0.00229, allocations: 167.9 kB / 23.96 MB, free: 4.145 MB / 14.72 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.385/1.385, allocations: 177.1 MB / 204.3 MB, free: 9.184 MB / 190.1 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.197/0.197, allocations: 32.81 MB / 293.5 MB, free: 40 kB / 270.1 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.Test1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test1") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test1") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.405e-06/2.405e-06, allocations: 0 / 440.1 MB, free: 8.152 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.049e-05/3.289e-05, allocations: 2.281 kB / 440.1 MB, free: 8.148 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test1): time 0.003312/0.003345, allocations: 1.588 MB / 441.7 MB, free: 6.551 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001241/0.004586, allocations: 0.5336 MB / 442.2 MB, free: 6.012 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.816e-05/0.004664, allocations: 0 / 442.2 MB, free: 6.012 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002259/0.00489, allocations: 23.83 kB / 442.2 MB, free: 5.988 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003484/0.005239, allocations: 83.58 kB / 442.3 MB, free: 5.906 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003795/0.005618, allocations: 113.8 kB / 442.4 MB, free: 5.797 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001838/0.005802, allocations: 67.78 kB / 442.5 MB, free: 5.73 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00012/0.005922, allocations: 11.98 kB / 442.5 MB, free: 5.719 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.496e-05/0.005997, allocations: 27.92 kB / 442.5 MB, free: 5.691 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.839e-05/0.006065, allocations: 19.91 kB / 442.6 MB, free: 5.672 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 1.712e-05/0.006083, allocations: 0 / 442.6 MB, free: 5.672 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001015/0.006184, allocations: 39.86 kB / 442.6 MB, free: 5.633 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 5.932e-05/0.006243, allocations: 23.88 kB / 442.6 MB, free: 5.609 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 4.136e-05/0.006285, allocations: 11.97 kB / 442.6 MB, free: 5.598 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001933/0.006478, allocations: 75.73 kB / 442.7 MB, free: 5.523 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.026e-06/0.006481, allocations: 0 / 442.7 MB, free: 5.523 MB / 366.1 MB Notification: Performance of FrontEnd: time 9.61e-07/0.006482, allocations: 0 / 442.7 MB, free: 5.523 MB / 366.1 MB Notification: Performance of Transformations before backend: time 4.007e-06/0.006486, allocations: 0 / 442.7 MB, free: 5.523 MB / 366.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.0004966/0.006983, allocations: 309.9 kB / 443 MB, free: 5.191 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.782e-05/0.00702, allocations: 8.031 kB / 443 MB, free: 5.184 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.802e-05/0.007068, allocations: 8.891 kB / 443 MB, free: 5.176 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002242/0.007293, allocations: 133.6 kB / 443.2 MB, free: 5.02 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.081e-05/0.007303, allocations: 8.375 kB / 443.2 MB, free: 5.012 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.399e-05/0.007327, allocations: 4.312 kB / 443.2 MB, free: 5.008 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001668/0.007494, allocations: 54.23 kB / 443.2 MB, free: 4.949 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.242e-05/0.007507, allocations: 192 / 443.2 MB, free: 4.949 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.328e-05/0.00752, allocations: 4.125 kB / 443.2 MB, free: 4.945 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.731e-06/0.007526, allocations: 0 / 443.2 MB, free: 4.945 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001185/0.007644, allocations: 31.97 kB / 443.3 MB, free: 4.914 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004242/0.008068, allocations: 216.6 kB / 443.5 MB, free: 4.672 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002699/0.008338, allocations: 54.5 kB / 443.5 MB, free: 4.609 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.763e-05/0.008396, allocations: 16.94 kB / 443.5 MB, free: 4.59 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.957e-05/0.008425, allocations: 3.938 kB / 443.5 MB, free: 4.586 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.047e-05/0.008456, allocations: 34.56 kB / 443.6 MB, free: 4.543 MB / 366.1 MB Notification: Performance of pre-optimization done (n=3): time 1.182e-06/0.008457, allocations: 0 / 443.6 MB, free: 4.543 MB / 366.1 MB Notification: Performance of matching and sorting (n=5): time 0.0006527/0.00911, allocations: 149.4 kB / 443.7 MB, free: 4.391 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.348e-05/0.009153, allocations: 51.41 kB / 443.8 MB, free: 4.328 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001769/0.00933, allocations: 156.7 kB / 443.9 MB, free: 4.164 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.83e-05/0.009349, allocations: 25.7 kB / 444 MB, free: 4.133 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.483e-05/0.009413, allocations: 96.08 kB / 444 MB, free: 4.035 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.915e-05/0.009442, allocations: 23.84 kB / 444.1 MB, free: 4.012 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.024e-05/0.009493, allocations: 17.72 kB / 444.1 MB, free: 3.988 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001545/0.009647, allocations: 322.8 kB / 444.4 MB, free: 3.664 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.764e-05/0.009725, allocations: 15.98 kB / 444.4 MB, free: 3.648 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.032e-05/0.009795, allocations: 23.98 kB / 444.4 MB, free: 3.625 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001571/0.009952, allocations: 52.77 kB / 444.5 MB, free: 3.57 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.71e-07/0.009953, allocations: 7.938 kB / 444.5 MB, free: 3.562 MB / 366.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002258/0.01018, allocations: 89.55 kB / 444.6 MB, free: 3.469 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.445e-05/0.01019, allocations: 4 kB / 444.6 MB, free: 3.465 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.328e-06/0.0102, allocations: 0 / 444.6 MB, free: 3.465 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.755e-05/0.01022, allocations: 4 kB / 444.6 MB, free: 3.461 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.928e-05/0.01028, allocations: 11.98 kB / 444.6 MB, free: 3.449 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.648e-06/0.01029, allocations: 0 / 444.6 MB, free: 3.449 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.385e-05/0.01033, allocations: 4 kB / 444.6 MB, free: 3.445 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.526e-06/0.01034, allocations: 11.94 kB / 444.6 MB, free: 3.434 MB / 366.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.0001019/0.01044, allocations: 122.5 kB / 444.7 MB, free: 3.305 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.712e-05/0.01048, allocations: 11.89 kB / 444.8 MB, free: 3.293 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002753/0.01076, allocations: 98.05 kB / 444.9 MB, free: 3.188 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.049e-06/0.01076, allocations: 4 kB / 444.9 MB, free: 3.184 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.907e-06/0.01076, allocations: 320 / 444.9 MB, free: 3.184 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.229e-06/0.01077, allocations: 3.984 kB / 444.9 MB, free: 3.18 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004396/0.01121, allocations: 306.4 kB / 445.2 MB, free: 2.844 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.774e-06/0.01121, allocations: 0 / 445.2 MB, free: 2.844 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.122e-05/0.01127, allocations: 11.98 kB / 445.2 MB, free: 2.832 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.374e-06/0.01128, allocations: 0 / 445.2 MB, free: 2.832 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.03e-05/0.01129, allocations: 4 kB / 445.2 MB, free: 2.828 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.443e-06/0.01129, allocations: 0 / 445.2 MB, free: 2.828 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.779e-06/0.01129, allocations: 3.984 kB / 445.2 MB, free: 2.824 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000267/0.01156, allocations: 187.4 kB / 445.4 MB, free: 2.625 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.339e-05/0.01157, allocations: 7.953 kB / 445.4 MB, free: 2.617 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.576e-05/0.01159, allocations: 4 kB / 445.4 MB, free: 2.613 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.362e-05/0.01166, allocations: 7.984 kB / 445.4 MB, free: 2.605 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.806e-05/0.01169, allocations: 0 / 445.4 MB, free: 2.605 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.659e-06/0.01169, allocations: 0 / 445.4 MB, free: 2.605 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001027/0.0118, allocations: 119.2 kB / 445.5 MB, free: 2.488 MB / 366.1 MB Notification: Performance of sort global known variables: time 9e-08/0.0118, allocations: 3.938 kB / 445.5 MB, free: 2.484 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002745/0.01207, allocations: 19.94 kB / 445.5 MB, free: 2.465 MB / 366.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.001616/0.01369, allocations: 431.5 kB / 445.9 MB, free: 2.223 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002295/0.01392, allocations: 55.95 kB / 446 MB, free: 2.168 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.01392, allocations: 0 / 446 MB, free: 2.168 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 8.642e-05/0.01401, allocations: 27.92 kB / 446 MB, free: 2.141 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003214/0.01433, allocations: 26.3 kB / 446.1 MB, free: 2.121 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004998/0.01483, allocations: 181.4 kB / 446.2 MB, free: 1.91 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.767e-05/0.01492, allocations: 79.31 kB / 446.3 MB, free: 1.812 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 5.29e-05/0.01498, allocations: 19.98 kB / 446.3 MB, free: 1.793 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.692e-05/0.01501, allocations: 12.5 kB / 446.3 MB, free: 1.781 MB / 366.1 MB Notification: Performance of SimCode: time 3.11e-07/0.01501, allocations: 0 / 446.3 MB, free: 1.781 MB / 366.1 MB Notification: Performance of Templates: time 0.004245/0.01926, allocations: 1.166 MB / 447.5 MB, free: 0.6289 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test1.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test1.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test1.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test1.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test1.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test1.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test1_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test1/Test1.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test1.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.5740397572517395]