Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test5.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.001125/0.001125, allocations: 79.59 kB / 21.18 MB, free: 3.383 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.001118/0.001118, allocations: 161 kB / 24.56 MB, free: 12 kB / 18.57 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.9635/0.9635, allocations: 177.1 MB / 205 MB, free: 5.621 MB / 186.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.2756/0.2756, allocations: 32.81 MB / 294.3 MB, free: 1.219 MB / 266.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.Test5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test5") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test5") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.733e-06/1.733e-06, allocations: 0 / 376 MB, free: 4.625 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.437e-05/2.61e-05, allocations: 2.312 kB / 376 MB, free: 4.621 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test5): time 0.003162/0.003188, allocations: 1.653 MB / 377.7 MB, free: 2.953 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009923/0.00418, allocations: 0.5376 MB / 378.2 MB, free: 2.41 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.231e-05/0.004242, allocations: 0 / 378.2 MB, free: 2.41 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003237/0.004566, allocations: 99.67 kB / 378.3 MB, free: 2.312 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003433/0.004909, allocations: 111.5 kB / 378.4 MB, free: 2.203 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004847/0.005394, allocations: 95.62 kB / 378.5 MB, free: 2.109 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001941/0.005588, allocations: 87.75 kB / 378.6 MB, free: 2.023 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001026/0.005691, allocations: 15.92 kB / 378.6 MB, free: 2.008 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.676e-05/0.005778, allocations: 51.83 kB / 378.7 MB, free: 1.957 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.91e-05/0.005877, allocations: 55.86 kB / 378.7 MB, free: 1.902 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.595e-05/0.005893, allocations: 0 / 378.7 MB, free: 1.902 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001001/0.005993, allocations: 51.91 kB / 378.8 MB, free: 1.852 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 5.273e-05/0.006045, allocations: 19.94 kB / 378.8 MB, free: 1.832 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 3.231e-05/0.006078, allocations: 11.92 kB / 378.8 MB, free: 1.82 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001868/0.006265, allocations: 95.66 kB / 378.9 MB, free: 1.727 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.878e-06/0.006268, allocations: 0 / 378.9 MB, free: 1.727 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.152e-06/0.00627, allocations: 0 / 378.9 MB, free: 1.727 MB / 346.7 MB Notification: Performance of Transformations before backend: time 4.839e-06/0.006274, allocations: 0 / 378.9 MB, free: 1.727 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004545/0.006729, allocations: 455.8 kB / 379.4 MB, free: 1.246 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.786e-05/0.006767, allocations: 8.031 kB / 379.4 MB, free: 1.238 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.154e-05/0.006818, allocations: 16.89 kB / 379.4 MB, free: 1.223 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001622/0.006981, allocations: 156.4 kB / 379.5 MB, free: 1.043 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.408e-06/0.00699, allocations: 384 / 379.5 MB, free: 1.043 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.949e-05/0.007009, allocations: 4.375 kB / 379.5 MB, free: 1.039 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001196/0.007129, allocations: 54.95 kB / 379.6 MB, free: 0.9766 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.949e-06/0.007139, allocations: 192 / 379.6 MB, free: 0.9766 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.039e-05/0.007149, allocations: 4.125 kB / 379.6 MB, free: 0.9727 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.103e-06/0.007156, allocations: 0 / 379.6 MB, free: 0.9727 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.796e-05/0.007194, allocations: 15.92 kB / 379.6 MB, free: 0.957 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003365/0.007531, allocations: 303.7 kB / 379.9 MB, free: 0.625 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.396e-05/0.007605, allocations: 46.98 kB / 380 MB, free: 0.5664 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.549e-05/0.00763, allocations: 15.62 kB / 380 MB, free: 0.5469 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.881e-05/0.007649, allocations: 3.938 kB / 380 MB, free: 0.543 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.445e-05/0.007674, allocations: 37.39 kB / 380 MB, free: 0.4961 MB / 346.7 MB Notification: Performance of pre-optimization done (n=4): time 1.323e-06/0.007675, allocations: 0 / 380 MB, free: 0.4961 MB / 346.7 MB Notification: Performance of matching and sorting (n=8): time 0.0006124/0.008287, allocations: 173.6 kB / 380.2 MB, free: 328 kB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.442e-05/0.008322, allocations: 59.39 kB / 380.2 MB, free: 256 kB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002022/0.008524, allocations: 245.9 kB / 380.5 MB, free: 15.99 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.338e-05/0.008537, allocations: 29.64 kB / 380.5 MB, free: 15.96 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.904e-05/0.008606, allocations: 154.8 kB / 380.7 MB, free: 15.8 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.977e-05/0.008636, allocations: 31.73 kB / 380.7 MB, free: 15.77 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.812e-05/0.008674, allocations: 23.38 kB / 380.7 MB, free: 15.74 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.000137/0.008811, allocations: 0.5 MB / 381.2 MB, free: 15.23 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.924e-05/0.00884, allocations: 11.98 kB / 381.2 MB, free: 15.21 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.445e-05/0.008865, allocations: 12 kB / 381.2 MB, free: 15.2 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.37e-05/0.008929, allocations: 43.83 kB / 381.3 MB, free: 15.16 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.183e-06/0.00893, allocations: 0 / 381.3 MB, free: 15.16 MB / 362.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.000114/0.009044, allocations: 77.7 kB / 381.4 MB, free: 15.07 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.325e-05/0.009057, allocations: 4 kB / 381.4 MB, free: 15.07 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.819e-06/0.009062, allocations: 0 / 381.4 MB, free: 15.07 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.194e-05/0.009074, allocations: 0 / 381.4 MB, free: 15.07 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.26e-05/0.009166, allocations: 19.98 kB / 381.4 MB, free: 15.05 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.304e-06/0.009174, allocations: 4 kB / 381.4 MB, free: 15.05 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.639e-05/0.0092, allocations: 0 / 381.4 MB, free: 15.05 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.356e-06/0.009208, allocations: 4 kB / 381.4 MB, free: 15.04 MB / 362.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 7.73e-05/0.009286, allocations: 164.5 kB / 381.5 MB, free: 14.87 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.687e-05/0.009323, allocations: 15.91 kB / 381.6 MB, free: 14.86 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001746/0.009497, allocations: 91.12 kB / 381.7 MB, free: 14.76 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.947e-06/0.009501, allocations: 4 kB / 381.7 MB, free: 14.76 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.427e-06/0.009505, allocations: 0 / 381.7 MB, free: 14.76 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.046e-06/0.009508, allocations: 0 / 381.7 MB, free: 14.76 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003909/0.009899, allocations: 388.9 kB / 382 MB, free: 14.33 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.577e-06/0.009902, allocations: 4 kB / 382 MB, free: 14.33 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.424e-05/0.009966, allocations: 15.94 kB / 382.1 MB, free: 14.31 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.028e-06/0.00997, allocations: 0 / 382.1 MB, free: 14.31 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.075e-06/0.009978, allocations: 0 / 382.1 MB, free: 14.31 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.461e-06/0.009984, allocations: 7.984 kB / 382.1 MB, free: 14.3 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.733e-06/0.009986, allocations: 4.031 kB / 382.1 MB, free: 14.3 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00016/0.01015, allocations: 235.5 kB / 382.3 MB, free: 14.05 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.312e-05/0.01016, allocations: 7.953 kB / 382.3 MB, free: 14.04 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.597e-05/0.01017, allocations: 0 / 382.3 MB, free: 14.04 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.637e-05/0.01024, allocations: 4 kB / 382.3 MB, free: 14.04 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.799e-05/0.01031, allocations: 11.92 kB / 382.3 MB, free: 14.02 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.935e-06/0.01032, allocations: 7.938 kB / 382.3 MB, free: 14.02 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001112/0.01043, allocations: 175.1 kB / 382.5 MB, free: 13.84 MB / 362.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01043, allocations: 0 / 382.5 MB, free: 13.84 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002629/0.01069, allocations: 23.94 kB / 382.5 MB, free: 13.82 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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.00119/0.01188, allocations: 438.4 kB / 383 MB, free: 13.55 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001443/0.01202, allocations: 43.66 kB / 383 MB, free: 13.5 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.435e-06/0.01203, allocations: 0 / 383 MB, free: 13.5 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 5.277e-05/0.01208, allocations: 31.61 kB / 383 MB, free: 13.46 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003116/0.01239, allocations: 32.5 kB / 383.1 MB, free: 13.44 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004781/0.01287, allocations: 233.8 kB / 383.3 MB, free: 13.18 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.861e-05/0.01293, allocations: 79.33 kB / 383.4 MB, free: 13.08 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 4.98e-05/0.01298, allocations: 17.02 kB / 383.4 MB, free: 13.06 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.929e-05/0.01302, allocations: 16.5 kB / 383.4 MB, free: 13.05 MB / 362.7 MB Notification: Performance of SimCode: time 9.22e-07/0.01302, allocations: 0 / 383.4 MB, free: 13.05 MB / 362.7 MB Notification: Performance of Templates: time 0.00471/0.01773, allocations: 1.48 MB / 384.9 MB, free: 11.58 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test5.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test5.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test5.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test5.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test5.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test5 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test5.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test5_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test5/Test5.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.9436351018957794]