Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_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.0009606/0.0009606, allocations: 91.33 kB / 20.43 MB, free: 4.137 MB / 18.57 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.0009855/0.0009855, allocations: 169 kB / 23.8 MB, free: 0.7695 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.9589/0.9589, allocations: 158.6 MB / 185.7 MB, free: 2.52 MB / 170.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1374/0.1374, allocations: 32.37 MB / 270.4 MB, free: 14.67 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_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_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test21") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.354e-06/2.354e-06, allocations: 3.938 kB / 347.7 MB, free: 9.438 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.628e-05/3.863e-05, allocations: 2.312 kB / 347.7 MB, free: 9.434 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test21): time 0.003263/0.003301, allocations: 1.599 MB / 349.3 MB, free: 7.828 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001501/0.004803, allocations: 1.048 MB / 350.3 MB, free: 6.773 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.771e-05/0.00487, allocations: 0 / 350.3 MB, free: 6.773 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003175/0.005188, allocations: 31.78 kB / 350.4 MB, free: 6.742 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002582/0.005446, allocations: 47.66 kB / 350.4 MB, free: 6.695 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002689/0.005715, allocations: 71.78 kB / 350.5 MB, free: 6.625 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001607/0.005876, allocations: 55.83 kB / 350.5 MB, free: 6.57 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001032/0.005979, allocations: 4 kB / 350.5 MB, free: 6.566 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.721e-05/0.006046, allocations: 35.84 kB / 350.6 MB, free: 6.531 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001229/0.006169, allocations: 26.16 kB / 350.6 MB, free: 6.508 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.134e-05/0.00619, allocations: 4 kB / 350.6 MB, free: 6.504 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001195/0.00631, allocations: 51.91 kB / 350.6 MB, free: 6.453 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 5.416e-05/0.006364, allocations: 11.94 kB / 350.7 MB, free: 6.441 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 3.329e-05/0.006397, allocations: 11.98 kB / 350.7 MB, free: 6.43 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000214/0.006611, allocations: 75.73 kB / 350.7 MB, free: 6.355 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.498e-06/0.006616, allocations: 4 kB / 350.7 MB, free: 6.352 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.293e-06/0.006617, allocations: 0 / 350.7 MB, free: 6.352 MB / 282.7 MB Notification: Performance of Transformations before backend: time 6.612e-06/0.006624, allocations: 0 / 350.7 MB, free: 6.352 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.0004198/0.007043, allocations: 416.1 kB / 351.2 MB, free: 5.91 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.008e-05/0.007084, allocations: 8.031 kB / 351.2 MB, free: 5.902 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.3e-05/0.007127, allocations: 4.938 kB / 351.2 MB, free: 5.898 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001355/0.007262, allocations: 136.5 kB / 351.3 MB, free: 5.738 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.081e-05/0.007273, allocations: 384 / 351.3 MB, free: 5.738 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.676e-05/0.0073, allocations: 4.375 kB / 351.3 MB, free: 5.734 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001384/0.007438, allocations: 104 kB / 351.4 MB, free: 5.609 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.939e-06/0.007448, allocations: 192 / 351.4 MB, free: 5.609 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.099e-05/0.007459, allocations: 8.125 kB / 351.4 MB, free: 5.602 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.965e-06/0.007467, allocations: 0 / 351.4 MB, free: 5.602 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.13e-05/0.007498, allocations: 7.938 kB / 351.4 MB, free: 5.594 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000259/0.007757, allocations: 263.8 kB / 351.7 MB, free: 5.301 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001713/0.007929, allocations: 43.05 kB / 351.7 MB, free: 5.246 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.247e-05/0.007951, allocations: 15.69 kB / 351.7 MB, free: 5.227 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.368e-05/0.007975, allocations: 3.938 kB / 351.7 MB, free: 5.223 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.961e-05/0.007994, allocations: 41.33 kB / 351.8 MB, free: 5.172 MB / 282.7 MB Notification: Performance of pre-optimization done (n=3): time 1.092e-06/0.007995, allocations: 0 / 351.8 MB, free: 5.172 MB / 282.7 MB Notification: Performance of matching and sorting (n=5): time 0.0003619/0.008357, allocations: 97.55 kB / 351.9 MB, free: 5.07 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.657e-05/0.008384, allocations: 81.11 kB / 352 MB, free: 4.973 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001025/0.008486, allocations: 181.9 kB / 352.1 MB, free: 4.777 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 7.614e-06/0.008494, allocations: 29.7 kB / 352.2 MB, free: 4.742 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.373e-05/0.008528, allocations: 142.8 kB / 352.3 MB, free: 4.598 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.897e-05/0.008547, allocations: 15.84 kB / 352.3 MB, free: 4.582 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.388e-05/0.008581, allocations: 27.38 kB / 352.3 MB, free: 4.547 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 5.592e-05/0.008636, allocations: 0.4923 MB / 352.8 MB, free: 4.043 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.792e-05/0.008654, allocations: 4 kB / 352.8 MB, free: 4.039 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.303e-05/0.008687, allocations: 53.06 kB / 352.9 MB, free: 3.973 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.449e-05/0.008732, allocations: 27.88 kB / 352.9 MB, free: 3.941 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.008733, allocations: 0 / 352.9 MB, free: 3.941 MB / 282.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 9.051e-05/0.008824, allocations: 61.52 kB / 353 MB, free: 3.875 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.357e-05/0.008838, allocations: 11.94 kB / 353 MB, free: 3.863 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.829e-06/0.008842, allocations: 0 / 353 MB, free: 3.863 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.787e-05/0.00886, allocations: 0 / 353 MB, free: 3.863 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.44e-05/0.008915, allocations: 8 kB / 353 MB, free: 3.855 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.99e-06/0.00892, allocations: 4.031 kB / 353 MB, free: 3.852 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.565e-05/0.008945, allocations: 4 kB / 353 MB, free: 3.848 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.803e-06/0.008952, allocations: 7.984 kB / 353 MB, free: 3.84 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 4.969e-05/0.009002, allocations: 156.6 kB / 353.2 MB, free: 3.676 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.859e-05/0.00903, allocations: 11.89 kB / 353.2 MB, free: 3.664 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001216/0.009152, allocations: 65.75 kB / 353.2 MB, free: 3.598 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.555e-06/0.009155, allocations: 0 / 353.2 MB, free: 3.598 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.316e-06/0.009158, allocations: 0 / 353.2 MB, free: 3.598 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.187e-06/0.009162, allocations: 7.984 kB / 353.3 MB, free: 3.59 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002255/0.009388, allocations: 309.4 kB / 353.6 MB, free: 3.246 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.733e-06/0.009389, allocations: 4 kB / 353.6 MB, free: 3.242 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.491e-05/0.009434, allocations: 8 kB / 353.6 MB, free: 3.234 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.054e-06/0.009436, allocations: 0 / 353.6 MB, free: 3.234 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.323e-06/0.009444, allocations: 4.172 kB / 353.6 MB, free: 3.23 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.725e-06/0.009446, allocations: 7.938 kB / 353.6 MB, free: 3.223 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.513e-06/0.009448, allocations: 0 / 353.6 MB, free: 3.223 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.775e-05/0.009546, allocations: 211.8 kB / 353.8 MB, free: 2.996 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.126e-06/0.009554, allocations: 3.953 kB / 353.8 MB, free: 2.992 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.506e-05/0.009569, allocations: 4 kB / 353.8 MB, free: 2.988 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.956e-05/0.009628, allocations: 4 kB / 353.8 MB, free: 2.984 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.443e-05/0.009663, allocations: 7.984 kB / 353.8 MB, free: 2.977 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.909e-06/0.009668, allocations: 4 kB / 353.8 MB, free: 2.973 MB / 282.7 MB Notification: Performance of sorting global known variables: time 4.776e-05/0.009715, allocations: 145.8 kB / 354 MB, free: 2.832 MB / 282.7 MB Notification: Performance of sort global known variables: time 1e-07/0.009716, allocations: 0 / 354 MB, free: 2.832 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0002731/0.009989, allocations: 23.94 kB / 354 MB, free: 2.809 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.001197/0.01119, allocations: 427.3 kB / 354.4 MB, free: 2.48 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001176/0.0113, allocations: 35.61 kB / 354.4 MB, free: 2.441 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.374e-06/0.01131, allocations: 0 / 354.4 MB, free: 2.441 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 2.746e-05/0.01133, allocations: 23.67 kB / 354.5 MB, free: 2.414 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003101/0.01164, allocations: 27.86 kB / 354.5 MB, free: 2.387 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003522/0.01199, allocations: 150.2 kB / 354.6 MB, free: 2.211 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.142e-05/0.01203, allocations: 59.34 kB / 354.7 MB, free: 2.133 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 4.586e-05/0.01207, allocations: 15.98 kB / 354.7 MB, free: 2.117 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.717e-05/0.01211, allocations: 16.5 kB / 354.7 MB, free: 2.102 MB / 282.7 MB Notification: Performance of SimCode: time 7.21e-07/0.01211, allocations: 0 / 354.7 MB, free: 2.102 MB / 282.7 MB Notification: Performance of Templates: time 0.003949/0.01606, allocations: 1.422 MB / 356.1 MB, free: 0.6875 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test21.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test21.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test21.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test21.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test21.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test21 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test21.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test21_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/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.2730082483030856]