Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test5.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001659/0.001659, allocations: 96.25 kB / 20.96 MB, free: 3.469 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001812/0.001812, allocations: 156.9 kB / 24.27 MB, free: 172 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.543/1.543, allocations: 177 MB / 204.4 MB, free: 5.617 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3871/0.3871, allocations: 34.25 MB / 295.2 MB, free: 0.6719 MB / 266.7 MB " [Timeout remaining time 179] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTable1Ds.Test5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test5") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test5") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.593e-06/1.593e-06, allocations: 0 / 377.2 MB, free: 2.902 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.705e-05/2.864e-05, allocations: 2.312 kB / 377.2 MB, free: 2.898 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test5): time 0.00325/0.003279, allocations: 1.628 MB / 378.9 MB, free: 1.258 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001169/0.004448, allocations: 0.5214 MB / 379.4 MB, free: 0.7344 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.217e-05/0.00452, allocations: 4 kB / 379.4 MB, free: 0.7305 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003122/0.004832, allocations: 95.67 kB / 379.5 MB, free: 0.6367 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003799/0.005212, allocations: 115.5 kB / 379.6 MB, free: 0.5234 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003127/0.005525, allocations: 91.62 kB / 379.7 MB, free: 444 kB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002085/0.005734, allocations: 79.81 kB / 379.8 MB, free: 364 kB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001011/0.005835, allocations: 15.98 kB / 379.8 MB, free: 348 kB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001089/0.005944, allocations: 51.83 kB / 379.8 MB, free: 296 kB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001185/0.006062, allocations: 47.92 kB / 379.9 MB, free: 248 kB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 2.003e-05/0.006082, allocations: 8 kB / 379.9 MB, free: 240 kB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001217/0.006204, allocations: 47.86 kB / 379.9 MB, free: 192 kB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 5.733e-05/0.006261, allocations: 19.92 kB / 379.9 MB, free: 172 kB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 4.77e-05/0.006309, allocations: 19.92 kB / 380 MB, free: 152 kB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002336/0.006543, allocations: 107.5 kB / 380.1 MB, free: 44 kB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.308e-06/0.006547, allocations: 8 kB / 380.1 MB, free: 36 kB / 346.7 MB Notification: Performance of FrontEnd: time 8.52e-07/0.006548, allocations: 0 / 380.1 MB, free: 36 kB / 346.7 MB Notification: Performance of Transformations before backend: time 4.288e-06/0.006552, allocations: 0 / 380.1 MB, free: 36 kB / 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.000662/0.007214, allocations: 345.7 kB / 380.4 MB, free: 15.66 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.416e-05/0.007258, allocations: 12.03 kB / 380.4 MB, free: 15.65 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.532e-05/0.007324, allocations: 12.89 kB / 380.4 MB, free: 15.64 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002526/0.007576, allocations: 161.5 kB / 380.6 MB, free: 15.45 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.092e-05/0.007587, allocations: 384 / 380.6 MB, free: 15.45 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.905e-05/0.007616, allocations: 4.375 kB / 380.6 MB, free: 15.45 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001706/0.007787, allocations: 54.23 kB / 380.6 MB, free: 15.39 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.199e-05/0.007799, allocations: 192 / 380.6 MB, free: 15.39 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.016e-05/0.007809, allocations: 384 / 380.6 MB, free: 15.39 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.52e-05/0.007824, allocations: 4.375 kB / 380.7 MB, free: 15.39 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001052/0.007929, allocations: 23.92 kB / 380.7 MB, free: 15.36 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004247/0.008354, allocations: 244.4 kB / 380.9 MB, free: 15.09 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001282/0.008482, allocations: 46.56 kB / 381 MB, free: 15.04 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.512e-05/0.008537, allocations: 16.94 kB / 381 MB, free: 15.02 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.32e-05/0.00856, allocations: 0 / 381 MB, free: 15.02 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.133e-05/0.008602, allocations: 38.5 kB / 381 MB, free: 14.97 MB / 362.7 MB Notification: Performance of pre-optimization done (n=4): time 9.62e-07/0.008603, allocations: 4 kB / 381 MB, free: 14.97 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.001003/0.009605, allocations: 237.3 kB / 381.2 MB, free: 14.73 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.029e-05/0.009656, allocations: 51.41 kB / 381.3 MB, free: 14.67 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002916/0.009947, allocations: 230.8 kB / 381.5 MB, free: 14.43 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.176e-05/0.009969, allocations: 25.7 kB / 381.6 MB, free: 14.4 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001034/0.01007, allocations: 112.1 kB / 381.7 MB, free: 14.29 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.519e-05/0.01012, allocations: 31.73 kB / 381.7 MB, free: 14.25 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.701e-05/0.01016, allocations: 17.72 kB / 381.7 MB, free: 14.23 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001944/0.01036, allocations: 326.8 kB / 382 MB, free: 13.9 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.657e-05/0.01045, allocations: 27.98 kB / 382.1 MB, free: 13.88 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.558e-05/0.01052, allocations: 28.05 kB / 382.1 MB, free: 13.85 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001646/0.01069, allocations: 60.97 kB / 382.1 MB, free: 13.79 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.22e-07/0.01069, allocations: 0 / 382.1 MB, free: 13.79 MB / 362.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.000263/0.01095, allocations: 113.6 kB / 382.3 MB, free: 13.67 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.84e-05/0.01097, allocations: 4 kB / 382.3 MB, free: 13.66 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.689e-06/0.01097, allocations: 0 / 382.3 MB, free: 13.66 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.752e-05/0.01099, allocations: 0 / 382.3 MB, free: 13.66 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001115/0.0111, allocations: 27.98 kB / 382.3 MB, free: 13.64 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.869e-06/0.01111, allocations: 0 / 382.3 MB, free: 13.64 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.016e-05/0.01116, allocations: 7.984 kB / 382.3 MB, free: 13.63 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.684e-06/0.01116, allocations: 0 / 382.3 MB, free: 13.63 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.0001305/0.01129, allocations: 125.8 kB / 382.4 MB, free: 13.5 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.984e-05/0.01134, allocations: 23.83 kB / 382.4 MB, free: 13.47 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000315/0.01166, allocations: 119 kB / 382.6 MB, free: 13.35 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.324e-06/0.01166, allocations: 0 / 382.6 MB, free: 13.35 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.389e-06/0.01167, allocations: 4 kB / 382.6 MB, free: 13.35 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.006e-06/0.01167, allocations: 0 / 382.6 MB, free: 13.35 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005873/0.01226, allocations: 350.9 kB / 382.9 MB, free: 12.96 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.345e-06/0.01226, allocations: 0 / 382.9 MB, free: 12.96 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.701e-05/0.01235, allocations: 23.98 kB / 382.9 MB, free: 12.94 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.246e-06/0.01235, allocations: 0 / 382.9 MB, free: 12.94 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.954e-06/0.01236, allocations: 0 / 382.9 MB, free: 12.94 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.558e-06/0.01236, allocations: 4 kB / 382.9 MB, free: 12.94 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.01236, allocations: 4.031 kB / 382.9 MB, free: 12.93 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003269/0.01269, allocations: 212.2 kB / 383.1 MB, free: 12.71 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.869e-05/0.01271, allocations: 11.84 kB / 383.2 MB, free: 12.7 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.809e-05/0.01273, allocations: 4 kB / 383.2 MB, free: 12.69 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.696e-05/0.01281, allocations: 7.984 kB / 383.2 MB, free: 12.68 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.433e-05/0.01286, allocations: 4 kB / 383.2 MB, free: 12.68 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.895e-06/0.01287, allocations: 4 kB / 383.2 MB, free: 12.68 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001953/0.01306, allocations: 176.3 kB / 383.3 MB, free: 12.5 MB / 362.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01306, allocations: 0 / 383.3 MB, free: 12.5 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002797/0.01334, allocations: 31.88 kB / 383.4 MB, free: 12.47 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.002262/0.0156, allocations: 470.4 kB / 383.8 MB, free: 12.18 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002484/0.01585, allocations: 71.89 kB / 383.9 MB, free: 12.11 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.884e-06/0.01585, allocations: 0 / 383.9 MB, free: 12.11 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 9.661e-05/0.01595, allocations: 35.92 kB / 383.9 MB, free: 12.07 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003781/0.01633, allocations: 18.17 kB / 384 MB, free: 12.06 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006427/0.01697, allocations: 285.2 kB / 384.2 MB, free: 11.75 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001278/0.0171, allocations: 104.8 kB / 384.3 MB, free: 11.63 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 5.494e-05/0.01715, allocations: 9.047 kB / 384.3 MB, free: 11.62 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.679e-05/0.0172, allocations: 20.48 kB / 384.4 MB, free: 11.6 MB / 362.7 MB Notification: Performance of SimCode: time 5.51e-07/0.0172, allocations: 0 / 384.4 MB, free: 11.6 MB / 362.7 MB Notification: Performance of Templates: time 0.005012/0.02221, allocations: 1.375 MB / 385.7 MB, free: 10.23 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test5.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test5.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test5.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test5.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test5.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test5 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test5.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test5_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Ds/Test5/Test5.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test5.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.953693113988265]