Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test18.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.0009597/0.0009597, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001276/0.002236, 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.0008984/0.0008984, allocations: 169.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.003833/0.004731, 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 0.9337/0.9337, allocations: 177.2 MB / 189.6 MB, free: 5.309 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09404/1.028, allocations: 53.64 MB / 243.3 MB, free: 15.58 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2528/0.2528, allocations: 34.26 MB / 278.2 MB, free: 15.29 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02897/0.2818, allocations: 13.1 MB / 291.3 MB, free: 7.375 MB / 282.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.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.Test18,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y|d_t_new2.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test18") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test18,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y|d_t_new2.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test18") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.011e-06/1.011e-06, allocations: 0 / 292.6 MB, free: 6.289 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.453e-05/1.554e-05, allocations: 3.438 kB / 292.6 MB, free: 6.285 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test18): time 0.001872/0.001887, allocations: 1.691 MB / 294.3 MB, free: 4.586 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001358/0.003245, allocations: 1.305 MB / 295.6 MB, free: 3.273 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.281e-05/0.003288, allocations: 4 kB / 295.6 MB, free: 3.27 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001053/0.003393, allocations: 31.77 kB / 295.7 MB, free: 3.238 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001825/0.003576, allocations: 83.48 kB / 295.8 MB, free: 3.156 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001816/0.003757, allocations: 87.66 kB / 295.8 MB, free: 3.07 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001472/0.003904, allocations: 75.81 kB / 295.9 MB, free: 2.996 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.036e-05/0.003975, allocations: 23.98 kB / 295.9 MB, free: 2.973 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.221e-05/0.004057, allocations: 63.77 kB / 296 MB, free: 2.91 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.989e-05/0.004137, allocations: 31.89 kB / 296 MB, free: 2.879 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.235e-05/0.004149, allocations: 4 kB / 296 MB, free: 2.875 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001454/0.004295, allocations: 95.83 kB / 296.1 MB, free: 2.781 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 2.865e-05/0.004323, allocations: 11.94 kB / 296.1 MB, free: 2.77 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 2.03e-05/0.004344, allocations: 11.94 kB / 296.2 MB, free: 2.758 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001623/0.004506, allocations: 127.6 kB / 296.3 MB, free: 2.633 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.046e-05/0.004516, allocations: 0 / 296.3 MB, free: 2.633 MB / 282.7 MB Notification: Performance of FrontEnd: time 6.52e-07/0.004517, allocations: 0 / 296.3 MB, free: 2.633 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.244e-05/0.004529, allocations: 0 / 296.3 MB, free: 2.633 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0003837/0.004913, allocations: 337.1 kB / 296.6 MB, free: 2.281 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.786e-05/0.004941, allocations: 8.031 kB / 296.6 MB, free: 2.273 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.981e-05/0.004971, allocations: 8.922 kB / 296.6 MB, free: 2.266 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001229/0.005094, allocations: 133.7 kB / 296.8 MB, free: 2.109 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.047e-06/0.005103, allocations: 8.359 kB / 296.8 MB, free: 2.102 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.568e-05/0.005118, allocations: 8.312 kB / 296.8 MB, free: 2.094 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001045/0.005223, allocations: 98.36 kB / 296.9 MB, free: 1.977 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.005e-06/0.005231, allocations: 192 / 296.9 MB, free: 1.977 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.844e-06/0.005239, allocations: 8.125 kB / 296.9 MB, free: 1.969 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.767e-06/0.005243, allocations: 0 / 296.9 MB, free: 1.969 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.721e-05/0.00527, allocations: 15.98 kB / 296.9 MB, free: 1.953 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001819/0.005452, allocations: 175 kB / 297.1 MB, free: 1.766 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.922e-05/0.005501, allocations: 38.62 kB / 297.1 MB, free: 1.719 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.351e-05/0.005514, allocations: 8.859 kB / 297.1 MB, free: 1.707 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.787e-05/0.005532, allocations: 4 kB / 297.1 MB, free: 1.703 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.085e-05/0.005553, allocations: 38.48 kB / 297.2 MB, free: 1.656 MB / 282.7 MB Notification: Performance of pre-optimization done (n=5): time 1.172e-06/0.005554, allocations: 0 / 297.2 MB, free: 1.656 MB / 282.7 MB Notification: Performance of matching and sorting (n=8): time 0.0002583/0.005813, allocations: 105.7 kB / 297.3 MB, free: 1.547 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.869e-05/0.005841, allocations: 55.41 kB / 297.3 MB, free: 1.48 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.202e-05/0.005933, allocations: 146 kB / 297.5 MB, free: 1.324 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.262e-05/0.005946, allocations: 33.7 kB / 297.5 MB, free: 1.285 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.387e-05/0.00598, allocations: 96.02 kB / 297.6 MB, free: 1.188 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.054e-05/0.006, allocations: 31.72 kB / 297.6 MB, free: 1.156 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.584e-05/0.006026, allocations: 25.66 kB / 297.6 MB, free: 1.125 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 6.976e-05/0.006096, allocations: 318.8 kB / 297.9 MB, free: 0.8047 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.143e-05/0.006107, allocations: 8 kB / 298 MB, free: 0.7969 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.017e-05/0.006137, allocations: 55.33 kB / 298 MB, free: 0.7305 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.013e-05/0.006168, allocations: 28.84 kB / 298 MB, free: 0.6992 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.32e-07/0.006169, allocations: 0 / 298 MB, free: 0.6992 MB / 282.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 5.384e-05/0.006222, allocations: 57.61 kB / 298.1 MB, free: 0.6367 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.065e-05/0.006233, allocations: 9.75 kB / 298.1 MB, free: 0.6289 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.487e-06/0.006237, allocations: 0 / 298.1 MB, free: 0.6289 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.753e-06/0.006243, allocations: 4 kB / 298.1 MB, free: 0.625 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.266e-05/0.006306, allocations: 19.92 kB / 298.1 MB, free: 0.6055 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.105e-06/0.006309, allocations: 0 / 298.1 MB, free: 0.6055 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.847e-05/0.006327, allocations: 4 kB / 298.1 MB, free: 0.6016 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.228e-06/0.006332, allocations: 0 / 298.1 MB, free: 0.6016 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 (8): * Single equations (assignments): 8 * 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 5.216e-05/0.006384, allocations: 120.7 kB / 298.2 MB, free: 484 kB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.776e-05/0.006402, allocations: 11.92 kB / 298.3 MB, free: 472 kB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.706e-05/0.006489, allocations: 66.77 kB / 298.3 MB, free: 400 kB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.254e-06/0.006491, allocations: 11.94 kB / 298.3 MB, free: 388 kB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.323e-06/0.006492, allocations: 0 / 298.3 MB, free: 388 kB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.875e-06/0.006495, allocations: 0 / 298.3 MB, free: 388 kB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001951/0.00669, allocations: 234.8 kB / 298.6 MB, free: 128 kB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.82e-07/0.006691, allocations: 0 / 298.6 MB, free: 128 kB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.779e-05/0.006729, allocations: 19.92 kB / 298.6 MB, free: 108 kB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.476e-06/0.006738, allocations: 11.94 kB / 298.6 MB, free: 96 kB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.363e-06/0.006739, allocations: 0 / 298.6 MB, free: 96 kB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.69e-06/0.006745, allocations: 4 kB / 298.6 MB, free: 92 kB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.21e-07/0.006745, allocations: 0 / 298.6 MB, free: 92 kB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.006746, allocations: 4 kB / 298.6 MB, free: 88 kB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.879e-05/0.006835, allocations: 159.5 kB / 298.8 MB, free: 15.91 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.011e-05/0.006845, allocations: 384 / 298.8 MB, free: 15.91 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.212e-05/0.006877, allocations: 4 kB / 298.8 MB, free: 15.91 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.097e-05/0.006898, allocations: 3.984 kB / 298.8 MB, free: 15.91 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.25e-06/0.006904, allocations: 8 kB / 298.8 MB, free: 15.9 MB / 298.7 MB Notification: Performance of sorting global known variables: time 3.197e-05/0.006936, allocations: 35.66 kB / 298.8 MB, free: 15.86 MB / 298.7 MB Notification: Performance of sort global known variables: time 5.1e-08/0.006936, allocations: 0 / 298.8 MB, free: 15.86 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001493/0.007085, allocations: 43.8 kB / 298.9 MB, free: 15.82 MB / 298.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 (8): * Single equations (assignments): 8 * 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.001385/0.00847, allocations: 0.6914 MB / 299.5 MB, free: 15.49 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 7.786e-05/0.008548, allocations: 32.83 kB / 299.6 MB, free: 15.45 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 5.129e-06/0.008553, allocations: 4 kB / 299.6 MB, free: 15.45 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 2.079e-05/0.008574, allocations: 24.78 kB / 299.6 MB, free: 15.42 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001534/0.008727, allocations: 39.12 kB / 299.6 MB, free: 15.39 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003562/0.009083, allocations: 182.9 kB / 299.8 MB, free: 15.18 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.521e-05/0.009119, allocations: 63.34 kB / 299.9 MB, free: 15.1 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 4.062e-05/0.009159, allocations: 21.02 kB / 299.9 MB, free: 15.07 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.784e-05/0.009217, allocations: 67.36 kB / 300 MB, free: 15.01 MB / 298.7 MB Notification: Performance of SimCode: time 6.01e-07/0.009218, allocations: 0 / 300 MB, free: 15.01 MB / 298.7 MB Notification: Performance of Templates: time 0.003275/0.01249, allocations: 2.115 MB / 302.1 MB, free: 12.91 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test18.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test18.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test18.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test18.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test18.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test18 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test18.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test18_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Ds/Test18/Test18.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: 2.848723905161023]