Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab.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.001032/0.001032, allocations: 95.5 kB / 21.2 MB, free: 3.371 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.001007/0.001007, allocations: 160.5 kB / 24.55 MB, free: 16 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 0.9753/0.9753, allocations: 177 MB / 204.8 MB, free: 5.57 MB / 186.7 MB " [Timeout remaining time 179] 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.2548/0.2548, allocations: 34.86 MB / 296.3 MB, free: 0.5586 MB / 266.7 MB " [Timeout remaining time 180] 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.Test25_usertab,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test25_usertab,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.413e-06/1.413e-06, allocations: 0 / 378.8 MB, free: 2.059 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.542e-05/1.683e-05, allocations: 6.812 kB / 378.8 MB, free: 2.051 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test25_usertab): time 0.008268/0.008285, allocations: 1.627 MB / 380.4 MB, free: 420 kB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.000818/0.009103, allocations: 0.5603 MB / 381 MB, free: 15.85 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.146e-05/0.009155, allocations: 0 / 381 MB, free: 15.85 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002191/0.009374, allocations: 19.84 kB / 381 MB, free: 15.83 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002411/0.009615, allocations: 79.56 kB / 381.1 MB, free: 15.75 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002119/0.009827, allocations: 99.62 kB / 381.2 MB, free: 15.65 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001394/0.009966, allocations: 71.81 kB / 381.2 MB, free: 15.58 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.443e-05/0.01005, allocations: 19.73 kB / 381.3 MB, free: 15.56 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.383e-05/0.01011, allocations: 35.91 kB / 381.3 MB, free: 15.53 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.661e-05/0.01018, allocations: 23.95 kB / 381.3 MB, free: 15.5 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.663e-05/0.0102, allocations: 11.94 kB / 381.3 MB, free: 15.49 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006163/0.01636, allocations: 95.81 kB / 381.4 MB, free: 15.4 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 4.419e-05/0.0164, allocations: 15.94 kB / 381.4 MB, free: 15.38 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 3.194e-05/0.01644, allocations: 19.97 kB / 381.5 MB, free: 15.36 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002383/0.01667, allocations: 147.4 kB / 381.6 MB, free: 15.22 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.854e-06/0.01668, allocations: 0 / 381.6 MB, free: 15.22 MB / 362.7 MB Notification: Performance of FrontEnd: time 8.12e-07/0.01668, allocations: 0 / 381.6 MB, free: 15.22 MB / 362.7 MB Notification: Performance of Transformations before backend: time 3.958e-06/0.01668, allocations: 0 / 381.6 MB, free: 15.22 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0004243/0.01711, allocations: 432 kB / 382 MB, free: 14.76 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.452e-05/0.01714, allocations: 8.031 kB / 382 MB, free: 14.75 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.664e-05/0.01719, allocations: 12.89 kB / 382 MB, free: 14.74 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001694/0.01736, allocations: 148.4 kB / 382.2 MB, free: 14.57 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.136e-05/0.01737, allocations: 4.375 kB / 382.2 MB, free: 14.56 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.739e-05/0.0174, allocations: 384 / 382.2 MB, free: 14.56 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001484/0.01754, allocations: 104 kB / 382.3 MB, free: 14.44 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.468e-06/0.01755, allocations: 192 / 382.3 MB, free: 14.44 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.461e-05/0.01757, allocations: 16.36 kB / 382.3 MB, free: 14.42 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.243e-06/0.01757, allocations: 384 / 382.3 MB, free: 14.42 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.923e-05/0.01761, allocations: 15.92 kB / 382.3 MB, free: 14.41 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003394/0.01795, allocations: 283.8 kB / 382.6 MB, free: 14.09 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.348e-05/0.01803, allocations: 47.05 kB / 382.7 MB, free: 14.04 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.212e-05/0.01806, allocations: 23.81 kB / 382.7 MB, free: 14.01 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.168e-05/0.01808, allocations: 0 / 382.7 MB, free: 14.01 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.384e-05/0.0181, allocations: 37.39 kB / 382.7 MB, free: 13.96 MB / 362.7 MB Notification: Performance of pre-optimization done (n=5): time 9.42e-07/0.01811, allocations: 0 / 382.7 MB, free: 13.96 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003996/0.01851, allocations: 137.3 kB / 382.8 MB, free: 13.82 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.947e-05/0.01854, allocations: 85.05 kB / 382.9 MB, free: 13.72 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001382/0.01868, allocations: 201.9 kB / 383.1 MB, free: 13.5 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.133e-05/0.01869, allocations: 25.7 kB / 383.2 MB, free: 13.47 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.358e-05/0.01875, allocations: 142.9 kB / 383.3 MB, free: 13.33 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.207e-05/0.01877, allocations: 31.75 kB / 383.3 MB, free: 13.3 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.236e-05/0.01881, allocations: 31.38 kB / 383.4 MB, free: 13.26 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001114/0.01892, allocations: 0.4923 MB / 383.8 MB, free: 12.75 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.59e-05/0.01895, allocations: 7.984 kB / 383.9 MB, free: 12.75 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.615e-05/0.019, allocations: 61.06 kB / 383.9 MB, free: 12.67 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.595e-05/0.01905, allocations: 35.62 kB / 383.9 MB, free: 12.63 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.92e-07/0.01905, allocations: 0 / 383.9 MB, free: 12.63 MB / 362.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001142/0.01917, allocations: 77.58 kB / 384 MB, free: 12.55 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.554e-05/0.01918, allocations: 11.94 kB / 384 MB, free: 12.54 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.799e-06/0.01919, allocations: 0 / 384 MB, free: 12.54 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.598e-05/0.0192, allocations: 0 / 384 MB, free: 12.54 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.164e-05/0.01929, allocations: 23.95 kB / 384.1 MB, free: 12.52 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.891e-06/0.0193, allocations: 4 kB / 384.1 MB, free: 12.51 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.577e-05/0.01933, allocations: 0 / 384.1 MB, free: 12.51 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.116e-06/0.01933, allocations: 4 kB / 384.1 MB, free: 12.51 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 (9): * Single equations (assignments): 9 * 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.262e-05/0.01941, allocations: 160.6 kB / 384.2 MB, free: 12.34 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.382e-05/0.01944, allocations: 19.84 kB / 384.2 MB, free: 12.32 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001436/0.01958, allocations: 82.45 kB / 384.3 MB, free: 12.23 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.235e-06/0.01959, allocations: 3.938 kB / 384.3 MB, free: 12.23 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.687e-06/0.01959, allocations: 0 / 384.3 MB, free: 12.23 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.316e-06/0.01959, allocations: 0 / 384.3 MB, free: 12.23 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000312/0.01991, allocations: 361.4 kB / 384.7 MB, free: 11.83 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.312e-06/0.01991, allocations: 384 / 384.7 MB, free: 11.83 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.467e-05/0.01995, allocations: 15.94 kB / 384.7 MB, free: 11.82 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.184e-06/0.01995, allocations: 0 / 384.7 MB, free: 11.82 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.945e-06/0.01996, allocations: 4 kB / 384.7 MB, free: 11.81 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.124e-06/0.01996, allocations: 3.984 kB / 384.7 MB, free: 11.81 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.104e-06/0.01997, allocations: 4 kB / 384.7 MB, free: 11.8 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001322/0.0201, allocations: 220 kB / 384.9 MB, free: 11.57 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.163e-05/0.02011, allocations: 7.953 kB / 384.9 MB, free: 11.56 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.639e-05/0.02013, allocations: 4 kB / 384.9 MB, free: 11.56 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.356e-05/0.02018, allocations: 11.98 kB / 384.9 MB, free: 11.55 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.202e-05/0.02021, allocations: 3.938 kB / 385 MB, free: 11.54 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.988e-06/0.02022, allocations: 4 kB / 385 MB, free: 11.54 MB / 362.7 MB Notification: Performance of sorting global known variables: time 7.747e-05/0.02029, allocations: 162.2 kB / 385.1 MB, free: 11.38 MB / 362.7 MB Notification: Performance of sort global known variables: time 6e-08/0.02029, allocations: 0 / 385.1 MB, free: 11.38 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.000268/0.02056, allocations: 43.86 kB / 385.2 MB, free: 11.34 MB / 362.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.00131/0.02187, allocations: 0.4893 MB / 385.6 MB, free: 10.99 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001222/0.02199, allocations: 39.67 kB / 385.7 MB, free: 10.95 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/0.022, allocations: 4 kB / 385.7 MB, free: 10.95 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 3.874e-05/0.02203, allocations: 35.59 kB / 385.7 MB, free: 10.91 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006264/0.0283, allocations: 23.92 kB / 385.7 MB, free: 10.88 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00033/0.02863, allocations: 186.3 kB / 385.9 MB, free: 10.67 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.29e-05/0.02867, allocations: 63.34 kB / 386 MB, free: 10.59 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 5.528e-05/0.02873, allocations: 24.47 kB / 386 MB, free: 10.57 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.041e-05/0.02877, allocations: 24.48 kB / 386 MB, free: 10.54 MB / 362.7 MB Notification: Performance of SimCode: time 6.51e-07/0.02877, allocations: 0 / 386 MB, free: 10.54 MB / 362.7 MB Notification: Performance of Templates: time 0.01/0.03877, allocations: 2.046 MB / 388.1 MB, free: 8.512 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Ds/Test25_usertab/Test25_usertab.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.3828877629712224]