Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test21.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.001096/0.001096, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001188/0.002284, 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.00077/0.00077, allocations: 169.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009921/0.001762, 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.055/1.055, allocations: 177.2 MB / 189.6 MB, free: 5.324 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1212/1.176, allocations: 53.65 MB / 243.3 MB, free: 15.6 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.3098/0.3098, allocations: 32.79 MB / 276.8 MB, free: 15.87 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02619/0.336, allocations: 12.53 MB / 289.3 MB, free: 8.688 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.Test21,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.Test21") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test21,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.Test21") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.753e-06/1.753e-06, allocations: 0 / 290.6 MB, free: 7.652 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.235e-05/2.411e-05, allocations: 4.734 kB / 290.6 MB, free: 7.648 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test21): time 0.005833/0.005857, allocations: 1.679 MB / 292.3 MB, free: 6.293 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001677/0.007535, allocations: 1.301 MB / 293.6 MB, free: 5.254 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.106e-05/0.007606, allocations: 2.938 kB / 293.6 MB, free: 5.254 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001536/0.007759, allocations: 23.12 kB / 293.6 MB, free: 5.234 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002592/0.008019, allocations: 87.67 kB / 293.7 MB, free: 5.172 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002549/0.008273, allocations: 91.72 kB / 293.8 MB, free: 5.109 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001704/0.008444, allocations: 70.8 kB / 293.9 MB, free: 5.043 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003117/0.01156, allocations: 15.97 kB / 293.9 MB, free: 5.027 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000135/0.0117, allocations: 51.89 kB / 293.9 MB, free: 4.977 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000148/0.01184, allocations: 19.92 kB / 294 MB, free: 4.957 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.879e-05/0.01186, allocations: 4 kB / 294 MB, free: 4.953 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002279/0.01209, allocations: 103.8 kB / 294.1 MB, free: 4.852 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 4.504e-05/0.01214, allocations: 7.938 kB / 294.1 MB, free: 4.844 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 2.613e-05/0.01216, allocations: 11.94 kB / 294.1 MB, free: 4.832 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002307/0.01239, allocations: 131.6 kB / 294.2 MB, free: 4.703 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.786e-05/0.01241, allocations: 0 / 294.2 MB, free: 4.703 MB / 282.7 MB Notification: Performance of FrontEnd: time 9.12e-07/0.01241, allocations: 0 / 294.2 MB, free: 4.703 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.783e-05/0.01243, allocations: 0 / 294.2 MB, free: 4.703 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.0004767/0.01291, allocations: 312.6 kB / 294.5 MB, free: 4.375 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.463e-05/0.01294, allocations: 8.031 kB / 294.5 MB, free: 4.367 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.902e-05/0.01298, allocations: 12.92 kB / 294.5 MB, free: 4.355 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001621/0.01314, allocations: 133.6 kB / 294.7 MB, free: 4.199 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.17e-05/0.01315, allocations: 4.375 kB / 294.7 MB, free: 4.195 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.933e-05/0.01317, allocations: 4.375 kB / 294.7 MB, free: 4.191 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000134/0.01331, allocations: 90.38 kB / 294.8 MB, free: 4.082 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.618e-06/0.01332, allocations: 192 / 294.8 MB, free: 4.082 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.947e-06/0.01332, allocations: 8.125 kB / 294.8 MB, free: 4.074 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.789e-06/0.01333, allocations: 0 / 294.8 MB, free: 4.074 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.974e-05/0.01336, allocations: 11.98 kB / 294.8 MB, free: 4.062 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002391/0.0136, allocations: 163.1 kB / 294.9 MB, free: 3.887 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001564/0.01375, allocations: 30.56 kB / 295 MB, free: 3.848 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.835e-05/0.01377, allocations: 8.859 kB / 295 MB, free: 3.836 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.691e-05/0.01379, allocations: 0 / 295 MB, free: 3.836 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.439e-05/0.01381, allocations: 30.66 kB / 295 MB, free: 3.797 MB / 282.7 MB Notification: Performance of pre-optimization done (n=3): time 1.042e-06/0.01382, allocations: 4 kB / 295 MB, free: 3.793 MB / 282.7 MB Notification: Performance of matching and sorting (n=5): time 0.000291/0.01411, allocations: 85.53 kB / 295.1 MB, free: 3.703 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.381e-05/0.01414, allocations: 55.39 kB / 295.2 MB, free: 3.637 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001151/0.01426, allocations: 142 kB / 295.3 MB, free: 3.484 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.099e-05/0.01427, allocations: 25.7 kB / 295.3 MB, free: 3.453 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.846e-05/0.0143, allocations: 92.08 kB / 295.4 MB, free: 3.359 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.241e-05/0.01433, allocations: 23.83 kB / 295.4 MB, free: 3.336 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.413e-05/0.01436, allocations: 21.64 kB / 295.5 MB, free: 3.309 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.003092/0.01745, allocations: 318.8 kB / 295.8 MB, free: 2.988 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.748e-05/0.01747, allocations: 3.984 kB / 295.8 MB, free: 2.984 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.243e-05/0.01751, allocations: 55.48 kB / 295.8 MB, free: 2.918 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.544e-05/0.01755, allocations: 16.84 kB / 295.8 MB, free: 2.898 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.072e-06/0.01755, allocations: 3.938 kB / 295.8 MB, free: 2.895 MB / 282.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 7.664e-05/0.01763, allocations: 49.62 kB / 295.9 MB, free: 2.84 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.407e-05/0.01764, allocations: 4 kB / 295.9 MB, free: 2.836 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.84e-06/0.01765, allocations: 0 / 295.9 MB, free: 2.836 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.385e-06/0.01765, allocations: 0 / 295.9 MB, free: 2.836 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.117e-05/0.01771, allocations: 19.92 kB / 295.9 MB, free: 2.816 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.845e-06/0.01772, allocations: 0 / 295.9 MB, free: 2.816 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.538e-05/0.01774, allocations: 4 kB / 295.9 MB, free: 2.812 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.302e-06/0.01775, allocations: 4 kB / 295.9 MB, free: 2.809 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.117e-05/0.01781, allocations: 112.7 kB / 296 MB, free: 2.688 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.522e-05/0.01784, allocations: 12.2 kB / 296 MB, free: 2.676 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001039/0.01794, allocations: 62.14 kB / 296.1 MB, free: 2.609 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.206e-06/0.01794, allocations: 3.984 kB / 296.1 MB, free: 2.605 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.322e-06/0.01794, allocations: 0 / 296.1 MB, free: 2.605 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.786e-06/0.01795, allocations: 0 / 296.1 MB, free: 2.605 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002214/0.01817, allocations: 210.8 kB / 296.3 MB, free: 2.375 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.735e-06/0.01817, allocations: 3.938 kB / 296.3 MB, free: 2.371 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.731e-05/0.01821, allocations: 12.31 kB / 296.3 MB, free: 2.359 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.798e-06/0.01822, allocations: 7.938 kB / 296.3 MB, free: 2.352 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.807e-06/0.01822, allocations: 8 kB / 296.3 MB, free: 2.344 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.67e-06/0.01823, allocations: 4 kB / 296.4 MB, free: 2.34 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.42e-07/0.01823, allocations: 0 / 296.4 MB, free: 2.34 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.703e-06/0.01823, allocations: 0 / 296.4 MB, free: 2.34 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.193e-05/0.01832, allocations: 147.4 kB / 296.5 MB, free: 2.18 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.345e-05/0.01834, allocations: 3.984 kB / 296.5 MB, free: 2.176 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.923e-05/0.01838, allocations: 4 kB / 296.5 MB, free: 2.172 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.233e-05/0.01841, allocations: 0 / 296.5 MB, free: 2.172 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.032e-06/0.01841, allocations: 8 kB / 296.5 MB, free: 2.164 MB / 282.7 MB Notification: Performance of sorting global known variables: time 3.964e-05/0.01845, allocations: 37.52 kB / 296.5 MB, free: 2.125 MB / 282.7 MB Notification: Performance of sort global known variables: time 8e-08/0.01845, allocations: 4 kB / 296.6 MB, free: 2.121 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0002311/0.01868, allocations: 35.88 kB / 296.6 MB, free: 2.086 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.004898/0.02358, allocations: 0.6863 MB / 297.3 MB, free: 1.77 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 9.395e-05/0.02368, allocations: 32.78 kB / 297.3 MB, free: 1.734 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 7.744e-06/0.02368, allocations: 4 kB / 297.3 MB, free: 1.73 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 1.988e-05/0.0237, allocations: 12.86 kB / 297.3 MB, free: 1.715 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002056/0.02391, allocations: 31.86 kB / 297.4 MB, free: 1.684 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004607/0.02437, allocations: 170.5 kB / 297.5 MB, free: 1.488 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.89e-05/0.02441, allocations: 59.34 kB / 297.6 MB, free: 1.41 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 4.797e-05/0.02446, allocations: 15.84 kB / 297.6 MB, free: 1.395 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.976e-05/0.02453, allocations: 63.36 kB / 297.7 MB, free: 1.332 MB / 282.7 MB Notification: Performance of SimCode: time 7.51e-07/0.02453, allocations: 0 / 297.7 MB, free: 1.332 MB / 282.7 MB Notification: Performance of Templates: time 0.007137/0.03166, allocations: 2.024 MB / 299.7 MB, free: 15.33 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test21.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test21.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test21.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test21.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test21.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test21 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test21.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test21_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test21/Test21.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.222854326479137]