Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test15.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.001177/0.001177, allocations: 79.59 kB / 21.18 MB, free: 3.387 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.001704/0.001704, allocations: 161 kB / 24.56 MB, free: 16 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 1.01/1.01, allocations: 177.1 MB / 205 MB, free: 5.598 MB / 186.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.2509/0.2509, allocations: 34.26 MB / 295.7 MB, free: 0.6836 MB / 266.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.Test15,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.1.0_ModelicaTest.Tables.CombiTable1Ds.Test15") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test15,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.1.0_ModelicaTest.Tables.CombiTable1Ds.Test15") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.603e-06/1.603e-06, allocations: 0 / 378.1 MB, free: 2.605 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.348e-05/2.509e-05, allocations: 2.312 kB / 378.1 MB, free: 2.602 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test15): time 0.00315/0.003175, allocations: 1.656 MB / 379.7 MB, free: 0.9336 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001056/0.004231, allocations: 0.5337 MB / 380.3 MB, free: 404 kB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.724e-05/0.004308, allocations: 8 kB / 380.3 MB, free: 396 kB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003209/0.004629, allocations: 71.7 kB / 380.3 MB, free: 324 kB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003657/0.004995, allocations: 107.5 kB / 380.4 MB, free: 216 kB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003117/0.005306, allocations: 99.56 kB / 380.5 MB, free: 116 kB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001965/0.005503, allocations: 83.75 kB / 380.6 MB, free: 32 kB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001144/0.005617, allocations: 15.98 kB / 380.6 MB, free: 16 kB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.888e-05/0.005716, allocations: 39.89 kB / 380.7 MB, free: 15.98 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001345/0.005851, allocations: 55.88 kB / 380.7 MB, free: 15.92 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 2.155e-05/0.005872, allocations: 15.92 kB / 380.7 MB, free: 15.91 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001215/0.005994, allocations: 43.92 kB / 380.8 MB, free: 15.86 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 6.784e-05/0.006061, allocations: 19.92 kB / 380.8 MB, free: 15.84 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 3.644e-05/0.006098, allocations: 11.94 kB / 380.8 MB, free: 15.83 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002118/0.00631, allocations: 91.66 kB / 380.9 MB, free: 15.74 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.035e-06/0.006313, allocations: 0 / 380.9 MB, free: 15.74 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.683e-06/0.006314, allocations: 0 / 380.9 MB, free: 15.74 MB / 362.7 MB Notification: Performance of Transformations before backend: time 5.56e-06/0.00632, allocations: 0 / 380.9 MB, free: 15.74 MB / 362.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.0004825/0.006803, allocations: 439.9 kB / 381.3 MB, free: 15.28 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.507e-05/0.006848, allocations: 11.97 kB / 381.3 MB, free: 15.27 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.762e-05/0.006905, allocations: 24.84 kB / 381.4 MB, free: 15.24 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000185/0.00709, allocations: 145.8 kB / 381.5 MB, free: 15.07 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.22e-05/0.007102, allocations: 4.375 kB / 381.5 MB, free: 15.07 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.963e-05/0.007132, allocations: 384 / 381.5 MB, free: 15.07 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001385/0.007271, allocations: 58.95 kB / 381.6 MB, free: 15 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.012e-05/0.007281, allocations: 192 / 381.6 MB, free: 15 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.201e-05/0.007293, allocations: 4.125 kB / 381.6 MB, free: 15 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.245e-06/0.007301, allocations: 0 / 381.6 MB, free: 15 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.114e-05/0.007342, allocations: 15.98 kB / 381.6 MB, free: 14.98 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003612/0.007703, allocations: 303.6 kB / 381.9 MB, free: 14.65 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.078e-05/0.007784, allocations: 39.05 kB / 381.9 MB, free: 14.6 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.95e-05/0.007813, allocations: 19.62 kB / 381.9 MB, free: 14.57 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.56e-05/0.007839, allocations: 3.938 kB / 381.9 MB, free: 14.57 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.878e-05/0.007868, allocations: 41.33 kB / 382 MB, free: 14.52 MB / 362.7 MB Notification: Performance of pre-optimization done (n=4): time 1.533e-06/0.007869, allocations: 0 / 382 MB, free: 14.52 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.0006455/0.008515, allocations: 165.7 kB / 382.2 MB, free: 14.35 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.504e-05/0.00855, allocations: 55.41 kB / 382.2 MB, free: 14.29 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001806/0.008731, allocations: 242.4 kB / 382.4 MB, free: 14.03 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.231e-05/0.008743, allocations: 25.7 kB / 382.5 MB, free: 14 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.274e-05/0.008816, allocations: 162.8 kB / 382.6 MB, free: 13.84 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.151e-05/0.008847, allocations: 27.75 kB / 382.7 MB, free: 13.81 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.689e-05/0.008894, allocations: 27.36 kB / 382.7 MB, free: 13.77 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001432/0.009037, allocations: 0.5 MB / 383.2 MB, free: 13.26 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.772e-05/0.009065, allocations: 12 kB / 383.2 MB, free: 13.25 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.428e-05/0.009089, allocations: 11.98 kB / 383.2 MB, free: 13.24 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.494e-05/0.009154, allocations: 39.69 kB / 383.2 MB, free: 13.2 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.272e-06/0.009155, allocations: 0 / 383.2 MB, free: 13.2 MB / 362.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001438/0.009299, allocations: 77.59 kB / 383.3 MB, free: 13.11 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.709e-05/0.009316, allocations: 4 kB / 383.3 MB, free: 13.11 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.911e-06/0.009322, allocations: 4.094 kB / 383.3 MB, free: 13.11 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.103e-05/0.009343, allocations: 3.984 kB / 383.3 MB, free: 13.1 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001221/0.009465, allocations: 19.98 kB / 383.3 MB, free: 13.08 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.644e-06/0.009473, allocations: 0 / 383.3 MB, free: 13.08 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.967e-05/0.009503, allocations: 0 / 383.3 MB, free: 13.08 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.718e-06/0.009512, allocations: 4 kB / 383.4 MB, free: 13.08 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 0.0001022/0.009615, allocations: 168.4 kB / 383.5 MB, free: 12.9 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.859e-05/0.009653, allocations: 15.91 kB / 383.5 MB, free: 12.89 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002023/0.009856, allocations: 83.45 kB / 383.6 MB, free: 12.8 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.998e-06/0.00986, allocations: 4 kB / 383.6 MB, free: 12.8 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.789e-06/0.009864, allocations: 4 kB / 383.6 MB, free: 12.79 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.988e-06/0.009868, allocations: 0 / 383.6 MB, free: 12.79 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000492/0.01036, allocations: 381 kB / 384 MB, free: 12.38 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.155e-06/0.01036, allocations: 0 / 384 MB, free: 12.38 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.111e-05/0.01043, allocations: 15.94 kB / 384 MB, free: 12.36 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.037e-06/0.01044, allocations: 0 / 384 MB, free: 12.36 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.035e-05/0.01045, allocations: 7.984 kB / 384 MB, free: 12.35 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.045e-06/0.01045, allocations: 3.938 kB / 384 MB, free: 12.35 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.873e-06/0.01045, allocations: 0 / 384 MB, free: 12.35 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001971/0.01065, allocations: 235.5 kB / 384.3 MB, free: 12.09 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.608e-05/0.01067, allocations: 15.98 kB / 384.3 MB, free: 12.08 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.77e-05/0.01068, allocations: 4 kB / 384.3 MB, free: 12.07 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.48e-05/0.01075, allocations: 3.984 kB / 384.3 MB, free: 12.07 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.115e-05/0.01079, allocations: 7.938 kB / 384.3 MB, free: 12.06 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.895e-06/0.0108, allocations: 4 kB / 384.3 MB, free: 12.06 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001172/0.01092, allocations: 175.1 kB / 384.5 MB, free: 11.89 MB / 362.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01092, allocations: 0 / 384.5 MB, free: 11.89 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003005/0.01122, allocations: 16 kB / 384.5 MB, free: 11.87 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.0009601/0.01218, allocations: 438.6 kB / 384.9 MB, free: 11.6 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001161/0.01229, allocations: 39.67 kB / 384.9 MB, free: 11.55 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.502e-06/0.01229, allocations: 0 / 384.9 MB, free: 11.55 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 3.066e-05/0.01232, allocations: 35.61 kB / 385 MB, free: 11.52 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002276/0.01255, allocations: 26.92 kB / 385 MB, free: 11.49 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000375/0.01293, allocations: 233.8 kB / 385.2 MB, free: 11.23 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.401e-05/0.01297, allocations: 67.33 kB / 385.3 MB, free: 11.14 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 3.381e-05/0.01301, allocations: 17.09 kB / 385.3 MB, free: 11.13 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.013e-05/0.01304, allocations: 16.48 kB / 385.3 MB, free: 11.11 MB / 362.7 MB Notification: Performance of SimCode: time 1.042e-06/0.01304, allocations: 0 / 385.3 MB, free: 11.11 MB / 362.7 MB Notification: Performance of Templates: time 0.003348/0.01638, allocations: 1.37 MB / 386.7 MB, free: 9.75 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test15.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test15.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test15.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test15.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test15.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test15 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test15.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test15_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Ds/Test15/Test15.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.5278791449964046]