Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test19.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.0009674/0.0009674, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001231/0.002199, 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.0007746/0.0007746, allocations: 169.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001055/0.001829, 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.029/1.029, allocations: 177.2 MB / 189.6 MB, free: 5.32 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1014/1.131, allocations: 53.66 MB / 243.3 MB, free: 15.59 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.3073/0.3073, allocations: 32.8 MB / 276.8 MB, free: 15.87 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02929/0.3366, allocations: 12.54 MB / 289.3 MB, free: 8.68 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.CombiTable1Ds.Test19,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test19") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test19,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test19") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.553e-06/1.553e-06, allocations: 0 / 290.6 MB, free: 7.648 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.305e-05/1.461e-05, allocations: 4.203 kB / 290.6 MB, free: 7.645 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test19): time 0.002174/0.002189, allocations: 1.68 MB / 292.3 MB, free: 6.289 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001615/0.003803, allocations: 1.301 MB / 293.6 MB, free: 5.25 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.482e-05/0.003868, allocations: 2 kB / 293.6 MB, free: 5.25 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001527/0.004021, allocations: 23.8 kB / 293.6 MB, free: 5.23 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000257/0.004278, allocations: 93.02 kB / 293.7 MB, free: 5.164 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00024/0.004518, allocations: 86.34 kB / 293.8 MB, free: 5.105 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001403/0.004658, allocations: 67.3 kB / 293.9 MB, free: 5.043 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.436e-05/0.004752, allocations: 23.89 kB / 293.9 MB, free: 5.02 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.5e-05/0.004847, allocations: 47.91 kB / 293.9 MB, free: 4.973 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001164/0.004964, allocations: 26.02 kB / 294 MB, free: 4.949 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.526e-05/0.004979, allocations: 4 kB / 294 MB, free: 4.945 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001841/0.005163, allocations: 99.81 kB / 294.1 MB, free: 4.848 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 3.622e-05/0.005199, allocations: 11.94 kB / 294.1 MB, free: 4.836 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 2.166e-05/0.005221, allocations: 12 kB / 294.1 MB, free: 4.824 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001937/0.005415, allocations: 127.5 kB / 294.2 MB, free: 4.699 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.543e-05/0.00543, allocations: 0 / 294.2 MB, free: 4.699 MB / 282.7 MB Notification: Performance of FrontEnd: time 8.32e-07/0.005431, allocations: 0 / 294.2 MB, free: 4.699 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.377e-05/0.005445, allocations: 0 / 294.2 MB, free: 4.699 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.0004548/0.0059, allocations: 312.7 kB / 294.5 MB, free: 4.371 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.736e-05/0.005937, allocations: 8.031 kB / 294.5 MB, free: 4.363 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.822e-05/0.005975, allocations: 8.922 kB / 294.5 MB, free: 4.355 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001628/0.006138, allocations: 137.5 kB / 294.7 MB, free: 4.195 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.348e-06/0.006147, allocations: 4.375 kB / 294.7 MB, free: 4.191 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.869e-05/0.006166, allocations: 384 / 294.7 MB, free: 4.191 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001294/0.006295, allocations: 102.3 kB / 294.8 MB, free: 4.07 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.306e-06/0.006304, allocations: 192 / 294.8 MB, free: 4.07 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.508e-06/0.006313, allocations: 8.125 kB / 294.8 MB, free: 4.062 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.498e-06/0.006318, allocations: 0 / 294.8 MB, free: 4.062 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.487e-05/0.006343, allocations: 7.984 kB / 294.8 MB, free: 4.055 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002246/0.006567, allocations: 163.1 kB / 295 MB, free: 3.879 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001439/0.006711, allocations: 34.55 kB / 295 MB, free: 3.836 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.52e-05/0.006726, allocations: 8.859 kB / 295 MB, free: 3.824 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.884e-05/0.006745, allocations: 0 / 295 MB, free: 3.824 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.135e-05/0.006767, allocations: 30.56 kB / 295 MB, free: 3.785 MB / 282.7 MB Notification: Performance of pre-optimization done (n=3): time 1.122e-06/0.006768, allocations: 4 kB / 295 MB, free: 3.781 MB / 282.7 MB Notification: Performance of matching and sorting (n=5): time 0.000289/0.007057, allocations: 81.62 kB / 295.1 MB, free: 3.695 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.221e-05/0.007089, allocations: 51.41 kB / 295.2 MB, free: 3.633 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001108/0.0072, allocations: 150 kB / 295.3 MB, free: 3.473 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.283e-05/0.007213, allocations: 25.7 kB / 295.3 MB, free: 3.441 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.573e-05/0.007248, allocations: 92.08 kB / 295.4 MB, free: 3.348 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.109e-05/0.007269, allocations: 15.84 kB / 295.4 MB, free: 3.332 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.969e-05/0.007299, allocations: 21.7 kB / 295.5 MB, free: 3.305 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 9.374e-05/0.007393, allocations: 318.8 kB / 295.8 MB, free: 2.984 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.016e-05/0.007403, allocations: 7.922 kB / 295.8 MB, free: 2.977 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.522e-05/0.007438, allocations: 51.48 kB / 295.8 MB, free: 2.914 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.88e-05/0.007467, allocations: 20.83 kB / 295.8 MB, free: 2.891 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.142e-06/0.007468, allocations: 0 / 295.8 MB, free: 2.891 MB / 282.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 6.35e-05/0.007532, allocations: 53.62 kB / 295.9 MB, free: 2.832 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.404e-05/0.007546, allocations: 4 kB / 295.9 MB, free: 2.828 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.019e-06/0.007551, allocations: 0 / 295.9 MB, free: 2.828 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.318e-06/0.00756, allocations: 4 kB / 295.9 MB, free: 2.824 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.986e-05/0.00761, allocations: 15.92 kB / 295.9 MB, free: 2.809 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.049e-06/0.007615, allocations: 0 / 295.9 MB, free: 2.809 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.997e-05/0.007635, allocations: 4 kB / 295.9 MB, free: 2.805 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.788e-06/0.007639, allocations: 4.031 kB / 295.9 MB, free: 2.801 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 6.527e-05/0.007704, allocations: 112.7 kB / 296 MB, free: 2.68 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.999e-05/0.007724, allocations: 15.86 kB / 296.1 MB, free: 2.664 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.775e-05/0.007822, allocations: 58.14 kB / 296.1 MB, free: 2.602 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.515e-06/0.007824, allocations: 0 / 296.1 MB, free: 2.602 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.094e-06/0.007826, allocations: 0 / 296.1 MB, free: 2.602 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.847e-06/0.00783, allocations: 0 / 296.1 MB, free: 2.602 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002096/0.00804, allocations: 210.8 kB / 296.3 MB, free: 2.371 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.967e-06/0.008044, allocations: 3.938 kB / 296.3 MB, free: 2.367 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.172e-05/0.008076, allocations: 12.31 kB / 296.3 MB, free: 2.355 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.879e-06/0.008085, allocations: 11.94 kB / 296.3 MB, free: 2.344 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.943e-06/0.008087, allocations: 4 kB / 296.3 MB, free: 2.34 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.232e-06/0.008094, allocations: 4 kB / 296.4 MB, free: 2.336 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.31e-07/0.008095, allocations: 0 / 296.4 MB, free: 2.336 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.462e-06/0.008096, allocations: 0 / 296.4 MB, free: 2.336 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.525e-05/0.008181, allocations: 151.4 kB / 296.5 MB, free: 2.172 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.236e-05/0.008194, allocations: 0 / 296.5 MB, free: 2.172 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.191e-05/0.008226, allocations: 7.984 kB / 296.5 MB, free: 2.164 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.513e-05/0.008251, allocations: 0 / 296.5 MB, free: 2.164 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.656e-06/0.008254, allocations: 4 kB / 296.5 MB, free: 2.16 MB / 282.7 MB Notification: Performance of sorting global known variables: time 3.361e-05/0.008288, allocations: 29.39 kB / 296.5 MB, free: 2.129 MB / 282.7 MB Notification: Performance of sort global known variables: time 5e-08/0.008288, allocations: 4 kB / 296.5 MB, free: 2.125 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.000171/0.008459, allocations: 43.86 kB / 296.6 MB, free: 2.082 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.001479/0.009938, allocations: 0.6867 MB / 297.3 MB, free: 1.766 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 8.9e-05/0.01003, allocations: 36.78 kB / 297.3 MB, free: 1.727 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 5.33e-06/0.01003, allocations: 0 / 297.3 MB, free: 1.727 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 1.79e-05/0.01005, allocations: 12.86 kB / 297.3 MB, free: 1.711 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000173/0.01022, allocations: 39.11 kB / 297.4 MB, free: 1.676 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004089/0.01063, allocations: 166.5 kB / 297.5 MB, free: 1.484 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.962e-05/0.01067, allocations: 59.34 kB / 297.6 MB, free: 1.406 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 3.908e-05/0.01071, allocations: 15.84 kB / 297.6 MB, free: 1.391 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.301e-05/0.01077, allocations: 67.36 kB / 297.7 MB, free: 1.324 MB / 282.7 MB Notification: Performance of SimCode: time 6.51e-07/0.01077, allocations: 0 / 297.7 MB, free: 1.324 MB / 282.7 MB Notification: Performance of Templates: time 0.003669/0.01444, allocations: 2.022 MB / 299.7 MB, free: 15.32 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test19.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test19.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test19.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test19.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test19.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test19 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test19.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test19_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test19/Test19.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.0496048387140036]