Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test6.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007844/0.0007844, allocations: 77.36 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001292/0.002076, allocations: 445.8 kB / 10.44 MB, free: 256 kB / 10.45 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001039/0.001039, allocations: 148.9 kB / 11.34 MB, free: 2.836 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001536/0.002575, allocations: 475.6 kB / 11.8 MB, free: 2.367 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 0.9295/0.9295, allocations: 173.4 MB / 186 MB, free: 7.535 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1497/1.079, allocations: 52.5 MB / 238.5 MB, free: 7.613 MB / 234.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.131/0.131, allocations: 32.8 MB / 272 MB, free: 6.281 MB / 266.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02257/0.1535, allocations: 12.54 MB / 284.5 MB, free: 9.703 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTable1Ds.Test6,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.CombiTable1Ds.Test6") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test6,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.CombiTable1Ds.Test6") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.062e-06/1.062e-06, allocations: 0 / 285.9 MB, free: 8.375 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 8.716e-06/9.778e-06, allocations: 6.25 kB / 285.9 MB, free: 8.367 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test6): time 0.001873/0.001883, allocations: 1.698 MB / 287.6 MB, free: 6.66 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.000535/0.002418, allocations: 434.8 kB / 288 MB, free: 6.23 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.786e-05/0.002466, allocations: 0 / 288 MB, free: 6.23 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001767/0.002643, allocations: 91.62 kB / 288.1 MB, free: 6.141 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001202/0.002763, allocations: 79.66 kB / 288.2 MB, free: 6.062 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001809/0.002944, allocations: 91.64 kB / 288.3 MB, free: 5.973 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001387/0.003082, allocations: 87.75 kB / 288.4 MB, free: 5.887 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.007e-05/0.003172, allocations: 19.92 kB / 288.4 MB, free: 5.867 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001017/0.003274, allocations: 67.88 kB / 288.4 MB, free: 5.801 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.205e-05/0.003356, allocations: 59.86 kB / 288.5 MB, free: 5.742 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.598e-05/0.003372, allocations: 4 kB / 288.5 MB, free: 5.738 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.337e-05/0.003446, allocations: 47.86 kB / 288.5 MB, free: 5.691 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 4.332e-05/0.003489, allocations: 23.88 kB / 288.6 MB, free: 5.668 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 2.611e-05/0.003515, allocations: 11.94 kB / 288.6 MB, free: 5.656 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000138/0.003653, allocations: 99.59 kB / 288.7 MB, free: 5.559 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.056e-05/0.003664, allocations: 0 / 288.7 MB, free: 5.559 MB / 282.7 MB Notification: Performance of FrontEnd: time 5.31e-07/0.003664, allocations: 0 / 288.7 MB, free: 5.559 MB / 282.7 MB Notification: Performance of Transformations before backend: time 8.315e-06/0.003672, allocations: 4 kB / 288.7 MB, free: 5.555 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.000342/0.004014, allocations: 339.8 kB / 289 MB, free: 5.199 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.735e-05/0.004042, allocations: 12.03 kB / 289 MB, free: 5.188 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.804e-05/0.00407, allocations: 8.938 kB / 289 MB, free: 5.18 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001405/0.00421, allocations: 157.5 kB / 289.2 MB, free: 5 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.646e-06/0.004219, allocations: 4.375 kB / 289.2 MB, free: 4.996 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2e-05/0.004239, allocations: 384 / 289.2 MB, free: 4.996 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.947e-05/0.004328, allocations: 74.88 kB / 289.3 MB, free: 4.914 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.374e-06/0.004336, allocations: 192 / 289.3 MB, free: 4.914 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.735e-06/0.004344, allocations: 4.125 kB / 289.3 MB, free: 4.91 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.897e-06/0.004347, allocations: 3.938 kB / 289.3 MB, free: 4.906 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.688e-05/0.004374, allocations: 19.98 kB / 289.3 MB, free: 4.887 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002016/0.004576, allocations: 191.1 kB / 289.5 MB, free: 4.684 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.402e-05/0.00463, allocations: 50.47 kB / 289.5 MB, free: 4.625 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.444e-05/0.004644, allocations: 8.859 kB / 289.5 MB, free: 4.613 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.809e-05/0.004663, allocations: 7.938 kB / 289.5 MB, free: 4.605 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.616e-05/0.004679, allocations: 34.56 kB / 289.6 MB, free: 4.562 MB / 282.7 MB Notification: Performance of pre-optimization done (n=7): time 7.42e-07/0.004679, allocations: 0 / 289.6 MB, free: 4.562 MB / 282.7 MB Notification: Performance of matching and sorting (n=13): time 0.0004341/0.005114, allocations: 201.9 kB / 289.8 MB, free: 4.359 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.363e-05/0.005137, allocations: 55.41 kB / 289.8 MB, free: 4.293 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001025/0.00524, allocations: 188.3 kB / 290 MB, free: 4.094 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.112e-05/0.005251, allocations: 25.7 kB / 290 MB, free: 4.062 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 3e-05/0.005281, allocations: 104 kB / 290.1 MB, free: 3.957 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.678e-05/0.005308, allocations: 43.61 kB / 290.2 MB, free: 3.914 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.995e-05/0.005337, allocations: 33.69 kB / 290.2 MB, free: 3.875 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 6.457e-05/0.005402, allocations: 330.7 kB / 290.5 MB, free: 3.543 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.557e-05/0.005418, allocations: 8.109 kB / 290.5 MB, free: 3.535 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.405e-05/0.005432, allocations: 15.92 kB / 290.6 MB, free: 3.52 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.698e-05/0.005469, allocations: 36.83 kB / 290.6 MB, free: 3.48 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.062e-06/0.00547, allocations: 0 / 290.6 MB, free: 3.48 MB / 282.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 6.368e-05/0.005533, allocations: 81.23 kB / 290.7 MB, free: 3.398 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.015e-05/0.005544, allocations: 4 kB / 290.7 MB, free: 3.395 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.707e-06/0.005547, allocations: 0 / 290.7 MB, free: 3.395 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.257e-06/0.005556, allocations: 0 / 290.7 MB, free: 3.395 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.007e-05/0.005627, allocations: 27.98 kB / 290.7 MB, free: 3.367 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.755e-06/0.005629, allocations: 0 / 290.7 MB, free: 3.367 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.96e-05/0.005649, allocations: 11.98 kB / 290.7 MB, free: 3.355 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.869e-06/0.005654, allocations: 0 / 290.7 MB, free: 3.355 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 8.963e-05/0.005743, allocations: 124.6 kB / 290.8 MB, free: 3.223 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.688e-05/0.00576, allocations: 7.938 kB / 290.9 MB, free: 3.215 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001012/0.005861, allocations: 103.1 kB / 291 MB, free: 3.113 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.503e-06/0.005863, allocations: 0 / 291 MB, free: 3.113 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.003e-06/0.005865, allocations: 4 kB / 291 MB, free: 3.109 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.896e-06/0.005868, allocations: 0 / 291 MB, free: 3.109 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002271/0.006095, allocations: 299.3 kB / 291.2 MB, free: 2.789 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.423e-06/0.006096, allocations: 0 / 291.2 MB, free: 2.789 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.129e-05/0.006148, allocations: 31.91 kB / 291.3 MB, free: 2.758 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.104e-05/0.006159, allocations: 11.91 kB / 291.3 MB, free: 2.746 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.625e-06/0.006161, allocations: 4 kB / 291.3 MB, free: 2.742 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.123e-06/0.006168, allocations: 7.984 kB / 291.3 MB, free: 2.734 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.914e-06/0.00617, allocations: 7.969 kB / 291.3 MB, free: 2.727 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.72e-07/0.006171, allocations: 3.938 kB / 291.3 MB, free: 2.723 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.137e-05/0.006252, allocations: 164.4 kB / 291.5 MB, free: 2.543 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.416e-05/0.006267, allocations: 11.98 kB / 291.5 MB, free: 2.531 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.131e-05/0.006298, allocations: 0 / 291.5 MB, free: 2.531 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.011e-05/0.006328, allocations: 19.86 kB / 291.5 MB, free: 2.512 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.128e-06/0.006332, allocations: 4 kB / 291.5 MB, free: 2.508 MB / 282.7 MB Notification: Performance of sorting global known variables: time 4.931e-05/0.006381, allocations: 64.62 kB / 291.6 MB, free: 2.441 MB / 282.7 MB Notification: Performance of sort global known variables: time 7e-08/0.006381, allocations: 0 / 291.6 MB, free: 2.441 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001298/0.006511, allocations: 20 kB / 291.6 MB, free: 2.422 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.001545/0.008056, allocations: 0.6279 MB / 292.2 MB, free: 2.113 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001168/0.008173, allocations: 52.77 kB / 292.3 MB, free: 2.059 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 6.021e-06/0.008179, allocations: 4 kB / 292.3 MB, free: 2.055 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 5.106e-05/0.00823, allocations: 40.78 kB / 292.3 MB, free: 2.012 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002263/0.008457, allocations: 83.39 kB / 292.4 MB, free: 1.918 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004789/0.008936, allocations: 267.6 kB / 292.7 MB, free: 1.621 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.401e-05/0.00898, allocations: 67.34 kB / 292.7 MB, free: 1.535 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 5.064e-05/0.00903, allocations: 28.56 kB / 292.8 MB, free: 1.508 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.933e-05/0.0091, allocations: 67.36 kB / 292.8 MB, free: 1.441 MB / 282.7 MB Notification: Performance of SimCode: time 6.31e-07/0.0091, allocations: 0 / 292.8 MB, free: 1.441 MB / 282.7 MB Notification: Performance of Templates: time 0.003888/0.01299, allocations: 1.683 MB / 294.5 MB, free: 15.77 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test6.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test6.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test6.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test6.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test6.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test6 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test6.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test6_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test6/Test6.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.637652519159019]