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.001038/0.001038, allocations: 81.08 kB / 20.65 MB, free: 3.84 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.001227/0.001227, allocations: 173 kB / 24.05 MB, free: 456 kB / 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 1.05/1.05, allocations: 158.6 MB / 185.9 MB, free: 2.797 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.1703/0.1703, allocations: 32.38 MB / 270.7 MB, free: 14.53 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 1.914e-06/1.914e-06, allocations: 0 / 348.1 MB, free: 9.164 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.91e-05/2.101e-05, allocations: 6.25 kB / 348.1 MB, free: 9.156 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test21): time 0.001933/0.001954, allocations: 1.587 MB / 349.7 MB, free: 7.566 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008413/0.002795, allocations: 1.06 MB / 350.8 MB, free: 6.5 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.59e-05/0.002851, allocations: 0 / 350.8 MB, free: 6.5 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002243/0.003075, allocations: 31.73 kB / 350.8 MB, free: 6.469 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002119/0.003287, allocations: 39.78 kB / 350.9 MB, free: 6.43 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001656/0.003453, allocations: 71.78 kB / 350.9 MB, free: 6.359 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001173/0.00357, allocations: 63.77 kB / 351 MB, free: 6.297 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.644e-05/0.003666, allocations: 7.984 kB / 351 MB, free: 6.289 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.573e-05/0.003722, allocations: 27.92 kB / 351 MB, free: 6.262 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.378e-05/0.003806, allocations: 23.91 kB / 351 MB, free: 6.238 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.488e-05/0.003821, allocations: 0 / 351 MB, free: 6.238 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.203e-05/0.003903, allocations: 47.92 kB / 351.1 MB, free: 6.191 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 3.818e-05/0.003941, allocations: 15.91 kB / 351.1 MB, free: 6.176 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 2.054e-05/0.003961, allocations: 11.94 kB / 351.1 MB, free: 6.164 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001415/0.004103, allocations: 83.67 kB / 351.2 MB, free: 6.082 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.884e-06/0.004105, allocations: 0 / 351.2 MB, free: 6.082 MB / 282.7 MB Notification: Performance of FrontEnd: time 3.5e-07/0.004105, allocations: 4 kB / 351.2 MB, free: 6.078 MB / 282.7 MB Notification: Performance of Transformations before backend: time 3.887e-06/0.004109, allocations: 0 / 351.2 MB, free: 6.078 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.0003123/0.004421, allocations: 408.2 kB / 351.6 MB, free: 5.645 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.677e-05/0.004458, allocations: 12.03 kB / 351.6 MB, free: 5.633 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.054e-05/0.004489, allocations: 4.938 kB / 351.6 MB, free: 5.629 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.349e-05/0.004582, allocations: 140.1 kB / 351.8 MB, free: 5.469 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.915e-06/0.00459, allocations: 384 / 351.8 MB, free: 5.469 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.943e-05/0.004609, allocations: 8.375 kB / 351.8 MB, free: 5.461 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.578e-05/0.004705, allocations: 95.97 kB / 351.9 MB, free: 5.344 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.085e-06/0.004713, allocations: 192 / 351.9 MB, free: 5.344 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.803e-06/0.00472, allocations: 12.11 kB / 351.9 MB, free: 5.332 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.221e-06/0.004726, allocations: 4 kB / 351.9 MB, free: 5.328 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.838e-05/0.004745, allocations: 12 kB / 351.9 MB, free: 5.316 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001824/0.004927, allocations: 240.5 kB / 352.1 MB, free: 5.055 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001191/0.005046, allocations: 46.97 kB / 352.2 MB, free: 4.996 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.31e-05/0.005059, allocations: 15.67 kB / 352.2 MB, free: 4.977 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.88e-05/0.005078, allocations: 0 / 352.2 MB, free: 4.977 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.562e-05/0.005094, allocations: 37.33 kB / 352.2 MB, free: 4.93 MB / 282.7 MB Notification: Performance of pre-optimization done (n=3): time 7.21e-07/0.005094, allocations: 0 / 352.2 MB, free: 4.93 MB / 282.7 MB Notification: Performance of matching and sorting (n=5): time 0.0002625/0.005357, allocations: 85.66 kB / 352.3 MB, free: 4.84 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.444e-05/0.005381, allocations: 89.03 kB / 352.4 MB, free: 4.734 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.668e-05/0.005458, allocations: 181.9 kB / 352.6 MB, free: 4.539 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 5.821e-06/0.005464, allocations: 25.7 kB / 352.6 MB, free: 4.508 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.244e-05/0.005496, allocations: 142.8 kB / 352.7 MB, free: 4.363 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.641e-05/0.005513, allocations: 15.84 kB / 352.7 MB, free: 4.348 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.429e-05/0.005537, allocations: 31.34 kB / 352.8 MB, free: 4.309 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 5.027e-05/0.005587, allocations: 496.1 kB / 353.3 MB, free: 3.812 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.377e-06/0.005597, allocations: 4 kB / 353.3 MB, free: 3.809 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.354e-05/0.00562, allocations: 53.06 kB / 353.3 MB, free: 3.742 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.292e-05/0.005643, allocations: 23.62 kB / 353.3 MB, free: 3.715 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.02e-07/0.005644, allocations: 4.031 kB / 353.3 MB, free: 3.711 MB / 282.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 5.303e-05/0.005697, allocations: 57.58 kB / 353.4 MB, free: 3.648 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.014e-05/0.005707, allocations: 4 kB / 353.4 MB, free: 3.645 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.021e-06/0.005713, allocations: 0 / 353.4 MB, free: 3.645 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.241e-05/0.005725, allocations: 4 kB / 353.4 MB, free: 3.641 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.472e-05/0.00576, allocations: 8 kB / 353.4 MB, free: 3.633 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.896e-06/0.005763, allocations: 0 / 353.4 MB, free: 3.633 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.763e-05/0.005781, allocations: 7.984 kB / 353.4 MB, free: 3.625 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.737e-06/0.005784, allocations: 0 / 353.4 MB, free: 3.625 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.572e-05/0.00583, allocations: 160.5 kB / 353.6 MB, free: 3.457 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.587e-05/0.005846, allocations: 15.89 kB / 353.6 MB, free: 3.441 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.799e-05/0.005924, allocations: 70.05 kB / 353.7 MB, free: 3.371 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.382e-06/0.005925, allocations: 0 / 353.7 MB, free: 3.371 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.954e-06/0.005927, allocations: 0 / 353.7 MB, free: 3.371 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.687e-06/0.005931, allocations: 0 / 353.7 MB, free: 3.371 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001595/0.006091, allocations: 294 kB / 354 MB, free: 3.051 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.262e-06/0.006092, allocations: 0 / 354 MB, free: 3.051 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.62e-05/0.006118, allocations: 12 kB / 354 MB, free: 3.039 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.463e-06/0.006119, allocations: 0 / 354 MB, free: 3.039 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.937e-06/0.006123, allocations: 0 / 354 MB, free: 3.039 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.01e-07/0.006124, allocations: 4 kB / 354 MB, free: 3.035 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.91e-07/0.006125, allocations: 0 / 354 MB, free: 3.035 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.522e-05/0.00619, allocations: 211.8 kB / 354.2 MB, free: 2.809 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.943e-06/0.006197, allocations: 7.953 kB / 354.2 MB, free: 2.801 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.105e-05/0.006208, allocations: 3.984 kB / 354.2 MB, free: 2.797 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.865e-05/0.006237, allocations: 3.938 kB / 354.2 MB, free: 2.793 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.693e-05/0.006264, allocations: 7.938 kB / 354.2 MB, free: 2.785 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.255e-06/0.006266, allocations: 0 / 354.2 MB, free: 2.785 MB / 282.7 MB Notification: Performance of sorting global known variables: time 3.255e-05/0.006298, allocations: 143.2 kB / 354.3 MB, free: 2.645 MB / 282.7 MB Notification: Performance of sort global known variables: time 5e-08/0.006299, allocations: 0 / 354.3 MB, free: 2.645 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.000152/0.006451, allocations: 23.94 kB / 354.4 MB, free: 2.621 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.0007864/0.007237, allocations: 437.3 kB / 354.8 MB, free: 2.289 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 8.207e-05/0.007319, allocations: 23.67 kB / 354.8 MB, free: 2.262 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.543e-06/0.007321, allocations: 0 / 354.8 MB, free: 2.262 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 1.69e-05/0.007337, allocations: 19.62 kB / 354.8 MB, free: 2.238 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001925/0.00753, allocations: 23.92 kB / 354.9 MB, free: 2.215 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002905/0.00782, allocations: 154 kB / 355 MB, free: 2.035 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.687e-05/0.007857, allocations: 63.34 kB / 355.1 MB, free: 1.953 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 4.329e-05/0.007901, allocations: 11.98 kB / 355.1 MB, free: 1.941 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003134/0.01103, allocations: 86.19 kB / 355.2 MB, free: 1.855 MB / 282.7 MB Notification: Performance of SimCode: time 7.21e-07/0.01104, allocations: 0 / 355.2 MB, free: 1.855 MB / 282.7 MB Notification: Performance of Templates: time 0.003212/0.01425, allocations: 1.56 MB / 356.7 MB, free: 312 kB / 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.3042264310643077]