Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test27.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.001716/0.001716, 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.001881/0.001881, 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.502/1.502, 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.3467/0.3467, allocations: 34.24 MB / 295.2 MB, free: 0.6562 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.Test27,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.Test27") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test27,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.Test27") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.615e-06/2.615e-06, allocations: 0 / 377.2 MB, free: 2.883 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 4.651e-05/4.912e-05, allocations: 4.984 kB / 377.2 MB, free: 2.879 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test27): time 0.005937/0.005986, allocations: 1.611 MB / 378.8 MB, free: 1.254 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.00205/0.008035, allocations: 0.5331 MB / 379.4 MB, free: 0.7188 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.856e-05/0.008134, allocations: 3.938 kB / 379.4 MB, free: 0.7148 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005459/0.00868, allocations: 119.6 kB / 379.5 MB, free: 0.5977 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006374/0.009317, allocations: 131.4 kB / 379.6 MB, free: 480 kB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005466/0.009864, allocations: 91.7 kB / 379.7 MB, free: 388 kB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003437/0.01021, allocations: 99.72 kB / 379.8 MB, free: 288 kB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000166/0.01037, allocations: 8 kB / 379.8 MB, free: 280 kB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002038/0.01058, allocations: 63.8 kB / 379.9 MB, free: 216 kB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002591/0.01084, allocations: 87.83 kB / 380 MB, free: 128 kB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 2.848e-05/0.01086, allocations: 4 kB / 380 MB, free: 124 kB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001625/0.01103, allocations: 47.91 kB / 380 MB, free: 76 kB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 8.532e-05/0.01111, allocations: 23.92 kB / 380 MB, free: 52 kB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 6.561e-05/0.01118, allocations: 23.86 kB / 380.1 MB, free: 28 kB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003962/0.01157, allocations: 111.6 kB / 380.2 MB, free: 15.92 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.53e-06/0.01158, allocations: 0 / 380.2 MB, free: 15.92 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.213e-06/0.01158, allocations: 4 kB / 380.2 MB, free: 15.91 MB / 362.7 MB Notification: Performance of Transformations before backend: time 8.956e-06/0.01159, allocations: 0 / 380.2 MB, free: 15.91 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.0008701/0.01246, allocations: 373.3 kB / 380.5 MB, free: 15.52 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.568e-05/0.01251, allocations: 8.031 kB / 380.6 MB, free: 15.51 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.991e-05/0.0126, allocations: 16.84 kB / 380.6 MB, free: 15.49 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003514/0.01295, allocations: 149.6 kB / 380.7 MB, free: 15.32 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.481e-05/0.01296, allocations: 4.375 kB / 380.7 MB, free: 15.32 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.495e-05/0.013, allocations: 4.375 kB / 380.7 MB, free: 15.31 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002315/0.01323, allocations: 54.23 kB / 380.8 MB, free: 15.25 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.506e-05/0.01324, allocations: 4.125 kB / 380.8 MB, free: 15.25 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.267e-05/0.01326, allocations: 384 / 380.8 MB, free: 15.25 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.32e-06/0.01326, allocations: 384 / 380.8 MB, free: 15.25 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001884/0.01345, allocations: 35.91 kB / 380.8 MB, free: 15.21 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006357/0.01409, allocations: 240.5 kB / 381.1 MB, free: 14.95 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001958/0.01428, allocations: 42.5 kB / 381.1 MB, free: 14.9 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.941e-05/0.01438, allocations: 20.94 kB / 381.1 MB, free: 14.88 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.844e-05/0.01441, allocations: 0 / 381.1 MB, free: 14.88 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.938e-05/0.01447, allocations: 38.5 kB / 381.2 MB, free: 14.83 MB / 362.7 MB Notification: Performance of pre-optimization done (n=4): time 1.323e-06/0.01447, allocations: 0 / 381.2 MB, free: 14.83 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.001705/0.01617, allocations: 237.4 kB / 381.4 MB, free: 14.59 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.304e-05/0.01626, allocations: 51.41 kB / 381.4 MB, free: 14.53 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005655/0.01682, allocations: 279.8 kB / 381.7 MB, free: 14.24 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.747e-05/0.01686, allocations: 25.7 kB / 381.7 MB, free: 14.21 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001727/0.01703, allocations: 120.1 kB / 381.8 MB, free: 14.09 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.625e-05/0.0171, allocations: 31.81 kB / 381.9 MB, free: 14.05 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001015/0.0172, allocations: 25.7 kB / 381.9 MB, free: 14.02 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002941/0.0175, allocations: 326.8 kB / 382.2 MB, free: 13.7 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001478/0.01764, allocations: 27.92 kB / 382.3 MB, free: 13.67 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001143/0.01776, allocations: 24.06 kB / 382.3 MB, free: 13.64 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003062/0.01806, allocations: 68.91 kB / 382.3 MB, free: 13.57 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.503e-06/0.01807, allocations: 0 / 382.3 MB, free: 13.57 MB / 362.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0004296/0.01849, allocations: 109.5 kB / 382.4 MB, free: 13.46 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.165e-05/0.01852, allocations: 8 kB / 382.5 MB, free: 13.45 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.766e-06/0.01853, allocations: 0 / 382.5 MB, free: 13.45 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.837e-05/0.01855, allocations: 4 kB / 382.5 MB, free: 13.45 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001617/0.01872, allocations: 19.92 kB / 382.5 MB, free: 13.43 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.945e-06/0.01872, allocations: 0 / 382.5 MB, free: 13.43 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.44e-05/0.01882, allocations: 4 kB / 382.5 MB, free: 13.43 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.439e-05/0.01884, allocations: 11.98 kB / 382.5 MB, free: 13.41 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.0001933/0.01904, allocations: 133.8 kB / 382.6 MB, free: 13.27 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.24e-05/0.01912, allocations: 19.84 kB / 382.6 MB, free: 13.25 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004465/0.01956, allocations: 127 kB / 382.8 MB, free: 13.13 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.957e-06/0.01957, allocations: 0 / 382.8 MB, free: 13.13 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.573e-06/0.01957, allocations: 0 / 382.8 MB, free: 13.13 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.137e-06/0.01958, allocations: 0 / 382.8 MB, free: 13.13 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007912/0.02037, allocations: 350.9 kB / 383.1 MB, free: 12.75 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.617e-06/0.02037, allocations: 3.938 kB / 383.1 MB, free: 12.74 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001066/0.02048, allocations: 23.98 kB / 383.1 MB, free: 12.72 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.819e-06/0.02049, allocations: 4.031 kB / 383.1 MB, free: 12.71 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.978e-06/0.0205, allocations: 0 / 383.1 MB, free: 12.71 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.244e-06/0.0205, allocations: 0 / 383.1 MB, free: 12.71 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.5e-06/0.0205, allocations: 4 kB / 383.1 MB, free: 12.71 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004609/0.02096, allocations: 216.1 kB / 383.4 MB, free: 12.48 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.694e-05/0.02101, allocations: 15.89 kB / 383.4 MB, free: 12.46 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.723e-05/0.02104, allocations: 0 / 383.4 MB, free: 12.46 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001295/0.02117, allocations: 8 kB / 383.4 MB, free: 12.46 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.537e-05/0.02122, allocations: 7.984 kB / 383.4 MB, free: 12.45 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.805e-06/0.02123, allocations: 4 kB / 383.4 MB, free: 12.45 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0003396/0.02157, allocations: 208.2 kB / 383.6 MB, free: 12.24 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.02157, allocations: 0 / 383.6 MB, free: 12.24 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0004691/0.02204, allocations: 23.92 kB / 383.6 MB, free: 12.22 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.003317/0.02536, allocations: 490.2 kB / 384.1 MB, free: 11.91 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0003915/0.02575, allocations: 59.91 kB / 384.2 MB, free: 11.85 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.216e-06/0.02575, allocations: 0 / 384.2 MB, free: 11.85 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001658/0.02592, allocations: 31.97 kB / 384.2 MB, free: 11.82 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006253/0.02654, allocations: 27.94 kB / 384.2 MB, free: 11.79 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001179/0.02772, allocations: 322.7 kB / 384.5 MB, free: 11.45 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000179/0.0279, allocations: 101.1 kB / 384.6 MB, free: 11.32 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 8.499e-05/0.02799, allocations: 9.047 kB / 384.6 MB, free: 11.31 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.359e-05/0.02805, allocations: 20.48 kB / 384.7 MB, free: 11.29 MB / 362.7 MB Notification: Performance of SimCode: time 5.01e-07/0.02805, allocations: 4 kB / 384.7 MB, free: 11.29 MB / 362.7 MB Notification: Performance of Templates: time 0.007514/0.03556, allocations: 1.389 MB / 386.1 MB, free: 9.91 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test27.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test27.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test27.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test27.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test27.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test27 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test27.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test27_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Ds/Test27/Test27.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test27.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.07794958492741]