Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test3.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.001877/0.001877, allocations: 99.53 kB / 20.97 MB, free: 3.457 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.001957/0.001957, allocations: 160.8 kB / 24.27 MB, free: 156 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.548/1.548, allocations: 177 MB / 204.5 MB, free: 5.609 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.3838/0.3838, allocations: 34.25 MB / 295.2 MB, free: 0.6367 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.Test3,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.Test3") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test3,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.Test3") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.493e-06/1.493e-06, allocations: 0 / 377.2 MB, free: 2.879 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.389e-05/3.539e-05, allocations: 2.312 kB / 377.2 MB, free: 2.875 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test3): time 0.003453/0.003488, allocations: 1.632 MB / 378.9 MB, free: 1.23 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001235/0.004723, allocations: 0.5331 MB / 379.4 MB, free: 0.6953 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.058e-05/0.004784, allocations: 0 / 379.4 MB, free: 0.6953 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003696/0.005154, allocations: 71.72 kB / 379.5 MB, free: 0.625 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003775/0.005531, allocations: 103.5 kB / 379.6 MB, free: 0.5234 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002998/0.005831, allocations: 87.7 kB / 379.7 MB, free: 448 kB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.000179/0.00601, allocations: 83.75 kB / 379.7 MB, free: 364 kB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001093/0.006119, allocations: 15.98 kB / 379.7 MB, free: 348 kB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.617e-05/0.006215, allocations: 47.83 kB / 379.8 MB, free: 300 kB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001126/0.006328, allocations: 43.94 kB / 379.8 MB, free: 256 kB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 3.184e-05/0.00636, allocations: 4 kB / 379.8 MB, free: 252 kB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001118/0.006472, allocations: 43.92 kB / 379.9 MB, free: 208 kB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 6.201e-05/0.006534, allocations: 23.86 kB / 379.9 MB, free: 184 kB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 4.315e-05/0.006577, allocations: 19.92 kB / 379.9 MB, free: 164 kB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002274/0.006804, allocations: 103.6 kB / 380 MB, free: 60 kB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.366e-06/0.006808, allocations: 0 / 380 MB, free: 60 kB / 346.7 MB Notification: Performance of FrontEnd: time 9.82e-07/0.006809, allocations: 0 / 380 MB, free: 60 kB / 346.7 MB Notification: Performance of Transformations before backend: time 5.41e-06/0.006814, allocations: 0 / 380 MB, free: 60 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.0006799/0.007494, allocations: 439.8 kB / 380.5 MB, free: 15.59 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.939e-05/0.007533, allocations: 16.02 kB / 380.5 MB, free: 15.57 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.095e-05/0.007594, allocations: 16.83 kB / 380.5 MB, free: 15.55 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002225/0.007817, allocations: 148.3 kB / 380.6 MB, free: 15.38 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.544e-05/0.007832, allocations: 4.375 kB / 380.6 MB, free: 15.38 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.353e-05/0.007856, allocations: 4.375 kB / 380.6 MB, free: 15.38 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001433/0.007999, allocations: 50.23 kB / 380.7 MB, free: 15.32 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.264e-05/0.008012, allocations: 192 / 380.7 MB, free: 15.32 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.357e-06/0.008021, allocations: 384 / 380.7 MB, free: 15.32 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.644e-06/0.008029, allocations: 4.375 kB / 380.7 MB, free: 15.32 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.379e-05/0.008122, allocations: 23.92 kB / 380.7 MB, free: 15.29 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004908/0.008613, allocations: 299.7 kB / 381 MB, free: 14.96 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001406/0.008754, allocations: 51.03 kB / 381.1 MB, free: 14.9 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.905e-05/0.008823, allocations: 23.77 kB / 381.1 MB, free: 14.88 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.626e-05/0.008849, allocations: 0 / 381.1 MB, free: 14.88 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.285e-05/0.008892, allocations: 37.33 kB / 381.1 MB, free: 14.83 MB / 362.7 MB Notification: Performance of pre-optimization done (n=4): time 9.62e-07/0.008893, allocations: 0 / 381.1 MB, free: 14.83 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.0009209/0.009814, allocations: 217.2 kB / 381.3 MB, free: 14.61 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.481e-05/0.009869, allocations: 55.41 kB / 381.4 MB, free: 14.54 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000537/0.01041, allocations: 238.6 kB / 381.6 MB, free: 14.29 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.41e-05/0.01043, allocations: 29.7 kB / 381.7 MB, free: 14.25 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001178/0.01055, allocations: 158.8 kB / 381.8 MB, free: 14.09 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.667e-05/0.01058, allocations: 23.8 kB / 381.8 MB, free: 14.07 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.197e-05/0.01065, allocations: 31.36 kB / 381.9 MB, free: 14.03 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0003149/0.01096, allocations: 0.4962 MB / 382.4 MB, free: 13.52 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.015e-05/0.01103, allocations: 23.98 kB / 382.4 MB, free: 13.5 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.101e-05/0.01109, allocations: 20.08 kB / 382.4 MB, free: 13.48 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001578/0.01125, allocations: 63.8 kB / 382.5 MB, free: 13.41 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.02e-07/0.01125, allocations: 0 / 382.5 MB, free: 13.41 MB / 362.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002147/0.01147, allocations: 105.5 kB / 382.6 MB, free: 13.3 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.587e-05/0.01148, allocations: 4 kB / 382.6 MB, free: 13.3 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.26e-06/0.01149, allocations: 0 / 382.6 MB, free: 13.3 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.696e-05/0.0115, allocations: 0 / 382.6 MB, free: 13.3 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.86e-05/0.0116, allocations: 19.92 kB / 382.6 MB, free: 13.28 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.036e-06/0.01161, allocations: 4 kB / 382.6 MB, free: 13.28 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.366e-05/0.01164, allocations: 0 / 382.6 MB, free: 13.28 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.583e-05/0.01166, allocations: 11.98 kB / 382.6 MB, free: 13.27 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.0001329/0.01179, allocations: 164.6 kB / 382.8 MB, free: 13.09 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.96e-05/0.01183, allocations: 11.89 kB / 382.8 MB, free: 13.08 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002936/0.01213, allocations: 119 kB / 382.9 MB, free: 12.96 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.989e-06/0.01213, allocations: 4 kB / 382.9 MB, free: 12.96 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.216e-06/0.01214, allocations: 0 / 382.9 MB, free: 12.96 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.577e-06/0.01214, allocations: 0 / 382.9 MB, free: 12.96 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005697/0.01271, allocations: 405 kB / 383.3 MB, free: 12.52 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.914e-06/0.01271, allocations: 4.031 kB / 383.3 MB, free: 12.51 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.746e-05/0.01278, allocations: 19.98 kB / 383.3 MB, free: 12.49 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.963e-06/0.01278, allocations: 0 / 383.3 MB, free: 12.49 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.216e-05/0.01279, allocations: 4 kB / 383.3 MB, free: 12.49 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.453e-06/0.01279, allocations: 0 / 383.3 MB, free: 12.49 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.01279, allocations: 4 kB / 383.3 MB, free: 12.48 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003226/0.01312, allocations: 259.4 kB / 383.6 MB, free: 12.21 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.07e-05/0.01314, allocations: 11.94 kB / 383.6 MB, free: 12.2 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.673e-05/0.01315, allocations: 0 / 383.6 MB, free: 12.2 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.328e-05/0.01322, allocations: 4 kB / 383.6 MB, free: 12.19 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.214e-05/0.01326, allocations: 11.98 kB / 383.6 MB, free: 12.18 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.625e-06/0.01327, allocations: 4 kB / 383.6 MB, free: 12.18 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001459/0.01341, allocations: 171.9 kB / 383.8 MB, free: 12.01 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01341, allocations: 0 / 383.8 MB, free: 12.01 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002404/0.01365, allocations: 23.88 kB / 383.8 MB, free: 11.98 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.003237/0.01689, allocations: 485.4 kB / 384.3 MB, free: 11.68 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002544/0.01714, allocations: 67.59 kB / 384.3 MB, free: 11.61 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.275e-06/0.01715, allocations: 0 / 384.3 MB, free: 11.61 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 9.314e-05/0.01724, allocations: 43.61 kB / 384.4 MB, free: 11.56 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003322/0.01757, allocations: 26.17 kB / 384.4 MB, free: 11.54 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005778/0.01815, allocations: 234.3 kB / 384.6 MB, free: 11.27 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001094/0.01826, allocations: 92.38 kB / 384.7 MB, free: 11.16 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 5.799e-05/0.01832, allocations: 13.03 kB / 384.7 MB, free: 11.15 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.004e-05/0.01837, allocations: 20.48 kB / 384.8 MB, free: 11.13 MB / 362.7 MB Notification: Performance of SimCode: time 4.61e-07/0.01837, allocations: 0 / 384.8 MB, free: 11.13 MB / 362.7 MB Notification: Performance of Templates: time 0.005321/0.02369, allocations: 1.383 MB / 386.1 MB, free: 9.758 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test3.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test3.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test3.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test3.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test3.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test3 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test3.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test3_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Ds/Test3/Test3.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test3.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: 5.001138783991337]