Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test23.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.0008262/0.0008262, allocations: 76.17 kB / 9.931 MB, free: 0.7539 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001138/0.001964, allocations: 449.7 kB / 10.37 MB, free: 324 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.0007929/0.0007929, allocations: 169.1 kB / 11.26 MB, free: 2.906 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001001/0.001794, allocations: 455.6 kB / 11.71 MB, free: 2.457 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.043/1.043, allocations: 177.2 MB / 189.6 MB, free: 5.316 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1122/1.155, allocations: 53.65 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.3123/0.3123, allocations: 32.8 MB / 276.8 MB, free: 15.86 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.03322/0.3456, 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.CombiTable1Ds.Test23,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.Test23") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test23,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.Test23") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.864e-06/1.864e-06, allocations: 0 / 290.6 MB, free: 7.648 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.266e-05/2.453e-05, allocations: 3.438 kB / 290.6 MB, free: 7.645 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test23): time 0.003289/0.003313, allocations: 1.684 MB / 292.3 MB, free: 6.285 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001893/0.005206, allocations: 1.31 MB / 293.6 MB, free: 5.238 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.08e-05/0.005286, allocations: 3.938 kB / 293.6 MB, free: 5.234 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001884/0.005475, allocations: 21.34 kB / 293.6 MB, free: 5.219 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000311/0.005786, allocations: 82.5 kB / 293.7 MB, free: 5.16 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003286/0.006114, allocations: 86.7 kB / 293.8 MB, free: 5.102 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001595/0.006274, allocations: 71.77 kB / 293.9 MB, free: 5.031 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.275e-05/0.006367, allocations: 19.91 kB / 293.9 MB, free: 5.012 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001016/0.006468, allocations: 47.91 kB / 293.9 MB, free: 4.965 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001193/0.006587, allocations: 34.28 kB / 294 MB, free: 4.934 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.55e-05/0.006603, allocations: 0 / 294 MB, free: 4.934 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002158/0.006819, allocations: 103.8 kB / 294.1 MB, free: 4.832 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 4.712e-05/0.006866, allocations: 11.94 kB / 294.1 MB, free: 4.82 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 2.415e-05/0.00689, allocations: 8 kB / 294.1 MB, free: 4.812 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002542/0.007144, allocations: 123.5 kB / 294.2 MB, free: 4.691 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.875e-05/0.007163, allocations: 0 / 294.2 MB, free: 4.691 MB / 282.7 MB Notification: Performance of FrontEnd: time 3.055e-06/0.007166, allocations: 4 kB / 294.2 MB, free: 4.688 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.529e-05/0.007181, allocations: 0 / 294.2 MB, free: 4.688 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.0004653/0.007647, allocations: 308.7 kB / 294.5 MB, free: 4.363 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.978e-05/0.007686, allocations: 12.03 kB / 294.5 MB, free: 4.352 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.806e-05/0.007725, allocations: 8.938 kB / 294.5 MB, free: 4.344 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001857/0.00791, allocations: 141.5 kB / 294.7 MB, free: 4.18 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.393e-05/0.007924, allocations: 4.375 kB / 294.7 MB, free: 4.176 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.893e-05/0.007953, allocations: 384 / 294.7 MB, free: 4.176 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001505/0.008104, allocations: 94.38 kB / 294.8 MB, free: 4.062 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.267e-06/0.008113, allocations: 192 / 294.8 MB, free: 4.062 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.094e-05/0.008124, allocations: 4.125 kB / 294.8 MB, free: 4.059 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.879e-06/0.008129, allocations: 0 / 294.8 MB, free: 4.059 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.766e-05/0.008156, allocations: 7.984 kB / 294.8 MB, free: 4.051 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002431/0.008399, allocations: 167.1 kB / 295 MB, free: 3.871 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001663/0.008566, allocations: 34.55 kB / 295 MB, free: 3.828 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.688e-05/0.008583, allocations: 8.859 kB / 295 MB, free: 3.816 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.885e-05/0.008601, allocations: 0 / 295 MB, free: 3.816 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.5e-05/0.008626, allocations: 30.56 kB / 295 MB, free: 3.777 MB / 282.7 MB Notification: Performance of pre-optimization done (n=3): time 1.222e-06/0.008628, allocations: 4 kB / 295 MB, free: 3.773 MB / 282.7 MB Notification: Performance of matching and sorting (n=5): time 0.0003225/0.00895, allocations: 81.62 kB / 295.1 MB, free: 3.688 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.043e-05/0.008981, allocations: 51.41 kB / 295.2 MB, free: 3.625 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001074/0.009088, allocations: 142 kB / 295.3 MB, free: 3.473 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.2e-05/0.0091, allocations: 29.64 kB / 295.3 MB, free: 3.438 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.709e-05/0.009137, allocations: 96.06 kB / 295.4 MB, free: 3.34 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.344e-05/0.009161, allocations: 23.84 kB / 295.4 MB, free: 3.316 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.998e-05/0.009191, allocations: 17.7 kB / 295.5 MB, free: 3.293 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 8.053e-05/0.009271, allocations: 318.8 kB / 295.8 MB, free: 2.973 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.2e-05/0.009283, allocations: 4 kB / 295.8 MB, free: 2.969 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.58e-05/0.009319, allocations: 51.45 kB / 295.8 MB, free: 2.906 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.222e-05/0.009351, allocations: 20.84 kB / 295.8 MB, free: 2.883 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.42e-07/0.009352, allocations: 4 kB / 295.8 MB, free: 2.879 MB / 282.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 6.454e-05/0.009417, allocations: 45.91 kB / 295.9 MB, free: 2.828 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.282e-05/0.009429, allocations: 4 kB / 295.9 MB, free: 2.824 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.541e-06/0.009435, allocations: 7.938 kB / 295.9 MB, free: 2.816 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.286e-06/0.009443, allocations: 4.031 kB / 295.9 MB, free: 2.812 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.049e-05/0.009504, allocations: 11.98 kB / 295.9 MB, free: 2.801 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.717e-06/0.009507, allocations: 0 / 295.9 MB, free: 2.801 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.615e-05/0.009534, allocations: 7.984 kB / 295.9 MB, free: 2.793 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.33e-06/0.009539, allocations: 0 / 295.9 MB, free: 2.793 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 7.213e-05/0.009611, allocations: 116.7 kB / 296 MB, free: 2.668 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.908e-05/0.00963, allocations: 15.86 kB / 296.1 MB, free: 2.652 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001028/0.009733, allocations: 50.16 kB / 296.1 MB, free: 2.598 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.625e-06/0.009736, allocations: 0 / 296.1 MB, free: 2.598 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.235e-06/0.009738, allocations: 3.984 kB / 296.1 MB, free: 2.594 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.076e-06/0.009741, allocations: 4 kB / 296.1 MB, free: 2.59 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002287/0.00997, allocations: 214.8 kB / 296.3 MB, free: 2.355 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.676e-06/0.009973, allocations: 3.938 kB / 296.3 MB, free: 2.352 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.196e-05/0.01002, allocations: 8.312 kB / 296.3 MB, free: 2.344 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.252e-05/0.01003, allocations: 15.92 kB / 296.4 MB, free: 2.328 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.934e-06/0.01003, allocations: 0 / 296.4 MB, free: 2.328 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.852e-06/0.01004, allocations: 4 kB / 296.4 MB, free: 2.324 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.503e-06/0.01004, allocations: 0 / 296.4 MB, free: 2.324 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.513e-06/0.01004, allocations: 0 / 296.4 MB, free: 2.324 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.776e-05/0.01013, allocations: 147.4 kB / 296.5 MB, free: 2.164 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.143e-05/0.01014, allocations: 8 kB / 296.5 MB, free: 2.156 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.278e-05/0.01017, allocations: 3.984 kB / 296.5 MB, free: 2.152 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.278e-05/0.01019, allocations: 4 kB / 296.5 MB, free: 2.148 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.597e-06/0.0102, allocations: 0 / 296.5 MB, free: 2.148 MB / 282.7 MB Notification: Performance of sorting global known variables: time 3.949e-05/0.01024, allocations: 37.38 kB / 296.6 MB, free: 2.109 MB / 282.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01024, allocations: 0 / 296.6 MB, free: 2.109 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001783/0.01042, allocations: 39.86 kB / 296.6 MB, free: 2.07 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.001447/0.01186, allocations: 0.6896 MB / 297.3 MB, free: 1.754 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 8.058e-05/0.01194, allocations: 28.78 kB / 297.3 MB, free: 1.723 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 8.366e-06/0.01195, allocations: 7.984 kB / 297.3 MB, free: 1.715 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 1.658e-05/0.01197, allocations: 12.86 kB / 297.3 MB, free: 1.699 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001672/0.01214, allocations: 35.12 kB / 297.4 MB, free: 1.668 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003989/0.01253, allocations: 166.5 kB / 297.5 MB, free: 1.477 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.521e-05/0.01257, allocations: 63.34 kB / 297.6 MB, free: 1.395 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 4.304e-05/0.01261, allocations: 11.84 kB / 297.6 MB, free: 1.383 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.368e-05/0.01268, allocations: 75.3 kB / 297.7 MB, free: 1.309 MB / 282.7 MB Notification: Performance of SimCode: time 1.142e-06/0.01268, allocations: 0 / 297.7 MB, free: 1.309 MB / 282.7 MB Notification: Performance of Templates: time 0.003658/0.01634, allocations: 2.013 MB / 299.7 MB, free: 15.31 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test23.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test23.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test23.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test23.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test23.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test23 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test23.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test23_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test23/Test23.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.0390535946935415]