Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test6.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.0009019/0.0009019, allocations: 80.2 kB / 20.65 MB, free: 3.844 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.001168/0.001168, allocations: 173 kB / 24.06 MB, free: 452 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.032/1.032, allocations: 158.6 MB / 185.9 MB, free: 2.785 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.1692/0.1692, allocations: 32.37 MB / 270.7 MB, free: 14.54 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.Test6,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_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test6") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test6,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_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test6") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.395e-06/2.395e-06, allocations: 0 / 348.1 MB, free: 9.168 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.826e-05/4.066e-05, allocations: 2.312 kB / 348.1 MB, free: 9.164 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test6): time 0.002759/0.0028, allocations: 1.611 MB / 349.7 MB, free: 7.547 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006492/0.003449, allocations: 319.4 kB / 350.1 MB, free: 7.23 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.488e-05/0.003544, allocations: 0 / 350.1 MB, free: 7.23 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003669/0.003911, allocations: 95.62 kB / 350.1 MB, free: 7.137 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002549/0.004166, allocations: 75.72 kB / 350.2 MB, free: 7.062 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003029/0.004469, allocations: 63.84 kB / 350.3 MB, free: 7 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002243/0.004693, allocations: 87.73 kB / 350.4 MB, free: 6.914 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001485/0.004842, allocations: 8.188 kB / 350.4 MB, free: 6.906 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001102/0.004952, allocations: 47.88 kB / 350.4 MB, free: 6.859 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001059/0.005058, allocations: 51.88 kB / 350.5 MB, free: 6.809 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.193e-05/0.00508, allocations: 4 kB / 350.5 MB, free: 6.805 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.933e-05/0.005179, allocations: 35.92 kB / 350.5 MB, free: 6.77 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 5.575e-05/0.005235, allocations: 23.92 kB / 350.5 MB, free: 6.746 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 3.568e-05/0.00527, allocations: 15.88 kB / 350.6 MB, free: 6.73 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001835/0.005454, allocations: 91.59 kB / 350.6 MB, free: 6.641 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.066e-06/0.005457, allocations: 0 / 350.6 MB, free: 6.641 MB / 282.7 MB Notification: Performance of FrontEnd: time 2.034e-06/0.005459, allocations: 0 / 350.6 MB, free: 6.641 MB / 282.7 MB Notification: Performance of Transformations before backend: time 4.779e-06/0.005464, allocations: 0 / 350.6 MB, free: 6.641 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.000426/0.00589, allocations: 439.9 kB / 351.1 MB, free: 6.176 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.197e-05/0.005932, allocations: 12.03 kB / 351.1 MB, free: 6.164 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.627e-05/0.005968, allocations: 24.84 kB / 351.1 MB, free: 6.141 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001157/0.006084, allocations: 148.4 kB / 351.3 MB, free: 5.969 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.518e-06/0.006093, allocations: 384 / 351.3 MB, free: 5.969 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.833e-05/0.006112, allocations: 4.375 kB / 351.3 MB, free: 5.965 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001054/0.006217, allocations: 62.88 kB / 351.3 MB, free: 5.895 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.917e-06/0.006226, allocations: 4.188 kB / 351.3 MB, free: 5.891 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.316e-06/0.006234, allocations: 3.938 kB / 351.3 MB, free: 5.887 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.801e-06/0.00624, allocations: 0 / 351.3 MB, free: 5.887 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.724e-05/0.006267, allocations: 11.98 kB / 351.3 MB, free: 5.875 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002726/0.00654, allocations: 272.4 kB / 351.6 MB, free: 5.582 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.806e-05/0.006608, allocations: 50.95 kB / 351.7 MB, free: 5.52 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.891e-05/0.006627, allocations: 15.69 kB / 351.7 MB, free: 5.5 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.181e-05/0.006659, allocations: 7.938 kB / 351.7 MB, free: 5.492 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.18e-05/0.00668, allocations: 41.52 kB / 351.7 MB, free: 5.441 MB / 282.7 MB Notification: Performance of pre-optimization done (n=5): time 1.153e-06/0.006682, allocations: 0 / 351.7 MB, free: 5.441 MB / 282.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003882/0.00707, allocations: 113.5 kB / 351.8 MB, free: 5.324 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.311e-05/0.007093, allocations: 55.41 kB / 351.9 MB, free: 5.258 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001242/0.007217, allocations: 238.6 kB / 352.1 MB, free: 5.008 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 7.664e-06/0.007225, allocations: 29.7 kB / 352.1 MB, free: 4.973 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.726e-05/0.007272, allocations: 154.8 kB / 352.3 MB, free: 4.816 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.482e-05/0.007297, allocations: 27.73 kB / 352.3 MB, free: 4.789 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.107e-05/0.007328, allocations: 31.38 kB / 352.4 MB, free: 4.75 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 7.241e-05/0.0074, allocations: 0.5001 MB / 352.9 MB, free: 4.238 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.655e-05/0.007417, allocations: 7.984 kB / 352.9 MB, free: 4.23 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.561e-05/0.007432, allocations: 16 kB / 352.9 MB, free: 4.215 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.799e-05/0.00747, allocations: 31.67 kB / 352.9 MB, free: 4.18 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.863e-06/0.007472, allocations: 3.938 kB / 352.9 MB, free: 4.176 MB / 282.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 8.224e-05/0.007555, allocations: 73.58 kB / 353 MB, free: 4.098 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.24e-05/0.007567, allocations: 4 kB / 353 MB, free: 4.094 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.899e-06/0.007572, allocations: 0 / 353 MB, free: 4.094 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.005e-05/0.007582, allocations: 0 / 353 MB, free: 4.094 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.352e-05/0.007655, allocations: 19.94 kB / 353 MB, free: 4.074 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.458e-06/0.00766, allocations: 11.92 kB / 353 MB, free: 4.062 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.687e-05/0.007677, allocations: 0 / 353 MB, free: 4.062 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.721e-05/0.007694, allocations: 8 kB / 353 MB, free: 4.055 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.388e-05/0.007748, allocations: 156.5 kB / 353.2 MB, free: 3.891 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.041e-05/0.007768, allocations: 11.95 kB / 353.2 MB, free: 3.879 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001255/0.007894, allocations: 91.02 kB / 353.3 MB, free: 3.785 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.204e-06/0.007896, allocations: 0 / 353.3 MB, free: 3.785 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.525e-06/0.007898, allocations: 0 / 353.3 MB, free: 3.785 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.097e-06/0.007903, allocations: 0 / 353.3 MB, free: 3.785 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002089/0.008111, allocations: 337.9 kB / 353.6 MB, free: 3.422 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.675e-06/0.008114, allocations: 4 kB / 353.6 MB, free: 3.418 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.951e-05/0.008154, allocations: 16.36 kB / 353.6 MB, free: 3.402 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.635e-06/0.008156, allocations: 0 / 353.6 MB, free: 3.402 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.959e-06/0.008161, allocations: 0 / 353.6 MB, free: 3.402 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.865e-06/0.008164, allocations: 4 kB / 353.6 MB, free: 3.398 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.008165, allocations: 0 / 353.6 MB, free: 3.398 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.817e-05/0.008253, allocations: 236.1 kB / 353.9 MB, free: 3.148 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.997e-06/0.008262, allocations: 7.953 kB / 353.9 MB, free: 3.141 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.119e-05/0.008273, allocations: 0 / 353.9 MB, free: 3.141 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.164e-05/0.008305, allocations: 7.984 kB / 353.9 MB, free: 3.133 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.42e-05/0.008339, allocations: 7.984 kB / 353.9 MB, free: 3.125 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.229e-06/0.008344, allocations: 8 kB / 353.9 MB, free: 3.117 MB / 282.7 MB Notification: Performance of sorting global known variables: time 4.973e-05/0.008394, allocations: 167.1 kB / 354.1 MB, free: 2.953 MB / 282.7 MB Notification: Performance of sort global known variables: time 5e-08/0.008394, allocations: 0 / 354.1 MB, free: 2.953 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001533/0.008548, allocations: 16 kB / 354.1 MB, free: 2.938 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 (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.0008936/0.009441, allocations: 376.5 kB / 354.4 MB, free: 2.664 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001002/0.009541, allocations: 43.53 kB / 354.5 MB, free: 2.617 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.766e-06/0.009544, allocations: 0 / 354.5 MB, free: 2.617 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 2.399e-05/0.009568, allocations: 23.67 kB / 354.5 MB, free: 2.59 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000242/0.00981, allocations: 33.11 kB / 354.5 MB, free: 2.559 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003303/0.01014, allocations: 222.2 kB / 354.8 MB, free: 2.312 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.557e-05/0.01018, allocations: 75.31 kB / 354.8 MB, free: 2.219 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 3.446e-05/0.01021, allocations: 13.03 kB / 354.8 MB, free: 2.207 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.273e-05/0.01026, allocations: 82.19 kB / 354.9 MB, free: 2.125 MB / 282.7 MB Notification: Performance of SimCode: time 9.72e-07/0.01026, allocations: 0 / 354.9 MB, free: 2.125 MB / 282.7 MB Notification: Performance of Templates: time 0.00312/0.01338, allocations: 1.367 MB / 356.3 MB, free: 0.7695 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test6.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test6.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test6.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test6.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test6.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test6 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test6.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test6_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1Ds/Test6/Test6.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.3683310030028224]